Skip to content

Support date properties in Content-Disposition HTTP header - #1443

Closed
sdeleuze wants to merge 1 commit into
spring-projects:masterfrom
sdeleuze:SPR-15555
Closed

sdeleuze wants to merge 1 commit into
spring-projects:masterfrom
sdeleuze:SPR-15555

Conversation

@sdeleuze

@sdeleuze sdeleuze commented Jun 2, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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