httpdbg
A very simple tool to debug HTTP(S) client and server requests.
Decision gist · record as of 2026-08-14
Yes. httpdbg is a low-friction development tool with no dependencies, active maintenance, a permissive license, and no known vulnerabilities. It solves a real debugging problem—inspecting HTTP traffic without code changes—and works with common Python HTTP libraries and frameworks. Install it if you regularly debug HTTP-based Python applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained with recent releases and 905 repository stars.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-07-11 (34 days) · last repo commit 2026-07-11 · 905 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,551 downloads/mo, #14,516 on PyPI
Alternatives
Verify before relying
pip install httpdbg
# Run a script with HTTP tracing:
pyhttpdbg --script my_script.py
# Or run tests with tracing:
pyhttpdbg -m pytest tests/
# View requests at http://localhost:4909- Whether the tool works with all HTTP client libraries or only the explicitly listed ones (requests, urllib3, httpx, aiohttp).
- Performance impact when tracing large volumes of HTTP traffic.
- Whether the web interface persists requests across Python process restarts in all scenarios.
What it is and what it does
httpdbg is a debugging tool that sits between your Python code and the network to capture and visualize HTTP(S) traffic. Instead of modifying your code, you run your program through the `pyhttpdbg` command, and it automatically intercepts all HTTP requests—both those made by your client code and those received by your server. The captured traffic appears in a web dashboard at http://localhost:4909, where you can inspect headers, bodies, timing, and request grouping.
It supports HTTP/1.0, HTTP/1.1, and HTTP/2, and works with popular clients (requests, urllib3, httpx, aiohttp) and servers (Flask, FastAPI). You can trace standalone scripts, test suites (pytest, unittest), or interactive Python sessions. The tool groups related requests together—for example, redirects or requests made within test fixtures—and tags them for easier navigation. It requires no configuration to start and has no runtime dependencies beyond Python itself.
Use it for
- Debug unexpected HTTP behavior in a script by running it through pyhttpdbg and inspecting the actual requests and responses in the web UI.
- Trace all HTTP calls made by pip or another module to understand its network activity without modifying the module's code.
- Inspect HTTP requests and responses in your test suite to verify that your code is making the correct API calls.
- Monitor incoming HTTP requests to your Flask or FastAPI server during development to verify endpoint behavior.
- Export HTTP traces as a single HTML file for documentation or sharing debugging sessions with teammates.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
httpdbg is a low-friction development tool with no dependencies, active maintenance, a permissive license, and no known vulnerabilities. It solves a real debugging problem—inspecting HTTP traffic without code changes—and works with common Python HTTP libraries and frameworks. Install it if you regularly debug HTTP-based Python applications.
Install
httpdbg on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained with recent releases and 905 repository stars.
Requires Python 3.9 or later.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install httpdbg
# Run a script with HTTP tracing:
pyhttpdbg --script my_script.py
# Or run tests with tracing:
pyhttpdbg -m pytest tests/
# View requests at http://localhost:4909
Verify before relying
- Whether the tool works with all HTTP client libraries or only the explicitly listed ones (requests, urllib3, httpx, aiohttp).
- Performance impact when tracing large volumes of HTTP traffic.
- Whether the web interface persists requests across Python process restarts in all scenarios.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 34 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 77,551 / month, #14,516 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: httpdbg-2.1.8-py3-none-any.whl
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 › “inspect http traffic python”
- httpdbghttpdbg intercepts and displays HTTP(S) requests made by or received…
- mitmproxymitmproxy is an interactive, SSL/TLS-capable intercepting proxy that…
- selenium-wireExtends Selenium's Python bindings to intercept, inspect, and modify…
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 viztracer · web-pdb · Werkzeug · uvicorn · snakeviz · pook · httpwatcher · gunicorn · mitmproxy