#34063: request.POST not populated for multipart/form-data via AsyncClient
-------------------------------------+-------------------------------------
     Reporter:  Timo Ludwig          |                    Owner:  Scott
                                     |  Halgrim
         Type:  Bug                  |                   Status:  closed
    Component:  Testing framework    |                  Version:  4.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Florian Apolloner):

 I stumbled over this in IRC. Now `WSGIRequest` wraps `wsgi.input` in a
 `LimitedStream`:
 
https://github.com/django/django/blob/c179ad9fe7e82dcb80261aa016f2fe18c8fcc181/django/core/handlers/wsgi.py#L91

 `ASGIRequest` does not:
 
https://github.com/django/django/blob/c179ad9fe7e82dcb80261aa016f2fe18c8fcc181/django/core/handlers/asgi.py#L101

 This makes me wonder if it was considered to fix this in `ASGIRequest`
 instead of the test client, even if it doesn't seem (?) to occur normally.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34063#comment:9>
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/0107018563e47a92-419de442-519c-44bb-8c9f-2d48404886ad-000000%40eu-central-1.amazonses.com.

Reply via email to