mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 17:49:02 +00:00
Since its inception, instantiating an `HttpEntity` makes its `HttpHeaders` read-only. While immutability is an interesting design principle, here we shouldn't enforce this. For example, developers can expect to instantiate a `ResponseEntity` and still mutate its headers. Closes gh-35888