@CHIP-RTOS - CGI File Types

    IPC@CHIP® Documentation Index

CGI File Extensions


Here is a mapping between values for the fDatatype member of the rpCGI type and file extensions supported by the IPC@CHIP® Web server.

fDatatype      File
 Value       Extension          Web Server File Type
_______    ______________     _______________________

  0         *.htm, *.html        text/HTML
  1         *.gif                image/gif
  3         *.txt                text/plain
  4         *.jpg, *.jpeg        image/jpeg
  5         *.pct, *.pict        image/pict
  6         *.tif, *.tiff        image/tiff
 10         *.css                text/css
 11         *.xml                text/xml
 11         *.xsl                text/xml
 12         *.wav                audio/wav
 13         *.pdf                application/pdf
 14         *.jar                application/java-archive
 16         *.wml                text/vnd.wap.wml
 17         *.wmp                image/vnd.wap.wbmp
 18         *.wmc                application/vnd.wap.wmlc
 19         *.wms                text/vnd.wap.wmlscript
 20         *.wmx                text/vnd.wap.wmlscriptc
 21         *.svg                image/svg+xml
 22         *.jnl                application/x-java-jnlp-file
 23         *.ico                image/x-icon
 24         *.svz, *.svgz        image/svg+xml (content-encoding: gzip)

  7                              image/png
  8                              application/x-www-form-urlencoded
  9                              application/ipp
 15                              application/octet-stream

The default type is application/octet-stream (fDatatype = 15)


The four letter file extensions are valid only for SC1x3/SC2x since SC1x3 RTOS version V1.05 and SC2x RTOS version V1.00.
On SC1x the four letter extensions can't be used.

Top of list
Index page

End of document