Skip to content

Support date properties in Content-Disposition HTTP header #1443

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

Closed
wants to merge 1 commit into from

Conversation

sdeleuze
Copy link
Contributor

@sdeleuze sdeleuze commented Jun 2, 2017

As discussed with @rstoyanchev, before merging this PR we should choose a strategy regarding to date/time that we previously exposed with long like in long HttpHeaders.getAccessControlMaxAge().

Should we continue to use long for consistency?
Should we add Instant based variants and deprecate long based ones?

Pros and cons should be discussed and the solution should be applied globally to Spring Framework API like we did for Optional.

cc @jhoeller

Issue: SPR-15555

@sdeleuze
Copy link
Contributor Author

Merged via 97909f2.

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.

1 participant