List of HTTP header fields

https://en.wikipedia.org/wiki/List_of_HTTP_header_fields

Content-Type

The MIME type of the body of the request (used with POST and PUT requests)

Content-Type: application/x-www-form-urlencoded

                                                                                                                                             

常见 MIME type

Type application

application/json: JavaScript Object Notation JSON;

application/pdf: Portable Document Format, PDF has been in use for document exchange on the Internet since 1993;

application/xmlXML files; 

Type text

text/cssCascading Style Sheets;

text/csvComma-separated values;

text/htmlHTML;

text/javascript (Obsolete): JavaScript

text/xml: Extensible Markup Language; 

List of common media subtype prefixes

application/vnd.ms-excelMicrosoft Excel files

原文地址:https://www.cnblogs.com/zno2/p/4634821.html