Documentation ¶
Overview ¶
Package header provides functions for parsing HTTP headers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseList ¶
ParseList parses a comma separated list of values. Commas are ignored in quoted strings. Quoted values are not unescaped or unquoted. Whitespace is trimmed.
Types ¶
type AcceptSpec ¶
AcceptSpec ...
func ParseAccept ¶
func ParseAccept(header http.Header, key string) (specs []AcceptSpec)
ParseAccept parses Accept* headers.
func ParseAccept2 ¶
func ParseAccept2(header http.Header, key string) (specs []AcceptSpec)
ParseAccept2 ...
Click to show internal directories.
Click to hide internal directories.