You can use application/octet-stream
for unknown types.
RFC 2046 states in section 4.5.1:
The “octet-stream” subtype is used to
indicate that a body contains
arbitrary binary data.
More Related Contents:
- Using .NET, how can you find the mime type of a file based on the file signature not the extension
- How to create an email with embedded images that is compatible with the most mail clients
- What rules apply to MIME boundary?
- Inline images in email using JavaMail
- How can I find out a file’s MIME type (Content-Type)?
- Which MIME type to use for a binary file that’s specific to my program?
- How can you read a files MIME-type in objective-c
- How can I detect the current tab’s mime type in a Google Chrome extension?
- How do I determine the extension(s) associated with a MIME type in PHP?
- Change default text in input type=”file”?
- Entity Framework 6 Code first Default value
- CodeIgniter: “The filetype you are attempting to upload is not allowed.”
- What is the javascript MIME type for the type attribute of a script tag? [duplicate]
- Why can’t a text column have a default value in MySQL?
- Determine file type of an image
- Passing an empty array as default value of an optional parameter [duplicate]
- handle json request in PHP
- Invoking methods with optional parameters through reflection
- .rar, .zip files MIME Type
- Why am I getting mime-type of .csv file as “application/octet-stream”?
- Uploading a csv into Codeigniter
- How to set default values in Go structs
- Which JSON content type do I use?
- CSS file blocked: MIME type mismatch (X-Content-Type-Options: nosniff)
- is it possible to React.useState(() => {}) in React?
- Resource interpreted as Script but transferred with MIME type text/plain – for local file
- How should I detect the MIME type of an uploaded file in ASP.NET?
- How to set MIME type of application/vnd.apple.pkpass in order to share pass by link or email
- Are there .NET Framework methods to parse an email (MIME)?
- Returning a default value. (C#)