ResourceHttpMessageConverter should read the Content-Disposition header (if available) to get the file name [SPR-15191] #19757
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
Mauro Molinari opened SPR-15191 and commented
When reading contents with RestTemplate:
the returned
Resource
does not specify any file name, even if the HTTP response received from the remote server has a properContent-Disposition
header with file name specified.It would save some work if
ResourceHttpMessageConverter
read that header and properly enhanced the returnedResource
object.Affects: 4.2.8, 4.3.1
Issue Links:
Referenced from: commits 768802f
The text was updated successfully, but these errors were encountered: