整理respon返回⽂件格式//设置返回⽂件的类型
respon.tContentType()的String参数及对应类型
<option value=”image/bmp”>BMP</option>
<option value=”image/gif”>GIF</option>
<option value=”image/jpeg”>JPEG</option>
<option value=”image/tiff”>TIFF</option>
<option value=”image/x-dcx”>DCX</option>
<option value=”image/x-pcx”>PCX</option>
<option value=”text/html”>HTML</option>
<option value=”text/plain”>TXT</option>
<option value=”text/xml”>XML</option>
<option value=”application/afp”>AFP</option>
<option value=”application/pdf”>PDF</option>
<option value=”application/rtf”>RTF</option>
<option value=”application/msword”>MSWORD</option>
<option value=”application/vnd.ms-excel”>MSEXCEL</option>
<option value=”application/vnd.ms-powerpoint”>MSPOWERPOINT</option>加意
<option value=”application/wordperfect5.1″>WORDPERFECT</option>
<option value=”application/vnd.lotus-wordpro”>WORDPRO</option>
<option value=”application/vnd.visio”>VISIO</option>
<option value=”application/vnd.framemaker”>FRAMEMAKER</option>
<option value=”application/vnd.lotus-1-2-3″>LOTUS123</option>
respon.tContentType()的String参数及对应类型
<option value=”image/bmp”>BMP</option>
<option value=”image/gif”>GIF</option>
<option value=”image/jpeg”>JPEG</option>
<option value=”image/tiff”>TIFF</option>
<option value=”image/x-dcx”>DCX</option>
<option value=”image/x-pcx”>PCX</option>
<option value=”text/html”>HTML</option>
<option value=”text/plain”>TXT</option>
<option value=”text/xml”>XML</option>
<option value=”application/afp”>AFP</option>
<option value=”application/pdf”>PDF</option>
<option value=”application/rtf”>RTF</option>
<option value=”application/msword”>MSWORD</option>
<option value=”application/vnd.ms-excel”>MSEXCEL</option>
<option value=”application/vnd.ms-powerpoint”>MSPOWERPOINT</option>
<option value=”application/wordperfect5.1″>WORDPERFECT</option>
<option value=”application/vnd.lotus-wordpro”>WORDPRO</option>
<option value=”application/vnd.visio”>VISIO</option>
<option value=”application/vnd.framemaker”>FRAMEMAKER</option>
<option value=”application/vnd.lotus-1-2-3″>LOTUS123</option>
其他
1. .flv flv-application/octet-stream
2. 3gp video/3gpp
3. aab application/x-authoware-bin
4. aam application/x-authoware-map
5. aas application/x-authoware-g
6. ai application/postscript
7. aif audio/x-aiff
8. aifc audio/x-aiff
9. aiff audio/x-aiff
10. als audio/X-Alpha5
11. amc application/x-mpeg
12. ani application/octet-stream
13. asc text/plain
14. asd application/astound
15. asf video/x-ms-asf
16. asn application/astound
17. asp application/x-asap
18. asx video/x-ms-asf
19. au audio/basic
20. avb application/octet-stream
21. avi video/x-msvideo
22. awb audio/amr-wb
23. bcpio application/x-bcpio
24. bin application/octet-stream
25. bld application/bld
26. bld2 application/bld2
27. bmp application/x-MS-bmp
28. bpk application/octet-stream
29. bz2 application/x-bzip2
30. cal image/x-cals
31. ccn application/x-cnc
32. cco application/x-cocoa
33. cdf application/x-netcdf
34. cgi magnus-internal/cgi
35. chat application/x-chat
36. class application/octet-stream妈祖的传说
37. clp application/x-msclip
38. cmx application/x-cmx
39. co application/x-cult3d-object
40. cod image/cis-cod
41. cpio application/x-cpio
42. cpt application/mac-compactpro
43. crd application/x-mscardfile
44. csh application/x-csh
45. csm chemical/x-csml
46. csml chemical/x-csml
47. css text/css
48. cur application/octet-stream
49. dcm x-lml/x-evm
50. dcr application/x-director
51. dcx image/x-dcx
52. dhtml text/html
53. dir application/x-director
54. dll application/octet-stream
55. dmg application/octet-stream
56. dms application/octet-stream
57. doc application/msword
58. dot application/x-dot
59. dvi application/x-dvi
60. dwf drawing/x-dwf
61. dwg application/x-autocad
62. dxf application/x-autocad
63. dxr application/x-director
64. ebk application/x-expandedbook
人员调整方案
65. emb chemical/x-embl-dl-nucleotide
66. embl chemical/x-embl-dl-nucleotide
67. eps application/postscript
68. eri image/x-eri
69. es audio/echospeech
70. esl audio/echospeech
71. etc application/x-earthtime
教师节黑板报
72. etx text/x-text
73. evm x-lml/x-evm
74. evy application/x-envoy
75. exe application/octet-stream
76. fh4 image/x-freehand
77. fh5 image/x-freehand
78. fhc image/x-freehand
79. fif image/fif
80. fm application/x-maker
81. fpx image/x-fpx
82. fvi video/isivideo
83. gau chemical/x-gaussian-input
84. gca application/x-gca-compresd
85. gdb x-lml/x-gdb
86. gif image/gif
87. gps application/x-gps
88. gtar application/x-gtar
89. gz application/x-gzip
90. hdf application/x-hdf
91. hdm text/x-hdml
92. hdml text/x-hdml
93. hlp application/winhlp
94. hqx application/mac-binhex40
肉做法
95. htm text/html
96. html text/html
97. hts text/html
98. ice x-conference/x-cooltalk
99. ico application/octet-stream
100. ief image/ief
101. ifm image/gif
102. ifs image/ifs
103. imy audio/melody
104. ins application/x-NET-Install 105. ips application/x-ipscript
106. ipx application/x-ipix
107. it audio/x-mod
108. itz audio/x-mod
109. ivr i-world/i-vrml
110. j2k image/j2k
111. jad text/vnd.sun.j2me.app-descriptor 112. jam application/x-jam
113. jar application/java-archive
114. jnlp application/x-java-jnlp-file 115. jpe image/jpeg
116. jpeg image/jpeg
117. jpg image/jpeg
118. jpz image/jpeg
119. js application/x-javascript
120. jwc application/jwc
121. kjx application/x-kjx
122. lak x-lml/x-lak
123. latex application/x-latex
124. lcc application/fastman
125. lcl application/x-digitalloca
126. lcr application/x-digitalloca
127. lgh application/lgh
128. lha application/octet-stream
直接人工129. lml x-lml/x-lml
130. lmlpack x-lml/x-lmlpack
131. lsf video/x-ms-asf
132. lsx video/x-ms-asf
133. lzh application/x-lzh
134. m13 application/x-msmediaview 135. m14 application/x-msmediaview 136. m15 audio/x-mod
137. m3u audio/x-mpegurl
138. m3url audio/x-mpegurl
139. ma1 audio/ma1
140. ma2 audio/ma2
141. ma3 audio/ma3
142. ma5 audio/ma5
143. man application/x-troff-man
飞机托运多少公斤免费
144. map magnus-internal/imagemap 145. mbd application/mbedlet
146. mct application/x-mascot
147. mdb application/x-msaccess 148. mdz audio/x-mod
149. me application/x-troff-me
150. mel text/x-vmel
151. mi application/x-mif
152. mid audio/midi
153. midi audio/midi
154. mif application/x-mif
155. mil image/x-cals
156. mio audio/x-mio
157. mmf application/x-skt-lbs
158. mng video/x-mng
159. mny application/x-msmoney 160. moc application/x-mocha
161. mocha application/x-mocha
162. mod audio/x-mod
163. mof application/x-yumekara
164. mol chemical/x-mdl-molfile
165. mop chemical/x-mopac-input
166. mov video/quicktime
167. movie video/x-sgi-movie
168. mp2 audio/x-mpeg
169. mp3 audio/x-mpeg
170. mp4 video/mp4
171. mpc application/ificate 172. mpe video/mpeg
173. mpeg video/mpeg
174. mpg video/mpeg
175. mpg4 video/mp4
176. mpga audio/mpeg
177. mpn phun.application 178. mpp application/vnd.ms-project
179. mps application/x-maprver
180. mrl text/x-mrml
181. mrm application/x-mrm
182. ms application/x-troff-ms
183. mts application/metastream
184. mtx application/metastream
185. mtz application/metastream
186. mzv application/metastream
187. nar application/zip
188. nbmp image/nbmp
189. nc application/x-netcdf
190. ndb x-lml/x-ndb
191. ndwn application/ndwn
192. nif application/x-nif
193. nmz application/x-scream
194. nokia-op-logo k-oplogo-color 195. npx application/x-netfpx
196. nsnd audio/nsnd
197. nva application/x-neva1
198. oda application/oda
南山教育
199. oom application/x-AtlasMate-Plugin 200. pac audio/x-pac
201. pae audio/x-epac
202. pan application/x-pan
203. pbm image/x-portable-bitmap
204. pcx image/x-pcx
205. pda image/x-pda
206. pdb chemical/x-pdb
207. pdf application/pdf
208. pfr application/font-tdpfr
209. pgm image/x-portable-graymap
210. pict image/x-pict
211. pm application/x-perl
212. pmd application/x-pmd
213. png image/png
214. pnm image/x-portable-anymap
215. pnz image/png
216. pot application/vnd.ms-powerpoint 217. ppm image/x-portable-pixmap
218. pps application/vnd.ms-powerpoint 219. ppt application/vnd.ms-powerpoint 220. pqf application/x-cprplayer
221. pqi application/cprplayer
222. prc application/x-prc
223. proxy application/x-ns-proxy-autoconfig 224. ps application/postscript
225. ptlk application/listenup
226. pub application/x-mspublisher
227. pvx video/x-pv-pvx
228. qcp audio/vnd.qcelp
229. qt video/quicktime
230. qti image/x-quicktime
231. qtif image/x-quicktime
232. r3t -realtext3d
233. ra audio/x-pn-realaudio
234. ram audio/x-pn-realaudio
235. rar application/x-rar-compresd
236. ras image/x-cmu-raster
237. rdf application/rdf+xml
238. rf -realflash
239. rgb image/x-rgb
240. rlf application/x-richlink
241. rm audio/x-pn-realaudio
242. rmf audio/x-rmf
243. rmm audio/x-pn-realaudio
244. rmvb audio/x-pn-realaudio
245. rnx -realplayer 246. roff application/x-troff
247. rp -realpix
248. rpm audio/x-pn-realaudio-plugin 249. rt -realtext
250. rte x-lml/x-gps
251. rtf application/rtf
252. rtg application/metastream
253. rtx text/richtext
254. rv -realvideo
255. rwc application/x-rogerwilco 256. s3m audio/x-mod
257. s3z audio/x-mod
258. sca application/x-supercard 259. scd application/x-msschedule 260. sdf application/e-score
261. a application/x-stuffit
262. sgm text/x-sgml
263. sgml text/x-sgml
264. sh application/x-sh
265. shar application/x-shar
266. shtml magnus-internal/pard-html 267. shw application/prentations 268. si6 image/si6
269. si7 image/vnd.stiwap.sis
270. si9 image/vnd.lgtwap.sis
271. sis application/vnd.symbian.install 272. sit application/x-stuffit
273. skd application/x-Koan
274. skm application/x-Koan
275. skp application/x-Koan
276. skt application/x-Koan
277. slc application/x-salsa
278. smd audio/x-smd
279. smi application/smil
280. smil application/smil
281. smp application/studiom
282. smz audio/x-smd
283. snd audio/basic
284. spc text/x-speech
285. spl application/futuresplash 286. spr application/x-sprite
287. sprite application/x-sprite
288. spt application/x-spt
289. src application/x-wais-source 290. stk application/hyperstudio 291. stm audio/x-mod
292. sv4cpio application/x-sv4cpio 293. sv4crc application/x-sv4crc 294. svf image/vnd
295. svg image/svg-xml
296. svh image/svh
297. svr x-world/x-svr
298. swf application/x-shockwave-flash 299. swfl application/x-shockwave-flash 300. t application/x-troff
301. tad application/octet-stream 302. talk text/x-speech
303. tar application/x-tar
304. taz application/x-tar
305. tbp application/x-timbuktu
306. tbt application/x-timbuktu
307. tcl application/x-tcl
308. tex application/x-tex
309. texi application/x-texinfo
310. texinfo application/x-texinfo 311. tgz application/x-tar
312. thm i.thm 313. tif image/tiff
314. tiff image/tiff
315. tki application/x-tkined
316. tkined application/x-tkined
317. toc application/toc
318. toy image/toy
319. tr application/x-troff
320. trk x-lml/x-gps
321. trm application/x-msterminal