Skip to content

HttpHeaders should be tolerant with bad date-aware headers as it said in the RFC 2616 [SPR-10648] #15276

@spring-projects-issues

Description

@spring-projects-issues

Artem Bilan opened SPR-10648 and commented

See the Expires header description in the RFC.
Now if the value of similar header is not valid HttpHeaders throws IllegalArgumentException.
IMO it should return -1 as in case header is null.
In additions see the linked issue.

We'll be glad to hear any thoughts, why HttpHeaders works now such way?


Affects: 3.2.3

Reference URL: http://tools.ietf.org/html/rfc2616#page-127

Issue Links:

  • INT-3063 HTTP gateway response fails with non-standard expires header

Referenced from: commits 9245fff, 0f71da5

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions