Build #377

Build: #377 was successful Changes by Brian Clozel

Build result summary

Details

Completed
Duration
14 minutes
Labels
None
Agent
bamboo-23.af.pivotal.io
Revision
e1e8c165db8d1866d11ed4e51b5abfb7240024cd e1e8c165db8d1866d11ed4e51b5abfb7240024cd
Total tests
20354
Successful since
#372 ()

Tests

Code commits

Author Commit Message Commit date
Brian Clozel Brian Clozel e1e8c165db8d1866d11ed4e51b5abfb7240024cd e1e8c165db8d1866d11ed4e51b5abfb7240024cd Avoid setting special Content-* response headers for Tomcat
As of gh-21783, Spring WebFlux uses a `TomcatHeadersAdapter`
implementation to directly address the native headers used by the
server.

In the case of Tomcat, "Content-Length" and "Content-Type" headers are
processed separately and should not be added to the native headers map.

This commit improves the `HandlerAdapter` implementation for Tomcat and
removes those headers, if previously set in the map. The adapter
already has a section that handles the Tomcat-specific calls for such
headers.

Fixes gh-24387