Why should I set content_type when uploading?
content_type is the MIME type returned when the file is downloaded or opened from a public link.
- An
image/*type makes a public file an image, served onimg.cdn.clatterlabs.xyz. - If
content_typeis empty orapplication/octet-stream, the file extension decides instead (.png,.jpg,.svg, …). - A wrong type can make browsers download a file instead of showing it.
Set it at upload time; e.g. text/html, application/pdf, video/mp4, image/webp.
Learn more#
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.