Back to godoc.org
github.com/TykTechnologies/tyk/headers

package headers

v2.9.4+incompatible
Latest Go to latest
Published: Apr 6, 2020 | License: MPL-2.0 | Module: github.com/TykTechnologies/tyk

Index

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier