博客
关于我
Python HTTP Content-Type常用对照表
阅读量:593 次
发布时间:2019-03-12

本文共 2241 字,大约阅读时间需要 7 分钟。

文件扩展名与内容类型对应关系

文件扩展名

.*.001.301" .323".906" .907".a11.acp.ai.aif.aifc.aiff.anv.asa.asf.asp.asx.au.avi.awf.biz.bmp.bot.c4t.c90.cal.cat.cdf.cdr.cel.cer.cg4.cgm.cit.class.cml.cmp.cmx.cot.crl.crt.csi.css.cut.dbf.dbm.dbx.dcd.dcx.der.dgn.dib.dll.doc.dot.drw.dtd.dwf.dwg.dxb.dxf.edn.emf.eml.ent.epi.eps.etd.exe.fax.fdf.fif.fo.frm.g4.gbr.gcd.gif.gl2.gp4.hgl.hmr.hpg.hpl.hqx.hrf.hta.htc.htm.html.htt.htx.icb.ico.iff.ig4.igs.iii.img.ins.isp.ivf.java.jfif.jpe.jpe" .jpeg".jpg" .jpg".js.jsp.la1" .latex".lavs" .lbm".lmsff" .ls".ltr" .m1v".m2v" .m3u".m4e" .mac".man" .math".mdb" .mfp".mht" .mhtml".mi" .midi".mil" .mml".mnd" .mns".mocha" .movie".mp1" .mp2".mp2v" .mp3".mp4" .mpa".mpd" .mpe".mpeg" .mpg".mpga" .mpp".mps" .mpt".mpv" .mpv2".mpw" .mpx".mtx" .mxp".net" .nrf".nws" .odc".out" .p10".p12" .p7b".p7c" .p7m".p7r" .p7s".pc5" .pci".pcl" .pcx".pdf" .pdx".pfx" .pgl".pic" .pko".pl" .plg".pls" .plt".png" .png".pot" .pps".ppt" .ppt".pr" .prf".prn" .prt".ps" .ps".ptn" .pwz".r3t" .ra".ram" .ras".rat" .rdf".rec" .red".rgb" .rjs".rjt" .rlc".rle" .rm".rmf" .rmi".rmj" .rmm".rmp" .rms".rmvb" .rmx".rnx" :argest="application/x-jpeg"

内容类型

application/octet-streamapplication/x-001application/x-301text/h323application/x-906application/x-907application/x-a11audio/x-mei-aacapplication/postscriptaudio/aiffaudio/aiffapplication/x-anvtext/asavideo/x-ms-asftext/aspvideo/x-ms-asfaudio/basicvideo/aviapplication/vnd.adobe.workflowtext/xmlapplication/x-bmpapplication/x-botapplication/x-c4tapplication/x-c90application/x-calsapplication/vnd.ms-pki.seccatapplication/x-netcdfapplication/x-cdrapplication/x-celapplication/x-x509-ca-certapplication/x-g4application/x-cgmapplication/x-cittext/ latext / enlargement image/x-icon application/x-ico application/x-iff application/x-g4 application/x-igs application/x-iphone application/x-img application/x-internet-signup application/x-internet-signup video/x-ivf java/ *image/jpegimage/jpegapplication/x-jpegtext/htmltext/htmltext/webviewhtmltext/htmlapplication/x-icbimage/x-iconimage/pngapplication/x-pngapplication/vnd.ms-powerpointapplication/vnd.ms-powerpoint text/xml application/x-ps application/postscript application/x-x509-certificateimage/x-icon

备注

在处理文件类型识别时,确保与指定的内容类型对应。部分文件扩展名可能对应多个内容类型,具体取决于文件的实际内容或应用的需求。

转载地址:http://yucxz.baihongyu.com/

你可能感兴趣的文章
新闻发布项目——业务逻辑层(UserService)
查看>>
hibernate正向生成数据库表以及配置——hibernate.cfg.xml
查看>>
javaWeb服务详解(含源代码,测试通过,注释) ——Emp的Dao层
查看>>
java实现人脸识别源码【含测试效果图】——Dao层(IUserDao)
查看>>
使用ueditor实现多图片上传案例——前台数据层(Index.jsp)
查看>>
ssh(Spring+Spring mvc+hibernate)——Dept.hbm.xml
查看>>
ssm(Spring+Spring mvc+mybatis)——updateDept.jsp
查看>>
解决Chrome播放视频闪屏黑屏无法播放
查看>>
Git简单理解与使用
查看>>
echarts 基本图表开发小结
查看>>
二分查找.基于有序数组的查找方法.704
查看>>
制作JS验证码(简易)
查看>>
sklearn :ImportError: cannot import name ‘Imputer‘
查看>>
adb通过USB或wifi连接手机
查看>>
泛型机制 Generic
查看>>
包装类
查看>>
JDK9-15新特性
查看>>
集合继承结构
查看>>
LinkedList 实现类
查看>>
Vector 实现类
查看>>