Releases: seanmonstar/httparse
Releases · seanmonstar/httparse
v1.7.0
Features
- Add flags to allow multiple spaces in request and status lines by @acfoltzer in #110
Fixes
- Fix token and uri parsers to disallow empty results by @acfoltzer in #111
New Contributors ❤️
- @LeeBradley made their first contribution in #108
- @RalfJung made their first contribution in #113
v1.6.0
Features
Fixes
- Fix SIMD header value check on char >= 0x80 by @eaufavor in #106
- Print Header value as string if it's UTF-8 by @Thomasdezeeuw in #99
New Contributors
- @miketaylr made their first contribution in #105
- @Thomasdezeeuw made their first contribution in #99
- @eaufavor made their first contribution in #106
v1.5.1
v1.5.0
- FEAT: Adds
parse_with_uninit_headers()functions forRequestandResponse, that allow passing a slice ofMaybeUninitheaders. Because of the newerstdtype, 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.reasonto an empty string ifobs-textis found in the reason-phrase. - PERF: Fix faster
next_8to 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.