zoukankan      html  css  js  c++  java
  • http Content type

    Content-Type(内容类型),一般是指网页中存在的 Content-Type,用于定义网络文件的类型和网页的编码,决定浏览器将以什么形式、什么编码读取这个文件。

    Content-Type 标头告诉客户端实际返回的内容的内容类型

    Application

    • application/EDI-X12
    • application/EDIFACT
    • application/javascript
    • application/octet-stream
    • application/ogg
    • application/pdf
    • application/xhtml+xml
    • application/x-shockwave-flash
    • application/json
    • application/ld+json
    • application/xml
    • application/zip
    • application/x-www-form-urlencoded

    Audio

    • audio/mpeg
    • audio/x-ms-wma
    • audio/vnd.rn-realaudio
    • audio/x-wav

    Image

    • image/gif
    • image/jpeg
    • image/png
    • image/tiff
    • image/vnd.microsoft.icon
    • image/x-icon
    • image/vnd.djvu
    • image/svg+xml

    Multipart

    • multipart/mixed
    • multipart/alternative
    • multipart/related (using by MHTML (HTML mail).)
    • multipart/form-data

    Text

    • text/css
    • text/csv
    • text/html
    • text/javascript (obsolete)
    • text/plain
    • text/xml
    • Video
    • video/mpeg
    • video/mp4
    • video/quicktime
    • video/x-ms-wmv
    • video/x-msvideo
    • video/x-flv
    • video/webm

    VND

    • application/vnd.oasis.opendocument.text
    • application/vnd.oasis.opendocument.spreadsheet
    • application/vnd.oasis.opendocument.presentation
    • application/vnd.oasis.opendocument.graphics
    • application/vnd.ms-excel
    • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    • application/vnd.ms-powerpoint
    • application/vnd.openxmlformats-officedocument.presentationml.presentation
    • application/msword
    • application/vnd.openxmlformats-officedocument.wordprocessingml.document
    • application/vnd.mozilla.xul+xml

     

  • 相关阅读:
    Admin添加字段
    django admin基础
    user_admin
    admin 模块功能
    todolist项目
    Django进阶项目
    Django进阶
    bolg项目
    EL&jstl
    模拟用户登录,内含验证码验证和request等操作
  • 原文地址:https://www.cnblogs.com/VARForrest/p/14251503.html
Copyright © 2011-2022 走看看