Introduce HttpHeaders getContentDisposition() and setContentDisposition() [SPR-14408] #18979
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Oliver Drotbohm opened SPR-14408 and commented
The HTTP 1.1 spec defines the
Content-Disposition
header to contain afilename
attribute that servers can use to indicate the name of the file served. Currently, users ofHttpHeaders
manually have to lookup theContent-Disposition
header and then parse the value to extract the filename.It would be cool if the filename was either available directly or
HttpHeaders
allowed to get access to aContentDisposition
object, that provides access to the filename contained in it.Affects: 4.3 GA
Issue Links:
Referenced from: commits 99a8510
The text was updated successfully, but these errors were encountered: