Affects: 5.1.9.RELEASE
The entry set returned from the result of calling HttpHeaders.readOnlyHttpHeaders(HttpHeaders) does not maintain the original headers' ordering. This is a regression from 5.1.0 that I think was introduced in 5.1.1 in ce7278a. I believe the set is unordered due to the use of Collectors.toSet() which creats an unordered Set:
|
.collect(Collectors.toSet())); |
Affects: 5.1.9.RELEASE
The entry set returned from the result of calling
HttpHeaders.readOnlyHttpHeaders(HttpHeaders)does not maintain the original headers' ordering. This is a regression from 5.1.0 that I think was introduced in 5.1.1 in ce7278a. I believe the set is unordered due to the use ofCollectors.toSet()which creats an unorderedSet:spring-framework/spring-web/src/main/java/org/springframework/http/ReadOnlyHttpHeaders.java
Line 146 in 1ea6ce7