@@ -6,23 +6,29 @@ const (
66
77// Mime Type values for the Content-Type HTTP header
88const (
9- ApplicationJSON string = "application/json" + charsetUTF8
10- ApplicationJavaScript string = "application/javascript"
11- ApplicationXML string = "application/xml" + charsetUTF8
12- ApplicationForm string = "application/x-www-form-urlencoded"
13- ApplicationProtobuf string = "application/protobuf"
14- ApplicationMsgpack string = "application/msgpack"
15- ApplicationWasm string = "application/wasm"
16- ApplicationPDF string = "application/pdf"
17- ApplicationOctetStream string = "application/octet-stream"
18- TextHTML string = "text/html" + charsetUTF8
19- TextPlain string = "text/plain" + charsetUTF8
20- TextMarkdown string = "text/markdown" + charsetUTF8
21- TextCSS string = "text/css" + charsetUTF8
22- TextCSV string = "text/csv"
23- ImagePNG string = "image/png"
24- ImageGIF string = "image/gif"
25- ImageSVG string = "image/svg+xml"
26- ImageJPEG string = "image/jpeg"
27- MultipartForm string = "multipart/form-data"
9+ ApplicationJSONNoCharset string = "application/json"
10+ ApplicationJSON string = ApplicationJSONNoCharset + charsetUTF8
11+ ApplicationJavaScript string = "application/javascript"
12+ ApplicationXMLNoCharset string = "application/xml"
13+ ApplicationXML string = ApplicationXMLNoCharset + charsetUTF8
14+ ApplicationForm string = "application/x-www-form-urlencoded"
15+ ApplicationProtobuf string = "application/protobuf"
16+ ApplicationMsgpack string = "application/msgpack"
17+ ApplicationWasm string = "application/wasm"
18+ ApplicationPDF string = "application/pdf"
19+ ApplicationOctetStream string = "application/octet-stream"
20+ TextHTMLNoCharset = "text/html"
21+ TextHTML string = TextHTMLNoCharset + charsetUTF8
22+ TextPlainNoCharset = "text/plain"
23+ TextPlain string = TextPlainNoCharset + charsetUTF8
24+ TextMarkdownNoCharset string = "text/markdown"
25+ TextMarkdown string = TextMarkdownNoCharset + charsetUTF8
26+ TextCSSNoCharset string = "text/css"
27+ TextCSS string = TextCSSNoCharset + charsetUTF8
28+ TextCSV string = "text/csv"
29+ ImagePNG string = "image/png"
30+ ImageGIF string = "image/gif"
31+ ImageSVG string = "image/svg+xml"
32+ ImageJPEG string = "image/jpeg"
33+ MultipartForm string = "multipart/form-data"
2834)
0 commit comments