2022-09-29 19:10:03 +03:00
|
|
|
package aghhttp
|
|
|
|
|
|
|
|
// HTTP Headers
|
|
|
|
|
|
|
|
// HTTP header name constants.
|
|
|
|
//
|
|
|
|
// TODO(a.garipov): Remove unused.
|
|
|
|
const (
|
|
|
|
HdrNameAcceptEncoding = "Accept-Encoding"
|
|
|
|
HdrNameAccessControlAllowOrigin = "Access-Control-Allow-Origin"
|
2022-11-02 16:18:02 +03:00
|
|
|
HdrNameAltSvc = "Alt-Svc"
|
2022-09-29 19:10:03 +03:00
|
|
|
HdrNameContentEncoding = "Content-Encoding"
|
2022-10-03 18:52:20 +03:00
|
|
|
HdrNameContentType = "Content-Type"
|
2022-11-02 16:18:02 +03:00
|
|
|
HdrNameOrigin = "Origin"
|
2022-09-29 19:10:03 +03:00
|
|
|
HdrNameServer = "Server"
|
|
|
|
HdrNameTrailer = "Trailer"
|
|
|
|
HdrNameUserAgent = "User-Agent"
|
2022-11-02 16:18:02 +03:00
|
|
|
HdrNameVary = "Vary"
|
2022-09-29 19:10:03 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
// HTTP header value constants.
|
|
|
|
const (
|
|
|
|
HdrValApplicationJSON = "application/json"
|
|
|
|
HdrValTextPlain = "text/plain"
|
|
|
|
)
|