#25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it
was
1.1
-------------------------------+------------------------------------
Reporter: gabn88 | Owner: nobody
Type: Bug | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by claudep):
* version: 1.7 => master
* stage: Unreviewed => Accepted
Comment:
Looks like that change would be required:
{{{
#!patch
diff --git a/django/core/servers/basehttp.py
b/django/core/servers/basehttp.py
index 4e2f8dd..1e0f0c2 100644
--- a/django/core/servers/basehttp.py
+++ b/django/core/servers/basehttp.py
@@ -86,6 +86,7 @@ class WSGIServer(simple_server.WSGIServer, object):
# Inheriting from object required on Python 2.
class ServerHandler(simple_server.ServerHandler, object):
+ http_version = "1.1"
def handle_error(self):
# Ignore broken pipe errors, otherwise pass on
if not is_broken_pipe_error():
}}}
However, I didn't find the possible faulty commit.
--
Ticket URL: <https://code.djangoproject.com/ticket/25619#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.6917a33c29d1bd07da25ac190e59847a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.