You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support missing properties from Content-Disposition spec [SPR-15555] #20114
Juergen Hoeller As discussed with Rossen Stoyanchev, before merging this PR we should choose a strategy regarding to date/time that we previously exposed with long like in HttpHeaders.getAccessControlMaxAge().
Should we continue to use long for consistency?
Should we add Instant based variants and maybe deprecate long based ones?
Given the fact that date/time can be confusing for the users when not strongly typed and the Java 8+ focus of Spring Framework 5.0, I tend to vote for the latter.
Any thought? (this is a question we can also discuss during this afternoon meeting)
Fixed by using ZonedDateTime, I will create a follow-up issue targetted for RC3 in order to work on achieving consistency accross at least HttpHeaders API for the kind of property.
Activity
spring-projects-issues commentedon Jun 12, 2017
Sébastien Deleuze commented
Juergen Hoeller As discussed with Rossen Stoyanchev, before merging this PR we should choose a strategy regarding to date/time that we previously exposed with
longlike inHttpHeaders.getAccessControlMaxAge().Given the fact that date/time can be confusing for the users when not strongly typed and the Java 8+ focus of Spring Framework 5.0, I tend to vote for the latter.
Any thought? (this is a question we can also discuss during this afternoon meeting)
spring-projects-issues commentedon Jun 13, 2017
Sébastien Deleuze commented
Fixed by using
ZonedDateTime, I will create a follow-up issue targetted for RC3 in order to work on achieving consistency accross at leastHttpHeadersAPI for the kind of property.