Tom Forbes added the comment:

Django recently switched to HTTP 1.1 on their development server, and it works 
fine as long as the middleware is included that generates the content length. 
Using a 'bare' Django project with no middleware the server will just hang.

It sounds like the easiest fix is to disable keepalive support in the 
development server, which sounds like a reasonable fix (it doesn't have that 
much benefit locally I think?).

It was certainly surprising to find this issue, I know it is documented but 
that could certainly be improved. It's currently just a plain line of text in 
quite a text-heavy page, perhaps it should be put in a warning box?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31076>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to