Skip to content

Change Content-Type to 'application/x-www-form-urlencoded' when formData#38

Closed
crissto wants to merge 2 commits intodevelopit:masterfrom
crissto:formData
Closed

Change Content-Type to 'application/x-www-form-urlencoded' when formData#38
crissto wants to merge 2 commits intodevelopit:masterfrom
crissto:formData

Conversation

@crissto
Copy link
Copy Markdown
Contributor

@crissto crissto commented Jun 11, 2020

Per #28 when data is instance of FormData the content type header gets set to 'application/x-www-form-urlencoded'.
Maybe it would be good to be able to customize the header just in case you want to send files and set it to 'multipart/form-data'.

@crissto
Copy link
Copy Markdown
Contributor Author

crissto commented Jun 11, 2020

I saw #37 also fixes this. LOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant