[
https://issues.apache.org/jira/browse/CMIS-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580499#comment-13580499
]
Gavin Cornwell commented on CMIS-629:
-------------------------------------
Yep, that's a fair point, I will this as an enhancement in our server
implementation.
> 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