FORM_URLENCODED
FORM_URLENCODED: "application/x-www-form-urlencoded"
FORM_URLENCODED_UTF8
FORM_URLENCODED_UTF8: "application/x-www-form-urlencoded;charset=UTF-8"
JSON
JSON: "application/json"
JSON_UTF8
JSON_UTF8: "application/json;charset=UTF-8"
TEXT_PLAIN
TEXT_PLAIN: "text/plain"
TEXT_PLAIN_UTF8
TEXT_PLAIN_UTF8: "text/plain;charset=UTF-8"
TEXT_XML
TEXT_XML: "text/xml"
TEXT_XML_UTF8
TEXT_XML_UTF8: "text/xml;charset=UTF-8"
XML
XML: "application/xml"
XML_UTF8
XML_UTF8: "application/xml;charset=UTF-8"
Exports some default content types as optional utilities.
Example: use JSON content type in request headers