httpheaders

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Accept                          = "Accept"
	AcceptCH                        = "Accept-CH"
	AcceptCharset                   = "Accept-Charset"
	AcceptCHLifetime                = "Accept-CH-Lifetime"
	AcceptEncoding                  = "Accept-Encoding"
	AcceptLanguage                  = "Accept-Language"
	AcceptPatch                     = "Accept-Patch"
	AcceptPushPolicy                = "Accept-Push-Policy"
	AcceptRanges                    = "Accept-Ranges"
	AcceptSignature                 = "Accept-Signature"
	AccessControlAllowCredentials   = "Access-Control-Allow-Credentials"
	AccessControlAllowHeaders       = "Access-Control-Allow-Headers"
	AccessControlAllowMethods       = "Access-Control-Allow-Methods"
	AccessControlAllowOrigin        = "Access-Control-Allow-Origin"
	AccessControlExposeHeaders      = "Access-Control-Expose-Headers"
	AccessControlMaxAge             = "Access-Control-Max-Age"
	AccessControlRequestHeaders     = "Access-Control-Request-Headers"
	AccessControlRequestMethod      = "Access-Control-Request-Method"
	Age                             = "Age"
	Allow                           = "Allow"
	AltSvc                          = "Alt-Svc"
	Authorization                   = "Authorization"
	CacheControl                    = "Cache-Control"
	ClearSiteData                   = "Clear-Site-Data"
	Connection                      = "Connection"
	ContentDisposition              = "Content-Disposition"
	ContentDPR                      = "Content-DPR"
	ContentEncoding                 = "Content-Encoding"
	ContentLanguage                 = "Content-Language"
	ContentLength                   = "Content-Length"
	ContentLocation                 = "Content-Location"
	ContentRange                    = "Content-Range"
	ContentSecurityPolicy           = "Content-Security-Policy"
	ContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only"
	ContentType                     = "Content-Type"
	Cookie                          = "Cookie"
	CrossOriginResourcePolicy       = "Cross-Origin-Resource-Policy"
	Date                            = "Date"
	DNT                             = "DNT"
	DPR                             = "DPR"
	EarlyData                       = "Early-Data"
	ETag                            = "ETag"
	Expect                          = "Expect"
	ExpectCT                        = "Expect-CT"
	Expires                         = "Expires"
	FeaturePolicy                   = "Feature-Policy"
	Forwarded                       = "Forwarded"
	From                            = "From"
	Host                            = "Host"
	IfMatch                         = "If-Match"
	IfModifiedSince                 = "If-Modified-Since"
	IfNoneMatch                     = "If-None-Match"
	IfRange                         = "If-Range"
	IfUnmodifiedSince               = "If-Unmodified-Since"
	Index                           = "Index"
	KeepAlive                       = "Keep-Alive"
	LargeAllocation                 = "Large-Allocation"
	LastEventID                     = "Last-Event-ID"
	LastModified                    = "Last-Modified"
	Link                            = "Link"
	Location                        = "Location"
	MaxForwards                     = "Max-Forwards"
	NEL                             = "NEL"
	Origin                          = "Origin"
	PingFrom                        = "Ping-From"
	PingTo                          = "Ping-To"
	Pragma                          = "Pragma"
	ProxyAuthenticate               = "Proxy-Authenticate"
	ProxyAuthorization              = "Proxy-Authorization"
	ProxyConnection                 = "Proxy-Connection"
	PublicKeyPins                   = "Public-Key-Pins"
	PublicKeyPinsReportOnly         = "Public-Key-Pins-Report-Only"
	PushPolicy                      = "Push-Policy"
	Range                           = "Range"
	Referer                         = "Referer"
	ReferrerPolicy                  = "Referrer-Policy"
	ReportTo                        = "Report-To"
	RetryAfter                      = "Retry-After"
	SaveData                        = "Save-Data"
	SecWebSocketAccept              = "Sec-WebSocket-Accept"
	SecWebSocketExtensions          = "Sec-WebSocket-Extensions" // #nosec G101
	SecWebSocketKey                 = "Sec-WebSocket-Key"
	SecWebSocketProtocol            = "Sec-WebSocket-Protocol"
	SecWebSocketVersion             = "Sec-WebSocket-Version"
	Server                          = "Server"
	ServerTiming                    = "Server-Timing"
	SetCookie                       = "Set-Cookie"
	Signature                       = "Signature"
	SignedHeaders                   = "Signed-Headers"
	SourceMap                       = "SourceMap"
	StrictTransportSecurity         = "Strict-Transport-Security"
	TE                              = "TE"
	TimingAllowOrigin               = "Timing-Allow-Origin"
	Tk                              = "Tk"
	Trailer                         = "Trailer"
	TransferEncoding                = "Transfer-Encoding"
	Upgrade                         = "Upgrade"
	UpgradeInsecureRequests         = "Upgrade-Insecure-Requests"
	UserAgent                       = "User-Agent"
	Vary                            = "Vary"
	Via                             = "Via"
	ViewportWidth                   = "Viewport-Width"
	Warning                         = "Warning"
	Width                           = "Width"
	WWWAuthenticate                 = "WWW-Authenticate"
	XContentTypeOptions             = "X-Content-Type-Options"
	XDNSPrefetchControl             = "X-DNS-Prefetch-Control"
	XDownloadOptions                = "X-Download-Options"
	XForwardedFor                   = "X-Forwarded-For"
	XForwardedHost                  = "X-Forwarded-Host"
	XForwardedProto                 = "X-Forwarded-Proto"
	XFrameOptions                   = "X-Frame-Options"
	XPermittedCrossDomainPolicies   = "X-Permitted-Cross-Domain-Policies"
	XPingback                       = "X-Pingback"
	XPoweredBy                      = "X-Powered-By"
	XRequestedWith                  = "X-Requested-With"
	XRobotsTag                      = "X-Robots-Tag"
	XUACompatible                   = "X-UA-Compatible"
	XXSSProtection                  = "X-XSS-Protection"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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