Releases: seanmonstar/httparse
Releases · seanmonstar/httparse
v1.5.1
v1.5.0
- FEAT: Adds
parse_with_uninit_headers()
functions forRequest
andResponse
, that allow passing a slice ofMaybeUninit
headers. Because of the newerstd
type, the Minimum Support Rust Version has been increased to 1.36.0.
v1.4.0
- FEAT: Adds
ParserConfig
, a new type to allow making some parsing rules more or less strict, or otherwise customize the parsing. - FEAT: Adds
ParserConfig::allow_spaces_after_header_name_in_responses(bool)
, which when set totrue
, will allow skipping spaces between a header name and the colon. The specification requires that to be illegal in most cases, but says proxies should accept and remove those spaces.
v1.3.5
- FIX: Set
Response.reason
to an empty string ifobs-text
is found in the reason-phrase. - PERF: Fix faster
next_8
to work when there are exactly 8 bytes left.
v1.3.4
- FIX: Allow backslash (
\
) characters when parsing request-target.
v1.3.3
- FIX: Allow {|}^` characters when parsing request-target.
- FIX: Strip trailing whitespace from header values.
- PERF: Improve selection of AVX2 and SSE4.2 features if both are available.
v1.3.2
- FIX fix incorrect response parsing when reason-phrase is missing.
v1.3.1
- FIX fix compile error of AVX2 functions on 32bit targets.
v1.3.0: SIMD!
- PERF: enable both compile-time and run-time checks for SSE4.2 and AVX2 instructions, and greatly improve parsing speed when available. See #40
v1.2.5
- FIX: allow
HTAB
bytes in header values