🎨 Format MIME type contants
This commit is contained in:
parent
1ebefe9a76
commit
7e77b78451
|
@ -1,8 +1,13 @@
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
const charsetUTF8 = "charset=UTF-8"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MIMEApplicationJSON string = "application/json"
|
MIMEApplicationForm string = "application/x-www-form-urlencoded"
|
||||||
MIMEApplicationXWWWFormUrlencoded string = "application/x-www-form-urlencoded"
|
MIMEApplicationJSON string = "application/json"
|
||||||
MIMETextHTML string = "text/html"
|
MIMEApplicationJSONCharsetUTF8 string = MIMEApplicationJSON + "; " + charsetUTF8
|
||||||
MIMETextPlain string = "text/plain"
|
MIMETextHTML string = "text/html"
|
||||||
|
MIMETextHTMLCharsetUTF8 string = MIMETextHTML + "; " + charsetUTF8
|
||||||
|
MIMETextPlain string = "text/plain"
|
||||||
|
MIMETextPlainCharsetUTF8 string = MIMETextPlain + "; " + charsetUTF8
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue