#24158: Static serve failure since 1.4.18
--------------------------------------+------------------------------------
     Reporter:  TheRealEckat          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  1.4
     Severity:  Normal                |               Resolution:
     Keywords:  development           |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by kilrogg):

 I can reproduce this.

 Using the GZipMiddleware on 1.4.18 and the static.serve view results in
 all served files having empty content.

 Curiously it works for serving static files via static files contrib app
 which uses said view as well.

 In 1.5 GZipMiddleware was changed to check for Streaming response, same
 could be backported to 1.4 checking response content for GeneratorType.

--
Ticket URL: <https://code.djangoproject.com/ticket/24158#comment:6>
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.3d46394ce67c2bc999c6ca1751d1320e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to