Skip to content

Entry set of read-only HttpHeaders loses original headers' ordering #23551

Closed
@wilkinsona

Description

@wilkinsona

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:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions