Skip to content

Releases: seanmonstar/httparse

v1.8.0

30 Aug 22:03
Compare
Choose a tag to compare

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

  • ~10% improvement on short requests due to faster version parser by @AaronO in #120

New Contributors

v1.7.1

26 Apr 22:42
Compare
Choose a tag to compare

Fixes

  • Don't allow one invalid char after header name when allowing spaces by @nox in #115

v1.7.0

11 Apr 17:20
Compare
Choose a tag to compare

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 ❤️

v1.6.0

08 Feb 18:14
Compare
Choose a tag to compare

Features

Fixes

New Contributors

v1.5.1

19 Aug 17:46
Compare
Choose a tag to compare
  • FIX regression dropping headers on a partial parse (#102)

v1.5.0

18 Aug 23:26
Compare
Choose a tag to compare
  • FEAT: Adds parse_with_uninit_headers() functions for Request and Response, that allow passing a slice of MaybeUninit headers. Because of the newer std type, the Minimum Support Rust Version has been increased to 1.36.0.

v1.4.0

16 Apr 18:25
Compare
Choose a tag to compare
  • 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 to true, 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

01 Feb 19:36
Compare
Choose a tag to compare
  • FIX: Set Response.reason to an empty string if obs-text is found in the reason-phrase.
  • PERF: Fix faster next_8 to work when there are exactly 8 bytes left.

v1.3.4

03 Jul 21:53
Compare
Choose a tag to compare
  • FIX: Allow backslash (\) characters when parsing request-target.

v1.3.3

27 Sep 19:48
Compare
Choose a tag to compare
  • 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.