Edit detail for Mime Types revision 2 of 2

1 2
Editor: sse
Time: 2009/01/08 07:36:01 GMT+0
Note:


        

MIME Types

AbelCam has definitions for several mime types built in:
  • html htm shtml htm -> text/plain
  • jpg jpeg -> image/jpeg
  • gif -> image/gif
  • jar -> application/java-archive; charset=iso-8859-1
all other file extensions will be delivered as mime type application/octet-stream

 

If you want to add your own definitions or override on of the settings above,
create a file named mimetypes.txt in the AbelCam configuration folder.
define your mime types in this format:
<ext>=<mime-type>

eg.
html=text/plain

The file will be read on program start.