Log user-agents that are using HTTP when HTTPS is preferred
authorBryan Davis <bd808@wikimedia.org>
Thu, 28 Jan 2016 00:53:54 +0000 (17:53 -0700)
committerBryan Davis <bd808@wikimedia.org>
Fri, 29 Jan 2016 04:03:35 +0000 (21:03 -0700)
commit240f789c892694cc92c896b87c98458581494149
tree215e26c7f19dbf799259251121821b8907f12666
parent7c4bd85d2152fd9fa975ea0fb5ffb1a0b804f99b
Log user-agents that are using HTTP when HTTPS is preferred

Log a feature usage message and add a warning to the response when an
API request is made over unencrypted HTTP and the wiki or user has asked
that HTTPS be used by default.

Bug: T105794
Change-Id: I339bfa96614c6318db303bb22a8f86bd0336ddbe
includes/api/ApiMain.php