The documentation for the "https" field in https://wikitech.wikimedia.org/wiki/X-Analytics dates [[https://wikitech.wikimedia.org/w/index.php?title=X-Analytics&diff=prev&oldid=106590 | from 2014]] and says:
> If set, will be equal to "1", and indicates HTTPS protocol. This value could be set for all mobile traffic and not just Zero (and hopefully one day - on all desktop traffic too)
This is obviously outdated considering that we have been switching everything to HTTPS since 2015.
What is the current meaning of the field? It is //not // always set to "1" now:
```lang=sql
SELECT x_analytics_map['https'] AS https_value, COUNT(*) AS requests
FROM wmf.webrequest WHERE month = 3 AND day = 2
GROUP BY x_analytics_map['https'];
https_value requests
NULL 350167351
1 7859037939
2 rows selected (232.636 seconds)
```
(I understand thatCan one assume that the NULL values correspond to HTTP webrequests,? say http://en.wikipedia.org/wiki/Main_Page (I understand that such requests, are nowadays always answered with a 307 redirect to the corresponding HTTPS URL, with the HTTP request not being logged in the webrequest table.say for http://en.wikipedia.org/wiki/Main_Page , So the NULL values above must come from somethare nowadays always answered with a 301 redirect to the corresponding elseHTTPS URL.)