title: Django says my development server doesn't support HTTPS, even though I've disabled it
body: <p>I've developed my own website on Django for a while, and today I started to learn how to deploy it. I added this to my settings.py:</p>
  
  <pre><code>SECURE_SSL_REDIRECT = True,
  </code></pre>
  
  <p>This caused the development server to stop working properly, with this error message: </p>
  
  <pre><code>[13/Jan/2018 16:56:49] code 400, message Bad request syntax ('\x16\x03\x01\x00À\x01\x00\x00¼\x03\x03ßà\x84¼+Jnßþn-ñ\x88ý©vAþK\x83¤²êT\x86\x0b.\x8em\x0b:â\x00\x00\x1cÚÚÀ+À/À,À0Ì©Ì¨À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00')
  [13/Jan/2018 16:56:49] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x00À\x01\x00\x00¼\x03\x03\x87')
  [13/Jan/2018 16:56:49] You're accessing the development server over HTTPS, but it only supports HTTP.
  
  [13/Jan/2018 16:56:49] You're accessing the development server over HTTPS, but it only supports HTTP.
  
  [13/Jan/2018 16:56:49] code 400, message Bad request version ('JJÀ+À/À,À0Ì©Ì¨À\x13À\x14\x00\x9c\x00\x9d\x00/\x005\x00')
  [13/Jan/2018 16:56:49] You're accessing the development server over HTTPS, but it only supports HTTP.
  </code></pre>
  
  <p>Why has my server stopped working properly?</p>
  
  <p>Note that when I changed the setting back to <code>SECURE_SSL_REDIRECT = False</code>, the problem didn't go away.</p>