Skip to content

Releases: seanmonstar/httparse

v1.7.0

11 Apr 17:20

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

Choose a tag to compare

Features

Fixes

New Contributors

v1.5.1

19 Aug 17:46

Choose a tag to compare

  • FIX regression dropping headers on a partial parse (#102)

v1.5.0

18 Aug 23:26

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

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

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

Choose a tag to compare

  • FIX: Allow backslash (\) characters when parsing request-target.

v1.3.3

27 Sep 19:48

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.

v1.3.2

27 Sep 19:46

Choose a tag to compare

  • FIX fix incorrect response parsing when reason-phrase is missing.

v1.3.1

23 Jun 00:17

Choose a tag to compare

  • FIX fix compile error of AVX2 functions on 32bit targets.