{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Parses WWW-Authenticate HTTP headers into structured challenge data, handling the ambiguities and edge cases that make manual parsing error-prone.","skillfed_tags":["http-auth","abandoned"],"use_cases":["Extract the realm from a Basic authentication challenge to display a login prompt with the correct scope.","Check which authentication schemes a server supports and select the strongest one your client can handle.","Parse Negotiate challenges in a Kerberos or SPNEGO authentication flow without manual string splitting.","Build an HTTP client that adapts its auth strategy based on the server's WWW-Authenticate response."],"what_it_does":"www-authenticate is a small, dependency-free library that parses the WWW-Authenticate HTTP response header into an OrderedDict structure. The header itself is notoriously difficult to parse correctly because it mixes comma-separated challenges with comma-separated parameters, and real-world servers often violate the specification\u2014some omit parameters entirely, and the Negotiate scheme uses a bare string instead of name-value pairs. This library abstracts away those parsing complexities.\n\nYou pass it a WWW-Authenticate header string and get back a dictionary keyed by authentication scheme name (e.g., 'Basic', 'Digest', 'Negotiate'). The values are either dictionaries of parameters, a single string, or None depending on the challenge structure. It's useful in any HTTP client or middleware that needs to inspect authentication requirements from a server response.","worth_installing":"No. The package is abandoned (last release 2015-08-05, no commits since 2019-08-14) and has high install friction. While it solves a real parsing problem and carries no known vulnerabilities, the lack of maintenance means it will not be updated for Python compatibility issues, security patches, or spec changes. For new projects, consider writing a small inline parser or using a maintained HTTP library's built-in authentication handling."},"id":"www-authenticate","links":{"html":"https://skillfed.io/packages/www-authenticate","md":"https://skillfed.io/packages/www-authenticate.md","pypi":"https://pypi.org/project/www-authenticate/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2015-08-05","license_spdx":null,"license_treatment":"permissive","name":"www-authenticate","python_support":"unspecified","summary":"Parser for WWW-Authenticate headers."},"popularity":{"monthly_downloads":689729,"position":5335,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.2"}
