-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Vocabularies
-
Labels:None
-
Environment:
Proposed
-
Proposal:
Allow defining the values of the Content-Disposition header for binary and stream properties:
"attachment": { "$Type": "Edm.Stream", "@Core.ContentDisposition": { "Filename": { "$Path": "attachmentFilename" } } }, "attachmentFileName": { "@Core.Description": "This string property contains proposed download filename for `attachment`" }
This means that
GET /foo/1/attachment
returns the header
Content-Disposition: attachment; filename="<content of attachmentFilename property>"