JWAVE User Guide > HTTP Configuration File > Mime Types Mapping
  

Mime Types Mapping
To map a file extension (file.ext) to a Mime type.
Syntax:
mime.<ext> = <mime-type> 
*Replace <ext> with the file extension (whatever follows the last period in the file).
*Replace <mime-type> with the Mime type to use when serving files with the given extension.
For example, to serve a file foo.html as Mime type text/html, use:
mime.html = text/html
The defaults are:
mime.html = text/html
mime.htm = text/html
mime.jpeg = image/jpeg
mime.jpg = image/jpeg
mime.gif = image/gif
mime.png = image/png
mime.txt = text/plain
mime.class = application/octet-stream
mime.jar = application/octet-stream
mime.properties = text/plain
 

Version 3.6
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.