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

Allow to set main content-type header with form/formData #2583

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kjona
Copy link

@kjona kjona commented Mar 6, 2017

Request headers are passed to the form-data getHeaders() method, so it is possible to override the default header for content-type, generated by form-data.
For detailed description, see issue Allow to set main content-type header with form/formData

as pointed out by Huachao in request#2583
@BlueBird67
Copy link

Hello, the solution from @Huachao is working great, because else it is not working at all when you use API Web Services that verify Content-headers...

When this will be integrated in a new version?

@stale
Copy link

stale bot commented Nov 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 23, 2018
@stale stale bot removed the stale label Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants