Documentation
¶
Index ¶
Constants ¶
View Source
const Key = "http-version"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTP ¶
type HTTP int
HTTP/1.0 is omitted because net/http cannot send HTTP/1.0 requests.
func ParseToken ¶
func ParseValue ¶
type UnsupportedError ¶ added in v1.2.4
type UnsupportedError struct {
Token string
}
UnsupportedError reports an unsupported HTTP version token.
func (*UnsupportedError) Error ¶ added in v1.2.4
func (e *UnsupportedError) Error() string
Click to show internal directories.
Click to hide internal directories.