#33865: Optimize django.core.handlers.wsgi.LimitedStream
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: HTTP handling | Version: dev
Severity: Normal | Resolution:
Keywords: wsgi, | Triage Stage: Ready for
limitedstream, performance | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"7a1543d9f6dd3cac32f0579d8d3b9128c427f531" 7a1543d]:
{{{
#!CommitTicketReference repository=""
revision="7a1543d9f6dd3cac32f0579d8d3b9128c427f531"
Refs #33865 -- Made RequestsTests.test_set_encoding_clears_GET use
FakePayload.
The input stream, wsgi.input, must be a file-like object. The existing
implementation of LimitedStream was lax and allowed an empty string to
be passed incorrectly.
See https://wsgi.readthedocs.io/en/latest/definitions.html#envvar-
wsgi.input
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33865#comment:11>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/010701858392542c-6a2acb24-a721-4f8e-a61b-88f0f1a79062-000000%40eu-central-1.amazonses.com.