Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrType = iota GzipType DeflateType IdentityType UnknownType )
Variables ¶
This section is empty.
Functions ¶
func ParseAcceptEncoding ¶
ParseAcceptEncoding parses Accept-Encoding http header value.
func ParseContentEncoding ¶
ParseContentEncoding parses Content-Encoding http header value.
Types ¶
type UnsupportedContentEncodingError ¶
type UnsupportedContentEncodingError string
UnsupportedContentEncodingError indicates that a provided Content-Encoding field is not supported.
func (UnsupportedContentEncodingError) Error ¶
func (err UnsupportedContentEncodingError) Error() string
Click to show internal directories.
Click to hide internal directories.