headers

package
v0.0.0-...-de8bb4e Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SkippedHeaders = map[string]struct{}{
	"Alt-Svc":          {},
	"Connection":       {},
	"Proxy-Connection": {},

	"Keep-Alive":          {},
	"Proxy-Authenticate":  {},
	"Proxy-Authorization": {},
	"Te":                  {},
	"Trailer":             {},
	"Transfer-Encoding":   {},
	"Upgrade":             {},

	"Content-Type":     {},
	"Content-Encoding": {},
	"Content-Length":   {},
	"Accept-Encoding":  {},
	"Accept-Charset":   {},
	"Accept":           {},

	"Sec-Websocket-Extensions": {},
	"Sec-Websocket-Key":        {},
	"Sec-Websocket-Protocol":   {},
	"Sec-Websocket-Version":    {},

	"Host": {},
}

SkippedHeaders are headers that should not be forwarded to downstream services. These headers are connection-specific or should be set by the client/server rather than being forwarded from the original request.

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