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

Fixing FormData content-type handling in XHR #4642

Closed
wants to merge 1 commit into from
Closed

Fixing FormData content-type handling in XHR #4642

wants to merge 1 commit into from

Conversation

philBrown
Copy link

Removes the content-type request header if the request body is FormData and the request is made from a standard browser environment.

Fixes #4638 and #4631

Removes the content-type request header if the request body is FormData
and the request is made from a standard browser environment
@philBrown
Copy link
Author

Conflicts somewhat with #4640 but I believe handling the headers with normalised keys is more robust.

@philBrown
Copy link
Author

Looks like this was fixed elsewhere

@philBrown philBrown closed this Apr 27, 2022
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.

Axios 0.27.1 has a pretty serious problem
1 participant