pike.git / lib / modules / MIME.pmod / ext_to_media_type.pmod

version» Context lines:

pike.git/lib/modules/MIME.pmod/ext_to_media_type.pmod:343:    "si" : "text/wap.si",    "sl" : "text/wap.sl",    "wml" : "text/vnd.wap.wml",    "wmls" : "text/vnd.wap.wmlscript",    "xml" : "text/xml",   // text/xml-external-parsed-entity      // Other       "c" : "text/x-c-code", +  "cmod" : "text/x-cmod-code",    "cc" : "text/x-c++-code",    "cpp" : "text/x-c++-code",    "etx" : "text/x-setext",    "h" : "text/x-include-file",    "hdml" : "text/x-hdml",    "htt" : "text/webviewhtml",    "pgr" : "text/parsnegar-document",    "pike" : "text/x-pike-code",    "pmod" : "text/x-pike-code",    "rt" : "text/vnd.rn-realtext",
pike.git/lib/modules/MIME.pmod/ext_to_media_type.pmod:1492:    "z8" : "application/x-zmachine",    "xaml" : "application/xaml+xml",    "xdf" : "application/xcap-diff+xml",    "xenc" : "application/xenc+xml",    "xhtml" : "application/xhtml+xml",    "xht" : "application/xhtml+xml",    "xsl" : "application/xml",    "dtd" : "application/xml-dtd",    "xop" : "application/xop+xml",    "xpl" : "application/xproc+xml", +  "xsl" : "application/xslt+xml",    "xslt" : "application/xslt+xml",    "xspf" : "application/xspf+xml",    "mxml" : "application/xv+xml",    "xhvml" : "application/xv+xml",    "xvml" : "application/xv+xml",    "xvm" : "application/xv+xml",    "yang" : "application/yang",    "yin" : "application/yin+xml",    "adp" : "audio/adpcm",    "kar" : "audio/midi",
pike.git/lib/modules/MIME.pmod/ext_to_media_type.pmod:1654:   //! Currently 469 file extensions are known to this method. Zero will   //! be returned on unknown file extensions.      string `()(string ext) {    return small_ext2type[ext] || ext2type[ext];   }      protected mixed cast(string to)   {    if(to=="mapping") return small_ext2type + ext2type; +  return UNDEFINED;   }