home/internal/common/common.go
Maxim Lebedev 5124c7cc99
All checks were successful
/ docker (push) Successful in 1m53s
🎨 Added authorization headers contants
2024-02-13 06:34:29 +06:00

21 lines
578 B
Go

package common
const (
HeaderAcceptLanguage string = "Accept-Language"
HeaderAuthorization string = "Authorization"
HeaderContentLanguage string = "Content-Language"
HeaderContentType string = "Content-Type"
HeaderCookie string = "Cookie"
)
const (
MIMETextHTML string = "text/html"
MIMETextHTMLCharsetUTF8 string = MIMETextHTML + "; " + charsetUTF8
MIMETextPlain string = "text/plain"
MIMETextPlainCharsetUTF8 string = MIMETextPlain + "; " + charsetUTF8
)
const Und string = "und"
const charsetUTF8 string = "charset=UTF-8"