Opened 19 months ago
Last modified 19 months ago
#34522 closed Bug
PUT/PATCH data is not encoded for multipart/form-data in Django Test — at Version 1
Reported by: | Matej Mijoski | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | 4.2 |
Severity: | Normal | Keywords: | multipart form data, tests, put data encoding |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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?
Note:
See TracTickets
for help on using tickets.