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