#16035: GZipMiddleware doesn't change an ETag
-------------------------------+------------------------------------
     Reporter:  anonymous      |                    Owner:  ext
         Type:  Bug            |                   Status:  reopened
    Component:  HTTP handling  |                  Version:  1.4
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by mrmachine):

 I've added a branch on GitHub with a fix and tests.

 https://github.com/thirstydigital/django/tree/tickets/16035-gzip-
 middleware-etag

 The test has a 1 second sleep in it to demonstrate the `mtime` issue with
 `compress_string()`. I'm not sure if there's a better way to test that.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16035#comment:16>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to