github.com/dbernstein1/tyk@v2.9.0-beta9-dl-apic+incompatible/headers/headers.go (about)

     1  package headers
     2  
     3  const (
     4  	UserAgent               = "User-Agent"
     5  	ContentType             = "Content-Type"
     6  	ContentLength           = "Content-Length"
     7  	Authorization           = "Authorization"
     8  	ContentEncoding         = "Content-Encoding"
     9  	Accept                  = "Accept"
    10  	AcceptEncoding          = "Accept-Encoding"
    11  	StrictTransportSecurity = "Strict-Transport-Security"
    12  	CacheControl            = "Cache-Control"
    13  	Pragma                  = "Pragma"
    14  	Expires                 = "Expires"
    15  	Connection              = "Connection"
    16  	WWWAuthenticate         = "WWW-Authenticate"
    17  )
    18  
    19  const (
    20  	TykHookshot     = "Tyk-Hookshot"
    21  	ApplicationJSON = "application/json"
    22  	ApplicationXML  = "application/xml"
    23  )
    24  
    25  const (
    26  	XRealIP             = "X-Real-IP"
    27  	XForwardFor         = "X-Forwarded-For"
    28  	XAuthResult         = "X-Auth-Result"
    29  	XSessionAlias       = "X-Session-Alias"
    30  	XInitialURI         = "X-Initial-URI"
    31  	XForwardProto       = "X-Forwarded-Proto"
    32  	XContentTypeOptions = "X-Content-Type-Options"
    33  	XXSSProtection      = "X-XSS-Protection"
    34  	XFrameOptions       = "X-Frame-Options"
    35  	XTykNodeID          = "x-tyk-nodeid"
    36  	XTykNonce           = "x-tyk-nonce"
    37  	XTykHostname        = "x-tyk-hostname"
    38  	XGenerator          = "X-Generator"
    39  	XTykAuthorization   = "X-Tyk-Authorization"
    40  )