tyk: github.com/TykTechnologies/tyk/headers Index | Files

package headers

import "github.com/TykTechnologies/tyk/headers"

Index

Package Files

headers.go

Constants

const (
    UserAgent               = "User-Agent"
    ContentType             = "Content-Type"
    ContentLength           = "Content-Length"
    Authorization           = "Authorization"
    ContentEncoding         = "Content-Encoding"
    Accept                  = "Accept"
    AcceptEncoding          = "Accept-Encoding"
    StrictTransportSecurity = "Strict-Transport-Security"
    CacheControl            = "Cache-Control"
    Pragma                  = "Pragma"
    Expires                 = "Expires"
    Connection              = "Connection"
    WWWAuthenticate         = "WWW-Authenticate"
)
const (
    TykHookshot     = "Tyk-Hookshot"
    ApplicationJSON = "application/json"
    ApplicationXML  = "application/xml"
)
const (
    XRealIP             = "X-Real-IP"
    XForwardFor         = "X-Forwarded-For"
    XAuthResult         = "X-Auth-Result"
    XSessionAlias       = "X-Session-Alias"
    XInitialURI         = "X-Initial-URI"
    XForwardProto       = "X-Forwarded-Proto"
    XContentTypeOptions = "X-Content-Type-Options"
    XXSSProtection      = "X-XSS-Protection"
    XFrameOptions       = "X-Frame-Options"
    XTykNodeID          = "x-tyk-nodeid"
    XTykNonce           = "x-tyk-nonce"
    XTykHostname        = "x-tyk-hostname"
    XGenerator          = "X-Generator"
    XTykAuthorization   = "X-Tyk-Authorization"
)
const (
    XRateLimitLimit     = "X-RateLimit-Limit"
    XRateLimitRemaining = "X-RateLimit-Remaining"
    XRateLimitReset     = "X-RateLimit-Reset"
)

Gateway's custom response headers

Package headers is imported by 6 packages. Updated 2019-09-12. Refresh now. Tools for package owners.