1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
# Range header parsing
[](https://github.com/MarcusGrass/parse-range-headers/actions)
[](https://crates.io/crates/http-range-header)
The main goals of this parser is:
* Follow specification [RFC-2616](https://www.ietf.org/rfc/rfc2616.txt)
* Behave as expected [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range)
* Accuracy - parses headers strictly
* Security - Never panics, ensured by fuzzing
* Stability
* No dependecies
Secondary goals are:
* Speed
* Information on why the header was rejected
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.
|