Crate http_tiny

Source
Expand description

§About

http_tiny is a small, nearly dependency-less crate to create, serialize, read and parse HTTP/1.1-headers.

It is not designed to be the fastest crate out there, but it’s easy to understand and read and flexible enough to be useful as general-purpose HTTP-header crate.

Modules§

error
Implements error types with support for Backtrace and some additional helpers

Macros§

e
Creates a new variant
einval
Creates a new ErrorImpl::InvalidValue kind
eio
Creates a new ErrorImpl::InOutError kind

Structs§

Header
A HTTP header
HeaderFields
Some header fields
HeaderStartLine
The start line
Limiter
An I/O-limiter
PercentDecoder
A percent decoder
PercentEncoder
A percent encoder
QueryString
A query string
RequestTargetPath
An absolute path as request target

Enums§

RequestTarget
A request target (see https://tools.ietf.org/html/rfc7230#section-5.3)