www-authenticate
Parser for WWW-Authenticate headers.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- No external dependencies, but Python version compatibility is unspecified and untested on modern versions given the package's abandonment.
- High install friction due to source-only distribution.
- Package is abandoned—last release was 2015-08-05 and last commit 2019-08-14.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you may use, modify, and distribute this code freely with minimal restrictions, making it safe to embed in commercial or proprietary projects.
last release 2015-08-05 (4027 days) · last repo commit 2019-08-14 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 689,729 downloads/mo, #5,335 on PyPI
Alternatives
Verify before relying
import www_authenticate
parsed = www_authenticate.parse(response.headers['WWW-Authenticate'])
if 'Basic' in parsed:
realm = parsed['Basic']['realm']- Whether the package works correctly on Python versions released after 2019.
- Whether parsing handles all real-world WWW-Authenticate header variations encountered in modern HTTP clients and servers.
What it is and 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—some omit parameters entirely, and the Negotiate scheme uses a bare string instead of name-value pairs. This library abstracts away those parsing complexities.
You 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
www-authenticate on PyPI
Before you install
High install friction due to source-only distribution. Package is abandoned—last release was 2015-08-05 and last commit 2019-08-14. No maintenance activity since then. No external dependencies, but stagnation means security issues or Python compatibility problems would not be addressed.
No external dependencies, but Python version compatibility is unspecified and untested on modern versions given the package's abandonment.
License in practice
BSD license is permissive; you may use, modify, and distribute this code freely with minimal restrictions, making it safe to embed in commercial or proprietary projects.
Quickstart
import www_authenticate
parsed = www_authenticate.parse(response.headers['WWW-Authenticate'])
if 'Basic' in parsed:
realm = parsed['Basic']['realm']
Verify before relying
- Whether the package works correctly on Python versions released after 2019.
- Whether parsing handles all real-world WWW-Authenticate header variations encountered in modern HTTP clients and servers.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,027 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 689,729 / month, #5,335 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: www-authenticate-0.9.2.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “WWW-Authenticate header parser”
- www-authenticateParses WWW-Authenticate HTTP headers into structured challenge data,…
- CppHeaderParserParses C++ header files and extracts their structure—classes,…
- pyrfc6266Parses RFC 6266 Content-Disposition headers to extract filename and…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also ntlm-auth · django-simple-captcha · pyspnego · mail-parser · requests-gssapi · requests-kerberos · secure · cloudscraper · requests-credssp · requests-negotiate-sspi