Terminal

Debug Python HTTP Traffic

Capture and inspect HTTP/HTTPS requests from Python applications. Works with requests, httpx, aiohttp, urllib, and any library that respects proxy environment variables.

HTTPS Decryption
Request & Response Inspection
Works with Popular Python Libraries
API Mock & Rewrite
Terminal
$hp shell
$python your_app.py
# Traffic captured → open HTTPeep to inspect

Features

HTTPS Decryption

Automatically intercept and decrypt HTTPS traffic from your terminal commands. Inspect request and response bodies in plain text.

MITMSSLCertificate

Request & Response Inspection

View full HTTP headers, body content, cookies, and timing information for every request made by your scripts and CLI tools.

HeadersBodyTiming

Works with Popular Python Libraries

Compatible with requests, httpx, aiohttp, urllib3, and http.client. No code modifications required.

requestshttpxaiohttpurllib

API Mock & Rewrite

Mock API responses or rewrite request/response data without changing your source code. Perfect for testing edge cases.

MockMap LocalRewrite

Breakpoint Debugging

Pause requests matching specific rules, edit headers or body on the fly, then continue or abort. Like a debugger for HTTP.

BreakpointEditIntercept

Debug API Integrations

Inspect API calls made by your Python backend, data pipeline, or web scraper. Identify bottlenecks, errors, and unexpected responses.

BackendAPIPipeline

Setup Guide

Python

1

Start hp shell

Run hp shell in your terminal. HTTPeep automatically sets HTTP_PROXY and HTTPS_PROXY environment variables for the current session.

$ hp shell
2

Run your Python app

Execute your Python script or application. All HTTP traffic is automatically routed through HTTPeep.

$ python your_app.py
3

Inspect captured traffic

Open the HTTPeep desktop app to browse sessions, filter by domain, and inspect request/response details.

4

Set up rules (optional)

Create rules to mock APIs, rewrite responses, set breakpoints, or override DNS for your debugging workflow.

FAQ

Python

Does Python requests library work with HTTPeep?

Yes. The requests library automatically uses HTTP_PROXY and HTTPS_PROXY environment variables. Just run hp shell before your Python script.

Can I debug async Python code (aiohttp, httpx)?

Yes. Async HTTP libraries like aiohttp and httpx also respect proxy environment variables. HTTPeep handles concurrent connections efficiently.

How do I debug a Flask or Django app making outgoing requests?

Start hp shell in the same terminal session before running your Flask or Django server. Outgoing HTTP requests from the server will be captured.

Start debugging Python HTTP traffic

Free to use. Capture, mock, and debug Python API calls with hp shell.