Increment downloadCount for a subscription, even when it was only a HEAD request
Background / User story
The data team uses subscription update requests to count how many active clients are using our subscriptions. These requests include some metadata, including how many times this subscription has been downloaded before.
The downloadCount is significant for user counting because the very first download by a client is ignored (to avoid counting web crawlers, tests, or other systems that might install, do a single request, and then uninstall).
In MV3, we do HEAD requests, and don't increase our download_count.
What to change
- Increment download_count on subscriptions regardless of if it was a GET request or a HEAD request.
Additional Info
Edited by Justin Wernick