Back
[CLOSED] how to set MIME-Type of file while uploading it to storage?
- 0
- Self Hosted
- Functions
- Storage
when i upload my plist file to storage it saves it as MIME-type: text/xml instead i want it to be application/xml. or is there any way to update MIME type of file via functions? please help, new here.
TL;DR
The user wanted to know how to set the MIME-Type of a file while uploading it to storage. They discovered that it is done using a PHP function, but there seems to be no way to change it during the process. The user specifically mentioned that when uploading a plist file, it is saved with the MIME-Type 'text/xml' instead of 'application/xml' and they wanted to know if there was a way to update the MIME-Type of the file after uploading. The thread is closed and no solution is provided.how to set MIME-Type of file while uploading it to storage?
okay
[CLOSED] how to set MIME-Type of file while uploading it to storage?
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...