Croway opened a new pull request, #1938: URL: https://github.com/apache/camel-spring-boot/pull/1938
`SpringBootPlatformHttpCookiesTest.echoCookie` asserted that a lowercase `cookie` request header is echoed back on the response of the `/echo` route. `PlatformHttpEndpoint` wraps the endpoint's `HeaderFilterStrategy` so that common request headers, `Cookie` among them, are never copied from the request to the response (CAMEL-20638). Until recently that lookup compared names exactly against the canonically capitalised set, so the lowercase spelling slipped through and the assertion held only because of that gap. Since CAMEL-24453 (apache/camel#25831) the comparison is case-insensitive, the lowercase header is suppressed as well, and the test has been failing against the current `camel-platform-http` snapshot on every platform-http PR (see #1932 and #1934). ### What changes The test is renamed to `cookieRequestHeaderIsNotEchoed` and now asserts the contract the endpoint enforces: the response carries no `cookie` header. No main code changes. ### Tests `mvn test -pl components-starter/camel-platform-http-starter -Dtest=SpringBootPlatformHttpCookiesTest`: 9 tests, 0 failures. _Claude Code on behalf of Federico Mariani_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
