Skip to content

Don't set multipart/form-data content-type #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 19, 2021
Merged

Don't set multipart/form-data content-type #173

merged 2 commits into from
Feb 19, 2021

Conversation

Styn
Copy link
Contributor

@Styn Styn commented Feb 18, 2021

Fixes: #172

It's better to let the browser handle setting of this content-type, since it will add the correct boundary.

@js2me js2me changed the base branch from master to next February 19, 2021 07:11
@js2me js2me merged commit 795bb3c into acacode:next Feb 19, 2021
@js2me
Copy link
Member

js2me commented Feb 19, 2021

@all-contributors please add @Styn for code bug

@allcontributors
Copy link
Contributor

@js2me

I've put up a pull request to add @Styn! 🎉

js2me pushed a commit that referenced this pull request Feb 19, 2021
* dont set multipart/form-data content-type

* add ContentType.FormData exception to default template

Co-authored-by: stijn.lammens <[email protected]>
js2me added a commit that referenced this pull request Feb 19, 2021
* Don't set multipart/form-data content-type (#173)

* dont set multipart/form-data content-type

* add ContentType.FormData exception to default template

Co-authored-by: stijn.lammens <[email protected]>

* bump: up version to 5.1.5; chore: refresh test schemas

Co-authored-by: Stijn Lammens <[email protected]>
Co-authored-by: stijn.lammens <[email protected]>
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.

ContentType.FormData no longer sets the correct boundary
3 participants