Skip to content

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

Merged
js2me merged 2 commits into
acacode:nextfrom
Styn:master
Feb 19, 2021
Merged

Don't set multipart/form-data content-type#173
js2me merged 2 commits into
acacode:nextfrom
Styn:master

Conversation

@Styn

@Styn Styn commented Feb 18, 2021

Copy link
Copy Markdown
Contributor

Fixes: #172

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

Comment thread templates/modular/http-client.eta
@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

js2me commented Feb 19, 2021

Copy link
Copy Markdown
Member

@all-contributors please add @Styn for code bug

@allcontributors

Copy link
Copy Markdown
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 <stijn.lammens@materialise.be>
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 <stijn.lammens@materialise.be>

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

Co-authored-by: Stijn Lammens <stijn.lammens@gmail.com>
Co-authored-by: stijn.lammens <stijn.lammens@materialise.be>
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