Multipurpose Internet Mail Extension (MIME) types are responses that are sent to a user when a resource is requested. This response identifies the type of file that is present, so that the application can decide the appropriate course of action. This is often used in the playback of audio files, where a plug-in for the browser will decide to try playing the file because it received an audio file's MIME type. IIS 7 rejects unknown MIME types by default, preferring instead to return an error to the user saying the resource cannot be found. You can override this behaviour, and serve the file with an "Unknown" MIME type, by configuring the application to do so by using the IIS manager application.
- Skill level:
- Moderately Easy
Other People Are Reading
Things you need
- Windows Server 2008 or Windows Server 2008 R2
Click "Start" and type "Internet Information Services." Click "Internet Information Services (IIS) Manager" from the result list.
Click "Features" to change to the feature view, then double-click "MIME Types."
Click "Add" in the "Actions" section of the screen, located on the right-side panel.
Type "*!" as the file extension type. This wild card represents all unknown files.
Type "application/octet-stream" in the text box labelled "MIME type." This is a generic MIME type that will tell the browser to treat it as a binary file. In all major browsers, this corresponds to asking the user to save the file to their hard drive.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for