MIME type is lost when uploading content from Confolio
Description
When uploading a file the user can set a mimetype explicitly or leave it as "detect".
The mimetype is added in the entry-info but is gone when reloading the entry-info.
A reasonable explanation is that when the GUI does a PUT to upload the content the mimetype is set from what is given in the headers of the request and that overwrites the mimetype given manually in the creation step of the entry.
Environment
Activity
Improved error handling on server side, but client has to properly set URL-parameter mimeType in case the default mime-type should be overriden or set.
To recreate the problem:
Upload a file using EntryScape, choose more details, set a mimetype different from the file you are uploading and press finish.
If you later request the entry created you will see that the provided mimetype is not the one you gave, it is neither available in the entry information nor in the metadata graph.
The proper effect should be that the provided mimetype is set in the entry information instead of the auto-detected mimetype provided during the upload process (probably based on the extention and some smart introspection by the browser).
Is this still an issue?