Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[HttpClient] Don't override header if is x-www-form-urlencoded #47854

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 1 commit into from
Oct 17, 2022

Conversation

Oipnet
Copy link
Contributor

@Oipnet Oipnet commented Oct 13, 2022

Q A
Branch? 6.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #47852
License MIT

When body is array and the Content-Type is application/x-www-form-urlencoded we not override the header

@carsonbot carsonbot added this to the 6.2 milestone Oct 13, 2022
@carsonbot carsonbot changed the title Don't override header if is x-www-form-urlencoded [HttpClient] Don't override header if is x-www-form-urlencoded Oct 13, 2022
@nicolas-grekas nicolas-grekas modified the milestones: 6.2, 6.1 Oct 17, 2022
@nicolas-grekas
Copy link
Member

Thank you @Oipnet.

@nicolas-grekas nicolas-grekas merged commit b191e69 into symfony:6.1 Oct 17, 2022
@nicolas-grekas
Copy link
Member

Amended in 4ed4367, my bad.

@fabpot fabpot mentioned this pull request Oct 28, 2022
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.

[HttpClient] Content-Type header overridden if body is an array
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.