mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-21 07:11:52 +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"
|
|
)
|