header

package
v0.38.410 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 0 Imported by: 4 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Accept is HTTP header for "Accept"
	Accept = "Accept"
	// AcceptEncoding is HTTP header for "Accept-Encoding"
	AcceptEncoding = "Accept-Encoding"
	// ApplicationJSON is HTTP header value for "application/json"
	ApplicationJSON = "application/json"
	// ApplicationJoseJSON is HTTP header value for "application/jose+json"
	ApplicationJoseJSON = "application/jose+json"
	// ApplicationGRPC is HTTP header value for "application/grpc"
	ApplicationGRPC = "application/grpc"
	// ApplicationGRPCWebProto is HTTP header value for "application/grpc-web+proto"
	ApplicationGRPCWebProto = "application/grpc-web+proto"
	// ApplicationGRPCWebText is HTTP header value for "application/grpc-web-text"
	ApplicationGRPCWebText = "application/grpc-web-text"
	// ApplicationTimestampQuery is HTTP header value for RFC3161 Timestamp request
	ApplicationTimestampQuery = "application/timestamp-query"
	// ApplicationTimestampReply is HTTP header value for RFC3161 Timestamp response
	ApplicationTimestampReply = "application/timestamp-reply"
	// Authorization is HTTP header for "Authorization"
	Authorization = "Authorization"
	// Bearer is token type for "Authorization" header
	Bearer = "Bearer"
	// DPoP is token type for "Authorization" header,
	// and header name for DPoP
	DPoP = "DPoP"
	// CacheControl is HTTP header for "Cache-Control"
	CacheControl = "Cache-Control"
	// ContentDisposition is HTTP header for "Content-Disposition"
	ContentDisposition = "Content-Disposition"
	// ContentEncoding is HTTP header for "Content-Encoding"
	ContentEncoding = "Content-Encoding"
	// ContentLength is HTTP header for "Content-Length"
	ContentLength = "Content-Length"
	// ContentType is HTTP header for "Content-Type"
	ContentType = "Content-Type"
	// Gzip content type for "gzip"
	Gzip = "gzip"
	// IfMatch is HTTP header for "If-Match"
	IfMatch = "If-Match"
	// Link is HTTP header for "Link"
	Link = "Link"
	// Location is HTTP header for "Location"
	Location = "Location"
	// ReplayNonce is HTTP header for "Replay-Nonce"
	ReplayNonce = "Replay-Nonce"
	// TextPlain is HTTP header value for "application/json"
	TextPlain = "text/plain"
	// UserAgent is HTTP header value for "User-Agent"
	UserAgent = "User-Agent"
	// XHostname contains the name of the HTTP header to indicate which host requested the signature
	XHostname = "X-HostName"
	// XCorrelationID is HTTP header for "X-Correlation-ID"
	XCorrelationID = "X-Correlation-ID"
	// XDeviceID is HTTP header for "X-Device-ID"
	XDeviceID = "X-Device-ID"
	// XFilename contains the name of the artifact to sign
	XFilename = "X-Filename"
	// XForwardedProto contains the protocol
	XForwardedProto = "X-Forwarded-Proto"
	// XGRPCStream is set by gRPC-Web clients to indicate a streaming call.
	// When present, the server must not apply HTTP-level gzip compression,
	// as it would break streaming.
	XGRPCStream = "X-Grpc-Stream"
)

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