Open alexandresgf opened 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 43.01%. Comparing base (
1d11ea3
) to head (6b6af57
). Report is 8 commits behind head on master.
Doesn't look like this changes anything except Content-Type, is this correct?
Doesn't look like this changes anything except Content-Type, is this correct?
Right, as suggested by the OP in the ticket, it should be a flag, in this case is_multipart
, which changes the Content-Type
to multipart/form-data
. I also added a new parameter to FormRequest
constructor.
The format of multipart/form-data requests is very different from the application/x-www-form-urlencoded one, see e.g. https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 or the previous PR on this.
Fixes #1897, closes #1954