Extending WSO2 ES with new assets implies adding new resource types. For example, distribution of Android apps require the download of apk files.
I've added new associations to the mime.types file (on repository/conf/etc), but the server always responds with an empty Content-Type header (even after reboot).
What is the correct method to add new MIME types?
Could you provide a bit more information on your use case?
EDIT: Changed the answer using the information provided in the comments
When the file is uploaded we store the content type of the resource. The problem seems to be related to this logic.
Please change this to:
Please let me know if this helps :)
Thanks , Sameera