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

Avoid default Accept header from HttpUrlConnection in RestTemplate with put and delete #23740 #23855

Closed
wants to merge 2 commits into from

Conversation

sap-nocops
Copy link

Fixes #23740

@pivotal-issuemaster
Copy link

@sap-nocops Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@sap-nocops Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 23, 2019
@sap-nocops sap-nocops changed the title Avoid default Accept header from HttpUrlConnection in RestTemplate wi… Avoid default Accept header from HttpUrlConnection in RestTemplate with put and delete #23740 Oct 23, 2019
@rstoyanchev rstoyanchev self-assigned this Nov 7, 2019
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 7, 2019
@rstoyanchev rstoyanchev added this to the 5.2.2 milestone Nov 7, 2019
rstoyanchev added a commit that referenced this pull request Nov 8, 2019
Apply default Accept header for HttpUrlConnection only.

See gh-23855
rstoyanchev added a commit that referenced this pull request Nov 8, 2019
@rstoyanchev
Copy link
Contributor

@sap-nocops thanks for the pull request! I've modified it slightly to apply the Accept header default to requests through HttpUrlConnection only.

@rstoyanchev rstoyanchev closed this Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid default Accept header from HttpUrlConnection in RestTemplate with put and delete
4 participants