Skip to main content

A very simple tool to debug HTTP client requests

Project description

httpdbg

A very simple tool to debug HTTP client requests

installation

pip install httpdbg

usage

interactive console

Open an interactive console with the following command

pyhttpdbg
(venv) dev@host:~/dir$ pyhttpdbg
-- -- -- httpdbg - recorded requests available at http://localhost:5000/ 
Python 3.8.2 (default, Jul 16 2020, 14:00:26) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> 

Perform HTTP requests.

You can inspect the HTTP requests directly in your web browser at http://localhost:5000.

note: we only intercept the requests done using requests.

script

You can trace all the HTTP requests performed by a script

pyhttpdbg filename.py [arg1 --arg2 ...]

pytest

You can trace all the HTTP requests performed during your tests

pyhttpdbg pytest [arg1 --arg2 ...]

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httpdbg-0.0.24.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

httpdbg-0.0.24-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file httpdbg-0.0.24.tar.gz.

File metadata

  • Download URL: httpdbg-0.0.24.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for httpdbg-0.0.24.tar.gz
Algorithm Hash digest
SHA256 fd731f655fa4a49b27166dc7d8dba94d8f6389b969fd3402039934e4f80dd33a
MD5 1e9e5abd5e0a14a04013dfeadcd9adc4
BLAKE2b-256 65334755811e06409501fa8dbf105bfaadc5146241a83418c83063e3f8a35d2f

See more details on using hashes here.

File details

Details for the file httpdbg-0.0.24-py3-none-any.whl.

File metadata

  • Download URL: httpdbg-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for httpdbg-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 3119fccccff48e6404e71e88ebe01a0006de4a195b21128f16cac644c3d6e2a1
MD5 6456d0c74f65af187e04bd65b6556d1d
BLAKE2b-256 3ea2fdd511d385433e7e85a1e58973a16651e64f3f35092f5952159de25b8788

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page