Re: [Django] #25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it was 1.1

2015-10-30 Thread Django
#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:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by claudep):

 * has_patch:  0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/25619#comment:5>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.e3af24fa6f27ccebf9f53e199ef0ddc4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it was 1.1

2015-10-28 Thread Django
#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
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.


Re: [Django] #25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it was 1.1

2015-10-28 Thread Django
#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:  1.7
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by claudep):

 * status:  closed => new
 * resolution:  worksforme =>


Comment:

 Oh, sorry, I didn't pay attention to the `runserver` part...

--
Ticket URL: <https://code.djangoproject.com/ticket/25619#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.f02f845feaa6d6a22a175d45c7dee90e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it was 1.1

2015-10-28 Thread Django
#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:  closed
Component:  HTTP handling  |  Version:  1.7
 Severity:  Normal |   Resolution:  worksforme
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by claudep):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 I cannot confirm this, I've checked with one of my site with Django 1.8
 and the response was `HTTP/1.1 200 OK`.
 By the way, this is probably controlled by the Web server, not Django.

--
Ticket URL: <https://code.djangoproject.com/ticket/25619#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.ae30ec93aef039cde1b1694cb116031d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it was 1.1

2015-10-27 Thread Django
#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:  1.7
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 What methodology are you using to test? Can you bisect Django's commit
 history to determine where the behavior changed?

--
Ticket URL: <https://code.djangoproject.com/ticket/25619#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.8269a0268fc09d4a34340cf5c9b8f1ec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25619: Since Django ~1.6.4 the dev runserver uses http_version 1.0, before it was 1.1

2015-10-27 Thread Django
#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:  1.7
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 And http_version 1.0 is not working with websockets.

 I don't know exactly why this is happening, but I don't think it is meant
 to be like this.

 I think HTTP/1.1 is fine to use for the development runserver.

--
Ticket URL: <https://code.djangoproject.com/ticket/25619>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.95e015de8961caea97cea351396757a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.