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] Add default value for Accept header #33601

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
Sep 17, 2019

Conversation

numerogeek
Copy link
Contributor

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

This PR will add an "Accept: *" header when nothing is provided to stick with the behavior of a native curl query or postman query.

@nicolas-grekas
Copy link
Member

Could you please have a look at the test case that fails in relation to this change?

@nicolas-grekas nicolas-grekas changed the title Add default value for Accept header [HttpClient] Add default value for Accept header Sep 16, 2019
@fabpot
Copy link
Member

fabpot commented Sep 17, 2019

Thank you @numerogeek.

fabpot added a commit that referenced this pull request Sep 17, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[HttpClient] Add default value for Accept header

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #33596 <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT

This PR will add an "Accept: *" header when nothing is provided to stick with the behavior of a native curl query or postman query.

Commits
-------

48eebfc Add default value for Accept header
@fabpot fabpot merged commit 48eebfc into symfony:4.3 Sep 17, 2019
@fabpot fabpot mentioned this pull request Oct 7, 2019
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.