2 unstable releases

0.3.0 Nov 25, 2021
0.2.2 Nov 25, 2021
0.2.1 Nov 25, 2021

#774 in Network programming

Download history 208/week @ 2021-11-25 2593/week @ 2021-12-02 5313/week @ 2021-12-09 8873/week @ 2021-12-16 6457/week @ 2021-12-23 7878/week @ 2021-12-30 11669/week @ 2022-01-06 13750/week @ 2022-01-13 16605/week @ 2022-01-20

50,712 downloads per month
Used in 45 crates (via tower-http)

MIT license

27KB
531 lines

Range header parsing

Latest workflow CratesIo

The main goals of this parser is:

  • Follow specification RFC-2616
  • Behave as expected MDN
  • Accuracy - parses headers strictly
  • Security - Never panics, ensured by fuzzing
  • Stability
  • No dependecies

Secondary goals are:

  • Speed
  • Information on why the header was rejected (feature 'with_error_cause')

The parser is strict. Any range where all parts are not syntactically correct and makes sense in the context of the underlying resource will be rejected.

No runtime deps