Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Fix http headers spring#2071

Merged
NateBrady23 merged 1 commit intoTechEmpower:round-14from
dreis2211:fix-http-header-spring
Jun 17, 2016
Merged

Fix http headers spring#2071
NateBrady23 merged 1 commit intoTechEmpower:round-14from
dreis2211:fix-http-header-spring

Conversation

@dreis2211
Copy link
Copy Markdown
Contributor

Hey,

this is basically the duplicate of #2012 targeting the new branching model introduced for round 14 and beyond, but for completeness reasons here is the original content.....

....when working on a different merge request I noticed that the Spring suite doesn't include the Server header and sends the encoding along with the Content-Type header. Both result in a warning in the builds for all requests.

WARN for http://127.0.0.1:8080/json
Required response header missing: Server

WARN for http://127.0.0.1:8080/json
Content encoding found in "application/json;charset=UTF-8" where "application/json" is acceptable.

I needed to upgrade to Spring-Boot 1.3.5 to set the server header in Undertow via server.server-header.

Cheers,
Christoph

@NateBrady23
Copy link
Copy Markdown
Member

Travis agrees, merging! Thanks @dreis2211!

@NateBrady23 NateBrady23 merged commit 81d879d into TechEmpower:round-14 Jun 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants