headers

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 0 Imported by: 12

Documentation

Index

Constants

View Source
const (
	XAppEngineCountry               = "X-AppEngine-Country"
	XAppEngineRegion                = "X-AppEngine-Region"
	XAppEngineCity                  = "X-AppEngine-City"
	XAppEngineCityLatLong           = "X-AppEngine-CityLatLong"
	XAppEngineCron                  = "X-AppEngine-Cron"
	XAppEngineInboundAppId          = "X-Appengine-Inbound-Appid"
	XAppEngineEstimatedCPMUSDollars = "X-AppEngine-Estimated-CPM-US-Dollars"
	XAppEngineResourceUsage         = "X-AppEngine-Resource-Usage"
	XAppEngineBlobKey               = "X-AppEngine-BlobKey"
	XAppEngineBlobRange             = "X-AppEngine-BlobRange"
)
View Source
const (
	WWWAuthenticate    = "WWW-Authenticate"
	Authorization      = "Authorization"
	ProxyAuthenticate  = "Proxy-Authenticate"
	ProxyAuthorization = "Proxy-Authorization"
)
View Source
const (
	Age           = "Age"
	CacheControl  = "Cache-Control"
	ClearSiteDate = "Clear-Site-Date"
	Expires       = "Expires"
	Pragma        = "Pragma"
	Warning       = "Warning"
)
View Source
const (
	AcceptCH         = "Accept-CH"
	AcceptCHLifetime = "Accept-CH-Lifetime"
	EarlyData        = "Early-Data"
	ContentDPR       = "Content-DPR"
	DPR              = "DPR"
	SaveData         = "Save-Data"
	ViewportWidth    = "Viewport-Width"
	Width            = "Width"
)
View Source
const (
	LastModified      = "Last-Modified"
	ETag              = "ETag"
	IfMatch           = "If-Match"
	IfNoneMatch       = "If-None-Match"
	IfModifiedSince   = "If-Modified-Since"
	IfUnmodifiedSince = "If-Unmodified-Since"
	Vary              = "Vary"
)
View Source
const (
	Connection = "Connection"
	KeepAlive  = "Keep-Alive"
)
View Source
const (
	ContentLength   = "Content-Length"
	ContentType     = "Content-Type"
	ContentEncoding = "Content-Encoding"
	ContentLanguage = "Content-Language"
	ContentLocation = "Content-Location"
)
View Source
const (
	Expect              = "Expect"
	MaxForwards         = "Max-Forwards"
	XDNSPrefetchControl = "X-DNS-Prefetch-Control"
)
View Source
const (
	Cookie    = "Cookie"
	SetCookie = "Set-Cookie"
)
View Source
const (
	AccessControlAllowOrigin      = "Access-Control-Allow-Origin"
	AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
	AccessControlAllowHeaders     = "Access-Control-Allow-Headers"
	AccessControlAllowMethods     = "Access-Control-Allow-Methods"
	AccessControlExposeHeaders    = "Access-Control-Expose-Headers"
	AccessControlMaxAge           = "Access-Control-Max-Age"
	AccessControlRequestHeaders   = "Access-Control-Request-Headers"
	AccessControlRequestMethod    = "Access-Control-Request-Method"
	Origin                        = "Origin"
	TimingAllowOrigin             = "Timing-Allow-Origin"
	XPermittedCrossDomainPolicies = "X-Permitted-Cross-Domain-Policies"
)
View Source
const (
	DNT = "DNT"
	Tk  = "Tk"
)
View Source
const (
	Accept           = "Accept"
	AcceptCharset    = "Accept-Charset"
	AcceptEncoding   = "Accept-Encoding"
	AcceptLanguage   = "Accept-Language"
	AcceptPushPolicy = "Accept-Push-Policy"
	AcceptSignature  = "Accept-Signature"
	AltSvc           = "Alt-Svc"
	PushPolicy       = "Push-Policy"
	ServerTiming     = "Server-Timing"
	SourceMap        = "SourceMap"
	Upgrade          = "Upgrade"
)
View Source
const (
	Date = "Date"
	Link = "Link"
)
View Source
const (
	Forwarded             = "Forwarded"
	XForwardedFor         = "X-Forwarded-For"
	XForwardedHost        = "X-Forwarded-Host"
	XForwardedProto       = "X-Forwarded-Proto"
	Via                   = "Via"
	XRealIp               = "X-Real-Ip"
	XEnvoyExternalAddress = "X-Envoy-External-Address"
)
View Source
const (
	AcceptRanges = "Accept-Ranges"
	Range        = "Range"
	IfRange      = "If-Range"
	ContentRange = "Content-Range"
)
View Source
const (
	From            = "From"
	Host            = "Host"
	Referer         = "Referer"
	ReferrerPolicy  = "Referrer-Policy"
	UserAgent       = "User-Agent"
	RetryAfter      = "Retry-After"
	LargeAllocation = "Large-Allocation"
)
View Source
const (
	Allow  = "Allow"
	Server = "Server"
)
View Source
const (
	CrossOriginResourcePolicy       = "Cross-Origin-Resource-Policy"
	ContentSecurityPolicy           = "Content-Security-Policy"
	ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only"
	ExpectCT                        = "Expect-CT"
	FeaturePolicy                   = "Feature-Policy"
	PublicKeyPins                   = "Public-Key-Pins"
	PublicKeyPinsReportOnly         = "Public-Key-Pins-Report-Only"
	StrictTransportSecurity         = "Strict-Transport-Security"
	UpgradeInsecureRequests         = "Upgrade-Insecure-Requests"
	XContentTypeOptions             = "X-Content-Type-Options"
	XDownloadOptions                = "X-Download-Options"
	XFrameOptions                   = "X-Frame-Options"
	XPoweredBy                      = "X-Powered-By"
	XXSSProtection                  = "X-XSS-Protection"
	XApiKey                         = "x-api-key"

	Signature     = "Signature"
	SignedHeaders = "Signed-Headers"
)
View Source
const (
	LastEventID = "Last-Event-ID"
	NEL         = "NEL"
	PingForm    = "PingForm"
	PingTo      = "Ping-To"
	ReportTo    = "Report-To"
)
View Source
const (
	SpanID        = "X-B3-SpanId"
	TraceID       = "X-B3-TraceId"
	ParentSpanID  = "X-B3-ParentSpanId"
	Sampled       = "X-B3-Sampled"
	Flags         = "X-B3-Flags"
	SpanContext   = "X-Ot-Span-Context"
	CloudTrace    = "X-Cloud-Trace-Context"
	JaegerBaggage = "Jaeger-Baggage"
	UberTraceID   = "Uber-Trace-Id"
	AwsTraceID    = "X-Amzn-Trace-Id"
	AwsRequestID  = "x-amzn-RequestId"
	RequestID     = "X-Request-Id"
	TransactionID = "X-Transaction-Id"
)
View Source
const (
	TransferEncoding = "Transfer-Encoding"
	TE               = "TE"
	Trailer          = "Trailer"
)
View Source
const (
	SecWebSocketKey        = "Sec-WebSocket-Key"
	SecWebSocketExtensions = "Sec-WebSocket-Extensions"
	SecWebSocketAccept     = "Sec-WebSocket-Accept"
	SecWebSocketProtocol   = "Sec-WebSocket-Protocol"
	SecWebSocketVersion    = "Sec-WebSocket-Version"
)
View Source
const (
	ContentDisposition = "Content-Disposition"
)
View Source
const (
	Location = "Location"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL