Discover Packages
willnorris.com/go/webmention
third_party
header
package
Version:
v0.0.0-...-4a23794
Opens a new window with list of versions in this module.
Published: Jan 8, 2022
License: BSD-3-Clause, BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
README
README
¶
Package header is based on a copy of https://github.com/golang/gddo/tree/master/httputil/header.
Expand ▾
Collapse ▴
Documentation
¶
Package header provides functions for parsing HTTP headers.
ParseList parses a comma separated list of values. Commas are ignored in
quoted strings. Quoted values are not unescaped or unquoted. Whitespace is
trimmed.
Link identifies a parsed HTTP Link header.
ParseLink parses an individual HTTP Link header value. Callers should first
call ParseList to split the raw header string into its values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.