123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- // Inspired by https://github.com/mattrobenolt/go-httpheaders
- // Thanks, Matt Robenolt!
- package httpheaders
- const (
- Accept = "Accept"
- AcceptCharset = "Accept-Charset"
- AcceptEncoding = "Accept-Encoding"
- AcceptLanguage = "Accept-Language"
- AcceptRanges = "Accept-Ranges"
- AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
- AccessControlAllowHeaders = "Access-Control-Allow-Headers"
- AccessControlAllowMethods = "Access-Control-Allow-Methods"
- AccessControlAllowOrigin = "Access-Control-Allow-Origin"
- AccessControlMaxAge = "Access-Control-Max-Age"
- Age = "Age"
- AltSvc = "Alt-Svc"
- Authorization = "Authorization"
- CacheControl = "Cache-Control"
- CFConnectingIP = "CF-Connecting-IP"
- Connection = "Connection"
- ContentDisposition = "Content-Disposition"
- ContentEncoding = "Content-Encoding"
- ContentLanguage = "Content-Language"
- ContentLength = "Content-Length"
- ContentRange = "Content-Range"
- ContentSecurityPolicy = "Content-Security-Policy"
- ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only"
- ContentType = "Content-Type"
- Cookie = "Cookie"
- Date = "Date"
- Dnt = "Dnt"
- Etag = "Etag"
- Expect = "Expect"
- ExpectCt = "Expect-Ct"
- Expires = "Expires"
- Forwarded = "Forwarded"
- Host = "Host"
- IfMatch = "If-Match"
- IfModifiedSince = "If-Modified-Since"
- IfNoneMatch = "If-None-Match"
- IfUnmodifiedSince = "If-Unmodified-Since"
- KeepAlive = "Keep-Alive"
- LastModified = "Last-Modified"
- Link = "Link"
- Location = "Location"
- Origin = "Origin"
- Pragma = "Pragma"
- Range = "Range"
- Referer = "Referer"
- RequestId = "Request-Id"
- RetryAfter = "Retry-After"
- Server = "Server"
- SetCookie = "Set-Cookie"
- StrictTransportSecurity = "Strict-Transport-Security"
- Upgrade = "Upgrade"
- UserAgent = "User-Agent"
- Vary = "Vary"
- Via = "Via"
- WwwAuthenticate = "Www-Authenticate"
- XAmznRequestContextHeader = "x-amzn-request-context"
- XContentTypeOptions = "X-Content-Type-Options"
- XForwardedFor = "X-Forwarded-For"
- XForwardedHost = "X-Forwarded-Host"
- XForwardedPort = "X-Forwarded-Port"
- XForwardedProto = "X-Forwarded-Proto"
- XFrameOptions = "X-Frame-Options"
- XOriginWidth = "X-Origin-Width"
- XOriginHeight = "X-Origin-Height"
- XRealIP = "X-Real-IP"
- XRequestID = "X-Request-ID"
- XResultWidth = "X-Result-Width"
- XResultHeight = "X-Result-Height"
- XOriginContentLength = "X-Origin-Content-Length"
- )
|