www_authenticate_parser

Crates.iowww_authenticate_parser
lib.rswww_authenticate_parser
version1.0.2
created_at2025-07-30 01:49:43.642427+00
updated_at2025-07-30 03:17:51.747077+00
descriptionA WWW Authenticate Header Parser
homepagehttps://github.com/sathyajithps/www_authenticate_parser
repositoryhttps://github.com/sathyajithps/www_authenticate_parser
max_upload_size
id1773006
size25,041
Sathyajith P S (sathyajithps)

documentation

https://docs.rs/www_authenticate_parser

README

WWW-Authenticate Header Parser in Rust

This crate provides a Rust implementation for parsing the WWW-Authenticate HTTP header. The parser supports extracting authentication schemes and their associated challenges as defined by RFC 7235.


Features

  • Parses a single WWW-Authenticate header string into an authentication scheme and its challenge.
  • Supports token68 and fields formats in challenges.
  • Case-insensitive scheme handling using UniCase.
  • Correctly handles quoted strings and token characters according to the HTTP specification.

Credits

This crate is a modified version of KeenS/www-authenticate.

Commit count: 0

cargo fmt