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
- delete cancelled site deployment
I would like to remove a cancelled site deployment, but the site menu shows only "Redeploy".
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- Self-host migration from 1.8.X
Is it safe to now migrate from 1.7.4 to 1.8.X on my selfhost?