Skip to content

SPR-17571 Allow Instant and ZonedDateTime as Last-Modified header #2039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

larsgrefer
Copy link
Contributor

@larsgrefer larsgrefer changed the title Allow Instant and ZonedDateTime as Last-Modified header. SPR-17571 Allow Instant and ZonedDateTime as Last-Modified header Dec 6, 2018
@jhoeller jhoeller merged commit 9abd4ed into spring-projects:master Dec 6, 2018
@jhoeller
Copy link
Contributor

jhoeller commented Dec 6, 2018

Well spotted! We have overloaded methods for java.time types in other APIs already, even in HttpHeaders itself, but not for the last-modified timestamp yet. I'm going to merge this and add a few similar methods to other places in a follow-up commit.

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