mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-16 11:52:58 +03:00
26 lines
728 B
Go
26 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"
|
|
)
|