Skip to main content

MAX_STRING

Constant MAX_STRING 

Source
pub const MAX_STRING: usize = 512;
Expand description

The longest header name or value this decoder will materialise.

Bounded because there is no allocator. Exceeding it is an error rather than a truncation: a silently shortened header value is worse than a failed request.