Use filename from Content-Disposition when using AtomPub PUT for 
setContentStream
---------------------------------------------------------------------------------

                 Key: CMIS-301
                 URL: https://issues.apache.org/jira/browse/CMIS-301
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-client, opencmis-server
    Affects Versions: 0.2.0-incubating
            Reporter: Florent Guillaume
            Assignee: Florent Guillaume
            Priority: Minor
             Fix For: 0.3.0-incubating 


The CMIS 1.0 spec does not suggest a way to pass a content stream filename when 
using AtomPub for the setContentStream operation, which is a PUT.

In OpenCMIS the client could add a Content-Disposition header with this 
information, and the server can use it if present.

{{Content-Disposition: attachment; filename=foo.pdf}}

Note that there are various encoding/decoding issues related to the format of 
the Content-Disposition header and non-ASCII character sets or special 
characters, see RFC 2183 and RFC 2231.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to