close this window


MIME

MIME is standard that allows you to identify what type a file is by its extension. For example a remote audio player program could identify a streaming audio file by its .MPS MIME type. Or, a MIME definition for a regular text file is: .txt=text/plain. The most common MIME types are already set in WebServUSB.

WebServUSB uses these MIME mappings to tell what type of file it is going to send back. So if someone requests a readme.txt file, then WebServUSB will put "Content-Type: text/plain" in the header that is returned to the browser. That way the browser knows what type of file it is (a text file, an HTML file, a JPEG file etc.). The Web browser can then launch the appropriate viewer or player program (such as an MP3 player or Windows Media Player).

Extensions and MIME Types can be added via the sections shown in the Prefs window.


close this window