Skip to content

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

Closed
sap-nocops wants to merge 2 commits into
spring-projects:masterfrom
sap-nocops:master
Closed

Avoid default Accept header from HttpUrlConnection in RestTemplate with put and delete #23740#23855
sap-nocops wants to merge 2 commits into
spring-projects:masterfrom
sap-nocops:master

Conversation

@sap-nocops

Copy link
Copy Markdown

Fixes #23740

@pivotal-issuemaster

Copy link
Copy Markdown

@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
Copy Markdown

@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
Copy Markdown
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