• Common HTTP "Content-Type"


    The most common type are:

    1. Type application

      application/java-archive
      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  
      
    2. Type audio

      audio/mpeg   
      audio/x-ms-wma   
      audio/vnd.rn-realaudio   
      audio/x-wav   
      
    3. Type image

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

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

      text/css    
      text/csv    
      text/html    
      text/javascript (obsolete)    
      text/plain    
      text/xml    
      
    6. Type video

      video/mpeg    
      video/mp4    
      video/quicktime    
      video/x-ms-wmv    
      video/x-msvideo    
      video/x-flv   
      video/webm   
      
    7. Type vnd :

      application/vnd.android.package-archive
      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   

    For detail, please refer to web address: http://www.iana.org/assignments/media-types/media-types.xhtml.

  • 相关阅读:
    DOM
    JS方法
    边界与边框,列表与方块
    for 练习
    背景与前景温习
    AD域账号验证
    邮件发送案例
    获取每个月最后一天的小技巧
    SQL 执行顺序
    常用下载地址
  • 原文地址:https://www.cnblogs.com/progamming/p/12396656.html
Copyright © 2020-2023  润新知