-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Pass filename hint to the ResourceDecoder #22267
Copy link
Copy link
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently the
ResourceDecoderuses theByteArrayResource(byte[])constructor. However, usually when working withResourcetheContent-Dispositionheader can be used to send the filename of the resource. I think that in this case it would be helpful if that can be passed as the description.