mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 23:28:08 +03:00
25 lines
728 B
Go
25 lines
728 B
Go
package aghhttp
|
|
|
|
// HTTP Headers
|
|
|
|
// HTTP header name constants.
|
|
//
|
|
// TODO(a.garipov): Remove unused.
|
|
const (
|
|
HdrNameAcceptEncoding = "Accept-Encoding"
|
|
HdrNameAccessControlAllowOrigin = "Access-Control-Allow-Origin"
|
|
HdrNameAltSvc = "Alt-Svc"
|
|
HdrNameContentEncoding = "Content-Encoding"
|
|
HdrNameContentType = "Content-Type"
|
|
HdrNameOrigin = "Origin"
|
|
HdrNameServer = "Server"
|
|
HdrNameTrailer = "Trailer"
|
|
HdrNameUserAgent = "User-Agent"
|
|
HdrNameVary = "Vary"
|
|
)
|
|
|
|
// HTTP header value constants.
|
|
const (
|
|
HdrValApplicationJSON = "application/json"
|
|
HdrValTextPlain = "text/plain"
|
|
)
|