Releases: seanmonstar/httparse
Releases · seanmonstar/httparse
v1.8.0
Features
- Adds
ParserConfig::ignore_invalid_headers_in_response(bool)
that allows skipping invalid header lines instead of returning an error (fixes #61, #83) by @nox in #114
Performance
New Contributors
- @lucacasonato made their first contribution in #119
- @AaronO made their first contribution in #120
- @kornelski made their first contribution in #121
v1.7.1
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 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.