• Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Vocabularies
    • None
    • Environment:

      Proposed

      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>"
      

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: