http content type - yibinericxia/documents GitHub Wiki

Content Type

Popular application associated types

  • application/json
  • application/javascript
  • application/x-www-form-urlencoded

The URL encoded form transfers the key and value pairs in the body into key=value concatenated with '&', like key1=value1&key2=value2 (the space is replaced by '+').

  • application/xhtml+xml
  • application/xml
  • application/pdf
  • application/zip
  • application/octet-stream (the default for unreadable) ...

Popular readable text types

  • text/css
  • text/csv
  • text/xml
  • text/plain (the default for readable)

Popular Multipart associated types

  • multipart/alternative
  • multipart/form-data

Usually for file upload via form

  • multipart/mixed

Popular image associated types

  • image/gif
  • image/jpeg
  • image/png
  • image/tiff
  • image/x-icon

Popular audio associated types

  • audio/mpeg
  • audio/x-ms-wma
  • audio/x-wav

Video

  • video/mpeg
  • video/mp4
  • video/quicktime
  • video/x-ms-wmv

VND

Reference

  1. https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
⚠️ **GitHub.com Fallback** ⚠️