-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
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
:
spring-framework/spring-web/src/main/java/org/springframework/http/ReadOnlyHttpHeaders.java
Line 146 in 1ea6ce7
.collect(Collectors.toSet())); |
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression