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
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...