Mime Configuration |
|
When you click on the Mime button in the Web Server Status/Configuration display, the Mime Configuration scroll box appears. You can add, edit or remove mime types.
A few of the more common types and defaults are listed below. All types in the text/classification automatically have their end of line characters converted to $0D0A$ (carriage return, line feed).
Mime Type |
Description |
text/plain |
The default for data files and web pages: text is the general classification and plain is the specific mime type. The mime type for README and .INI files is text/plain. |
text/html |
The default for PxPlus programs: use text as the general classification and html as the specific mime type. Exception: |
Use the mime type application/PxPlus for ASCII PxPlus programs. | |
octet-stream |
The mime type for plain binary is " application/octet-stream". |
|
The mime type for general binary transfer is "application/pdf". The web browser launches the PDF viewer to handle the file once it is received. If there is no viewer, then the file goes through the "Save As" dialogue in the browser. |
You can find more information on other mime types in Windows Explorer under View>Folder Options>File Types Tab.
The PxPlus Web Server opens the requested file in binary mode and tries to make a determination of the file contents before it attempts to match the file extension to a mime type. First, it checks to see if the file is any of the following:
If the file fits none of the above categories, then the Web Server matches the file extension to the mime type to determine file type and control the transmission.