header

package
v0.0.0-...-136a2fa Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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