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/15 17:09:13 UTC
[jira] [Created] (CMIS-629) Use filename extension to derive mime
type is Content-Type header is missing when setting content stream
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