#27346: Stop setting the Content-Length header in ConditionalGetMiddleware
-----------------------------------------+--------------------
     Reporter:  Kevin Christopher Henry  |      Owner:  nobody
         Type:  Uncategorized            |     Status:  new
    Component:  HTTP handling            |    Version:  1.10
     Severity:  Normal                   |   Keywords:
 Triage Stage:  Unreviewed               |  Has patch:  0
Easy pickings:  1                        |      UI/UX:  0
-----------------------------------------+--------------------
 With #5897 we started setting `Content-Length` in `CommonMiddleware`. With
 #26447 we started moving conditional request handling out of
 `CommonMiddleware` and into `ConditionalGetMiddleware`. This separation of
 concerns is a good thing. Setting `Content-Length` doesn't have anything
 to do with conditional requests, and I think it can be removed now that we
 have `CommonMiddleware` as the standard place to set it.

--
Ticket URL: <https://code.djangoproject.com/ticket/27346>
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/050.b8646cf6cce4c499037256f6a3c3153a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to