Add a download type parameter to the Browser Binding getContentStream() service

    • Type: Improvement
    • Resolution: Applied
    • Priority: Minor
    • None
    • Affects Version/s: V1.1
    • Component/s: Browser Binding
    • None
    • Hide

      We should add a parameter "download" to the getContentStream() service. Valid values would be "inline" (default) and "attachment". The repository should return a suitable Content-Disposition HTTP header when the document content is served.

      Show
      We should add a parameter "download" to the getContentStream() service. Valid values would be "inline" (default) and "attachment". The repository should return a suitable Content-Disposition HTTP header when the document content is served.

      The current spec draft does not define if (and how) the repository should advise the web browser how to deal with the content of a document. A web browser can open the content in the browser or ask the user to open it with an external program or save the content to disk.
      For example, an application cannot control if a PDF document is opened in the web browser or is provided by the web browser for download.

            Assignee:
            Florian Müller (Inactive)
            Reporter:
            Florian Müller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: