Gavin Cornwell created CMIS-629:
-----------------------------------

             Summary: Use filename extension to derive mime type is 
Content-Type header is missing when setting content stream
                 Key: CMIS-629
                 URL: https://issues.apache.org/jira/browse/CMIS-629
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-server
    Affects Versions: OpenCMIS 0.8.0
            Reporter: Gavin Cornwell


If you omit the Content-Type header from a PUT request to update content the 
content is updated successfully but the mime type gets reset (although i guess 
this could be implementation dependent).

If the request has provided the Content-Disposition header with a filename it 
should be possible to derive the mime type from the file extension rather than 
leaving it empty.
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to