#34522: PUT/PATCH data is not encoded for multipart/form-data in Django Test
-------------------------------------+-------------------------------------
Reporter: MatejMijoski | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:
Keywords: multipart form | Triage Stage:
data, tests, put data encoding | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by MatejMijoski:
Old description:
> I've noticed that the mulipart/form-data is only encoded in the POST
> request of the Django test client and not in the PUT/PATCH requests. Is
> this intentional and if so, why?
New description:
I've noticed that when making a request using the Django test client with
a multipart/form-data content type, the data only gets encoded for POST
requests. Is intentional and if so, why?
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34522#comment:1>
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/01070187c25da9ff-e1754b3d-06b8-4fc0-8dc4-ac024e7bd2f5-000000%40eu-central-1.amazonses.com.