Documentation
¶
Overview ¶
Package httpheader provides comma-separated header token helpers shared by the root package's built-in middleware tier and the middleware package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasToken ¶
HasToken reports whether a comma-separated header contains token. Comparisons are case-insensitive and ignore surrounding spaces.
func IsIdentityContentCoding ¶ added in v0.18.0
IsIdentityContentCoding reports whether every token of a Content-Encoding value is "identity" (or the value is empty), meaning the body carries no transformation.
Types ¶
This section is empty.