Files
spring-framework/spring-web
Brian Clozel ff46d4b326 Unwrap HttpHeaders in MultiValueMap constructor
Prior to this commit, `HttpHeaders(MultiValueMap)` stored its argument
as-is. Code compiled against Framework 6.x still links to this
constructor when passing an `HttpHeaders`, which is no longer a
`MultiValueMap`. The resulting instance failed later with an
`IncompatibleClassChangeError`.

This commit unwraps `HttpHeaders` arguments in the constructor and in
`formatHeaders(MultiValueMap)`, as is already done for
`HttpHeaders(HttpHeaders)`.

Closes gh-37358
2026-10-09 16:40:08 +02:00
..