agea / CmisJS

A CMIS javascript library for node and browser
MIT License
38 stars 34 forks source link

Using setContentStream change the mimetype in Alfresco #60

Open plus- opened 5 years ago

plus- commented 5 years ago

After using the setContentStream API to update content in Alfresco, it will change the mimetype to "Binary" or "Unknown" from what is was originally.

I've tried using both Buffer or UTF-8 string as the content parameter type and it didn't make any difference. Also it happens on some mimetype but not others (for example Plain Text works fine, but not XML)