Skip to content

Fix If-Unmodified-Since header mapping#2879

Merged
garyrussell merged 1 commit intospring-projects:masterfrom
artembilan:Fix_InUnmodifiedSince_HTTP_header
Apr 2, 2019
Merged

Fix If-Unmodified-Since header mapping#2879
garyrussell merged 1 commit intospring-projects:masterfrom
artembilan:Fix_InUnmodifiedSince_HTTP_header

Conversation

@artembilan
Copy link
Member

https://build.spring.io/browse/INT-MASTERSPRING40-664
https://build.spring.io/browse/INT-FATS5IC-833

Fix DefaultHttpHeaderMapper to populate an If-Unmodified-Since
request header with the same formatter as it is in the HttpHeaders in
Spring Web

Cherry-pick to 5.1.x & 5.0.x

https://build.spring.io/browse/INT-MASTERSPRING40-664
https://build.spring.io/browse/INT-FATS5IC-833

Fix `DefaultHttpHeaderMapper` to populate an `If-Unmodified-Since`
request header with the same formatter as it is in the `HttpHeaders` in
Spring Web

**Cherry-pick to 5.1.x & 5.0.x**
@artembilan artembilan added this to the 5.2.M1 milestone Apr 2, 2019
@artembilan
Copy link
Member Author

It didn't fail yesterday because the day before had been 31. The current format fails only with single number for the day of month.
With this fix we fully align our formatting for this kind of dates with what has been fixed recently in Spring Web.

@garyrussell garyrussell merged commit cb5d7f6 into spring-projects:master Apr 2, 2019
@garyrussell
Copy link
Contributor

Cherry-picked after resolving conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants