#36293: GZipMiddleware buffers streaming responses
-------------------------------+-------------------------------------
Reporter: huoyinghui | Owner: (none)
Type: Bug | Status: closed
Component: HTTP handling | Version: dev
Severity: Normal | Resolution: needsinfo
Keywords: gzip flush | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------------------
Changes (by Jacob Walls):
* has_patch: 1 => 0
* stage: Unreviewed => Accepted
* summary:
Extend `django.utils.text.compress_sequence()` to optionally flush
data written to compressed file
=> GZipMiddleware buffers streaming responses
* type: New feature => Bug
Comment:
> So maybe we should rewrite that example, as well as restore the
flushing?
Sounds reasonable to me. The docs suggestion from comment:5 seems like
settling for less, since we'd be giving up the ability to compress
streaming responses, but I'm open to anything I've missed.
--
Ticket URL: <https://code.djangoproject.com/ticket/36293#comment:15>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019a2c906909-1fe91597-266d-4d47-9248-1626fb7b5c29-000000%40eu-central-1.amazonses.com.