lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #include "wsIntrn.h" |
| 2 | |
| 3 | |
| 4 | websMimeType websMimeList[] = { |
| 5 | { T("text/html"), T(".asp") }, |
| 6 | |
| 7 | { T("text/css"), T(".css") }, |
| 8 | { T("application/java"), T(".class") }, |
| 9 | |
| 10 | { T("text/html"), T(".htm") }, |
| 11 | { T("text/html"), T(".html") }, |
| 12 | |
| 13 | { T("image/gif"), T(".gif") }, |
| 14 | |
| 15 | { T("application/java"), T(".jar") }, |
| 16 | { T("application/x-javascript"), T(".js") }, |
| 17 | { T("image/jpeg"), T(".jpg") }, |
| 18 | |
| 19 | { T("application/x-shockwave-flash"), T(".swf") }, |
| 20 | |
| 21 | { T("text/plain"), T(".txt") }, |
| 22 | |
| 23 | { T("text/xml"), T(".xml") }, |
| 24 | |
| 25 | #ifdef MORE_MIME_TYPES |
| 26 | { T("application/postscript"), T(".ai") }, |
| 27 | { T("video/x-msvideo"), T(".avi") }, |
| 28 | { T("audio/basic"), T(".au snd") }, |
| 29 | { T("audio/x-aiff"), T(".aif") }, |
| 30 | { T("audio/x-aiff"), T(".aiff") }, |
| 31 | { T("audio/x-aiff"), T(".aifc") }, |
| 32 | |
| 33 | { T("application/octet-stream"), T(".bin") }, |
| 34 | { T("application/x-bcpio"), T(".bcpio") }, |
| 35 | |
| 36 | { T("application/x-cpio"), T(".cpio") }, |
| 37 | { T("application/x-csh"), T(".csh") }, |
| 38 | { T("application/x-netcdf"), T(".cdf") }, |
| 39 | { T("text/html"), T(".cfm") }, |
| 40 | |
| 41 | { T("application/x-dvi"), T(".dvi") }, |
| 42 | |
| 43 | { T("application/binary"), T(".exe") }, |
| 44 | { T("application/postscript"), T(".eps") }, |
| 45 | { T("text/x-setext"), T(".etx") }, |
| 46 | |
| 47 | { T("application/x-gtar"), T(".gtar") }, |
| 48 | |
| 49 | { T("application/x-hdf"), T(".hdf") }, |
| 50 | |
| 51 | { T("image/ief"), T(".ief") }, |
| 52 | |
| 53 | { T("image/jpeg"), T(".jpeg") }, |
| 54 | { T("image/jpeg"), T(".jpe") }, |
| 55 | |
| 56 | { T("application/x-latex"), T(".latex") }, |
| 57 | |
| 58 | { T("application/x-mif"), T(".mif") }, |
| 59 | { T("application/x-troff-man"), T(".man") }, |
| 60 | { T("application/x-troff-me"), T(".me") }, |
| 61 | { T("application/x-troff-ms"), T(".ms") }, |
| 62 | { T("video/quicktime"), T(".mov") }, |
| 63 | { T("video/x-sgi-movie"), T(".movie") }, |
| 64 | { T("video/mpeg"), T(".mpeg mpg mpe") }, |
| 65 | |
| 66 | { T("application/x-netcdf"), T(".nc") }, |
| 67 | |
| 68 | |
| 69 | { T("application/gzip"), T(".gz") }, |
| 70 | |
| 71 | { T("application/oda"), T(".oda") }, |
| 72 | |
| 73 | { T("application/pdf"), T(".pdf") }, |
| 74 | { T("application/postscript"), T(".ps") }, |
| 75 | { T("application/x-ns-proxy-autoconfig"), T(".pac") }, |
| 76 | { T("application/x-patch"), T(".patch") }, |
| 77 | { T("image/x-portable-anymap"), T(".pnm") }, |
| 78 | { T("image/x-portable-bitmap"), T(".pbm") }, |
| 79 | { T("image/x-portable-graymap"), T(".pgm") }, |
| 80 | { T("image/x-portable-pixmap"), T(".ppm") }, |
| 81 | |
| 82 | { T("video/quicktime"), T(".qt") }, |
| 83 | |
| 84 | { T("application/rtf"), T(".rtf") }, |
| 85 | { T("image/x-rgb"), T(".rgb") }, |
| 86 | { T("application/x-troff"), T(".roff") }, |
| 87 | { T("image/x-cmu-raster"), T(".ras") }, |
| 88 | { T("audio/x-wav"), T(".ram") }, |
| 89 | |
| 90 | { T("application/x-sh"), T(".sh") }, |
| 91 | { T("text/html"), T(".shtm") }, |
| 92 | { T("text/html"), T(".shtml") }, |
| 93 | { T("application/x-shar"), T(".shar") }, |
| 94 | { T("application/x-wais-source"), T(".src") }, |
| 95 | { T("application/x-sv4cpio"), T(".sv4cpio") }, |
| 96 | { T("application/x-sv4crc"), T(".sv4crc") }, |
| 97 | |
| 98 | { T("application/x-tar"), T(".tar") }, |
| 99 | { T("application/x-tcl"), T(".tcl") }, |
| 100 | { T("application/x-tex"), T(".tex") }, |
| 101 | { T("text/richtext"), T(".rtx") }, |
| 102 | { T("application/x-troff"), T(".t") }, |
| 103 | { T("application/x-troff"), T(".tr") }, |
| 104 | { T("application/x-texinfo"), T(".texinfo") }, |
| 105 | { T("application/x-texinfo"), T(".texi") }, |
| 106 | { T("text/tab-separated-values"), T(".tsv") }, |
| 107 | { T("image/tiff"), T(".tiff") }, |
| 108 | { T("image/tiff"), T(".tif") }, |
| 109 | |
| 110 | { T("application/x-ustar"), T(".ustar") }, |
| 111 | |
| 112 | { T("audio/x-wav"), T(".wav") }, |
| 113 | |
| 114 | { T("image/x-xbitmap"), T(".xbm") }, |
| 115 | { T("image/x-xpixmap"), T(".xpm") }, |
| 116 | { T("image/x-xwindowdump"), T(".xwd") }, |
| 117 | |
| 118 | { T("application/compress"), T(".z") }, |
| 119 | { T("application/zip"), T(".zip") }, |
| 120 | #endif |
| 121 | { NULL, NULL}, |
| 122 | }; |
| 123 | |
| 124 | /*****************************************************************************/ |
| 125 | |