The file uploads but the type is wrong
A server rejects your file because the Content-Type header says application/octet-stream when it should say image/webp. Getting the MIME type right is what lets browsers render, download, or preview correctly.
Look it up both ways
The MIME Type Lookup maps a file extension to its MIME type and back. Type .webp to get its type, or paste application/json to see which extensions carry it. No guessing, no digging through a reference table.
Pair it with URL handling
When the file travels in a URL, the URL Parser helps you confirm the path and extension are what you expect before the request goes out. Set the right type, then verify the link that carries the file.
Where it matters
- Setting the correct header for an API file upload.
- Serving a static file with the right content type.
- Debugging why a browser downloads instead of displays.