Is there what could be considered a “default” mimetype?
I’ve seen “unknown/unknown” and “application/binary”. But is there a default to revert to when no other MIME type is found?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The least specific official MIME type is
application/octet-stream. Without any additional information, it says “here is a bunch of bytes, hopefully there is an application over on your end which knows what to do with them”. Sometimes there is a file name which helps convey to the recipient what to do with the data.“unknown” doesn’t really add anything over this, except to confuse clients who don’t support random unofficial MIME types. Ditto for
application/binary; it’s just a non-standard way of restating “octet-stream”.This is the answer to “What can I put in the
Content-Type:header if I can’t find an existing content type which adequately describes my data?” which is how I have interpreted this question. The proposed duplicate Unknown file type MIME? has a lengthy answer which discusses “How is my data interpreted if I don’t put a validContent-Type:header?” specifically in an HTTP context; the answer to that is protocol-specific (in email, for example, the default impliedContent-Type:for MIME body parts which do not contain this header istext/plain; charset="us-ascii").