Remove HTTP -> HTTPS redirect hack.
HTTPS redirect for readthedocs now works as expected.
The current live site is redirecting HTTP -> HTTPS correctly and so we can remove the horrible hackery in docs/js/httpredirect.js
:
$ http http://docs.raven.cam.ac.uk/
HTTP/1.1 302 Found
CF-Cache-Status: DYNAMIC
CF-RAY: 5890a884bd2f3639-MAN
Connection: keep-alive
Content-Language: en
Content-Type: text/html; charset=utf-8
Date: Fri, 24 Apr 2020 14:54:13 GMT
Location: https://docs.raven.cam.ac.uk/en/latest/
Server: cloudflare
Set-Cookie: __cfduid=dc0004415a0478afd054a4cc69d474bcd1587740053; expires=Sun, 24-May-20 14:54:13 GMT; path=/; domain=.docs.raven.cam.ac.uk; HttpOnly; SameSite=Lax
Strict-Transport-Security: max-age=0
Transfer-Encoding: chunked
Vary: Accept-Language, Cookie
X-Backend: web00000d
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-RTD-System-Redirect: True
X-Served: Django-Proxito
X-XSS-Protection: 1; mode=block
cf-request-id: 024e47a6f300003639b23aa200000001