常用mime.types

以下是从nginx配置文件mime.types中提取出的最常用的文件格式, 整理了下, 方便查看

类型 文件格式
default_type application/octet-stream
-
text/html html htm shtml
text/css css
application/javascript js
text/xml xml
text/plain txt
application/json json
-
application/java-archive jar war ear
application/x-rar-compressed rar
application/zip zip
application/x-redhat-package-manager rpm
-
application/msword doc
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/pdf pdf
application/vnd.ms-powerpoint ppt
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
-
application/vnd.ms-excel xls
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
-
application/octet-stream bin exe dll
-
image/png png
image/jpeg jpeg jpg
image/gif gif
audio/mpeg mp3
video/mp4 mp4
video/mpeg mpeg mpg
video/quicktime mov
video/x-flv flv
video/x-msvideo avi

猜你喜欢

转载自www.cnblogs.com/wangzaiplus/p/10815430.html