header

package
v0.40.7 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AcceptEncoding = "Accept-Encoding"
	Authorization  = "Authorization"
	Cookie         = "Cookie"
	XForwardedHost = "X-Forwarded-Host"
)

Variables

This section is empty.

Functions

func Canonical

func Canonical(h string) string

Canonical returns the canonical format of the MIME header key. The canonicalization converts the first letter and any letter following a hyphen to upper case; the rest are converted to lowercase.

Types

This section is empty.

Jump to

Keyboard shortcuts

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