2022-09-29 17:04:26 +01:00
|
|
|
package aghhttp
|
|
|
|
|
|
|
|
// HTTP Headers
|
|
|
|
|
|
|
|
// HTTP header name constants.
|
|
|
|
//
|
|
|
|
// TODO(a.garipov): Remove unused.
|
|
|
|
const (
|
|
|
|
HdrNameAcceptEncoding = "Accept-Encoding"
|
|
|
|
HdrNameAccessControlAllowOrigin = "Access-Control-Allow-Origin"
|
2022-10-10 16:34:53 +01:00
|
|
|
HdrNameAltSvc = "Alt-Svc"
|
2022-09-29 17:04:26 +01:00
|
|
|
HdrNameContentEncoding = "Content-Encoding"
|
2022-09-30 12:41:25 +01:00
|
|
|
HdrNameContentType = "Content-Type"
|
2022-10-10 16:34:53 +01:00
|
|
|
HdrNameOrigin = "Origin"
|
2022-09-29 17:04:26 +01:00
|
|
|
HdrNameServer = "Server"
|
|
|
|
HdrNameTrailer = "Trailer"
|
|
|
|
HdrNameUserAgent = "User-Agent"
|
2022-10-10 16:34:53 +01:00
|
|
|
HdrNameVary = "Vary"
|
2022-09-29 17:04:26 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
// HTTP header value constants.
|
|
|
|
const (
|
|
|
|
HdrValApplicationJSON = "application/json"
|
|
|
|
HdrValTextPlain = "text/plain"
|
|
|
|
)
|