#30018: Regression for selenium tests & inaccurate Content-Length
----------------------------------+--------------------------------------
     Reporter:  Xavier Fernandez  |                    Owner:  nobody
         Type:  Bug               |                   Status:  new
    Component:  HTTP handling     |                  Version:  2.1
     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
----------------------------------+--------------------------------------

Comment (by Xavier Fernandez):

 Hello Simon,
 > Wouldn't NGINX take care off adding Content-Lenght when dealing with X
 -Accel-Redirect?
 From my tests, it does and I've taken care of this issue by avoiding it: I
 removed this header from the response for GET requests (but kept it for
 HEAD requests).


 But indeed, the WSGI layer could maybe warn when seeing inconsistent
 responses.

 I'm also fine with closing this issue since it is clearly a very specific
 (and bad) case.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30018#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 [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/070.1fde1826c75351a3d0e708acf87e49cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to