NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #134 most downloaded on crates.io
A tiny, safe, speedy, zero-copy HTTP/1.x parser.
Latest stable
1.10.1
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.8 years
Most releases are documented
notes for 28 of 43 stable releases
3 versions withdrawn
withdrawn after publishing
12 years old
46 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
fix(swar): utf8 support by @nikneym in #205
Fix: method parsing by @jeddenlea in #190
Full Changelog: v1.9.5...v1.10.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
perf: cibench workflow by @AaronO in #179
Test and fix a regression in parsing partial requests in the 1.9.x series by @bearcage in #176
Fix no space after colon by @seanmonstar in #174
ci: check x86 without simd by @seanmonstar in #170
fix lint warnings about cfgs by @seanmonstar in #166
Full Changelog: v1.9.0...v1.9.1
ci: Add CIFuzz GitHub Action by @DavidKorczynski in #127
cargo-fuzz targets by @00xc in #143Full Changelog: v1.8.0...v1.9.0
Adds ParserConfig::ignore_invalid_headers_in_response(bool) that allows skipping invalid header lines instead of returning an error (fixes #61 , #83 )
ParserConfig::ignore_invalid_headers_in_response(bool) that allows skipping invalid header lines instead of returning an error (fixes #61, #83) by @nox in #114Don't allow one invalid char after header name when allowing spaces by @nox in #115
Add flags to allow multiple spaces in request and status lines by @acfoltzer in https://github.com/seanmonstar/httparse/pull/110
Implement header line folding (fixes #37, #68) by @nox in https://github.com/seanmonstar/httparse/pull/107
FIX regression dropping headers on a partial parse
FEAT: Adds parse_with_uninit_headers() functions for Request and Response, that allow passing a slice of MaybeUninit headers. Because of the newer std
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.Nothing published for this version
FEAT: Adds ParserConfig, a new type to allow making some parsing rules more or less strict, or otherwise customize the parsing.
ParserConfig, a new type to allow making some parsing rules more or less strict, or otherwise customize the parsing.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.Nothing published for this version
FIX: Set Response.reason to an empty string if obs-text is found in the reason-phrase.
Response.reason to an empty string if obs-text is found in the reason-phrase.next_8 to work when there are exactly 8 bytes left.FIX: Allow backslash (\) characters when parsing request-target.
\) characters when parsing request-target.FIX: Allow {|}^` characters when parsing request-target.
FIX fix incorrect response parsing when reason-phrase is missing.
FIX fix compile error of AVX2 functions on 32bit targets.
PERF: enable both compile-time and run-time checks for SSE4.2 and AVX2 instructions, and greatly improve parsing speed when available. See #40
FIX: allow HTAB bytes in header values
HTAB bytes in header valuesFIX: look for invalid version even if less than 8 bytes long, instead of returning Status::Partial
Status::PartialPERF: switch header parsing to use lookup tables
PERF Reduce EOF checks in internal parse_version
parse_versionFIXED: overflow when parsing chunked size hex digit that was too big
NEW: added std cargo feature, on by default. Disable to use in no_std environments.
std cargo feature, on by default. Disable to use in no_std environments.fmt::Display and std::error::Error for httparse::Error.FIX: skip empty lines before the start of a request or response
FIX: Correctly return Error when method or path have illegal values
Error when method or path have illegal valuesNEW: httparse::parse_chunk_size function added
httparse::parse_chunk_size function addedNEW: httparse::Request and httparse::Response
httparse::Request and httparse::ResponseNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.