You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Gavin Cornwell (JIRA)" <ji...@apache.org> on 2013/02/18 10:01:19 UTC
[jira] [Resolved] (CMIS-629) Use filename extension to derive mime
type is Content-Type header is missing when setting content stream
[ https://issues.apache.org/jira/browse/CMIS-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gavin Cornwell resolved CMIS-629.
---------------------------------
Resolution: Not A Problem
> 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