Skip to content
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

Set content-length header of FormData requests? #239

Closed
olalonde opened this issue Mar 9, 2016 · 2 comments
Closed

Set content-length header of FormData requests? #239

olalonde opened this issue Mar 9, 2016 · 2 comments

Comments

@olalonde
Copy link

olalonde commented Mar 9, 2016

I went through the standard and could not figure out if there was a way to set the content-length of a fetch POST request with FormData as the body. Is that intentional? If not, it would be useful for fetch to automatically set the content-length header as it does for content-type.

@annevk
Copy link
Member

annevk commented Mar 9, 2016

@olalonde
Copy link
Author

olalonde commented Mar 9, 2016

Oops, right. Missed that for some reason.

@olalonde olalonde closed this as completed Mar 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants