A push library for parsing ICAP/1.0 requests and responses.
The focus is on speed and safety. Unsafe code is used to keep parsing fast,
but unsafety is contained in a submodule, with invariants enforced. The
parsing internals use an
Iterator instead of direct indexing, while
skipping bounds checks.
This parser is based heavily on the httparse HTTP parsing library.
Describes a section of the encapsulated data as listed in the Encapsulated header
Represents a parsed header.
An error in parsing a chunk size.
A parsed Request.
A parsed Response.
An error in parsing.
Possible sections of the encapsulated icap data
The result of a successful parse pass.
An empty header, useful for constructing a
Parse a buffer of bytes as a chunk size.
Parse a buffer of bytes as headers.
A Result of any parsing action.