GET requests to the MediaWiki API on Wikimedia wikis get silently redirected from HTTP to HTTPS. This is insecure because the application seems to just work, but requests are initially sent in clear - it's better to make such requests fail loudly. There has been plenty of time for legacy tools to adapt.
(Might apply to other APIs also, haven't checked.)
The specific issue where this came up was T247474: Unable to get edit token - invalid signature in authorization header.