auth/internal/common/common.go

14 lines
540 B
Go
Raw Normal View History

2021-09-20 15:45:54 +00:00
package common
2021-11-14 21:08:21 +00:00
const charsetUTF8 = "charset=UTF-8"
2021-09-20 15:45:54 +00:00
const (
2021-11-14 21:08:21 +00:00
MIMEApplicationForm string = "application/x-www-form-urlencoded"
MIMEApplicationJSON string = "application/json"
MIMEApplicationJSONCharsetUTF8 string = MIMEApplicationJSON + "; " + charsetUTF8
MIMETextHTML string = "text/html"
MIMETextHTMLCharsetUTF8 string = MIMETextHTML + "; " + charsetUTF8
MIMETextPlain string = "text/plain"
MIMETextPlainCharsetUTF8 string = MIMETextPlain + "; " + charsetUTF8
2021-09-20 15:45:54 +00:00
)