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.27.tar.gz (21.0 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.27-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httpdbg-0.0.27.tar.gz
  • Upload date:
  • Size: 21.0 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.27.tar.gz
Algorithm Hash digest
SHA256 240588fe7254c61a782db73f4e48c3571cc22f8cada653b9c003e6d8b5487e3b
MD5 e6226e35566c48d047ac6570b39e70c0
BLAKE2b-256 c609b9b48e88201d3de9bd2fa41ba9de5c10b663922d977db7378af722ec213b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: httpdbg-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.27-py3-none-any.whl
Algorithm Hash digest
SHA256 b95bad776e6d7bbdd618f03aa6c50b6128e8aed6c6d48f560f26735987900fce
MD5 ba743e0c8b7be4dcbe379d868b3e7e6c
BLAKE2b-256 b4ec8a3c82bd332465443ec4dd31dca40bee1cd37d22c7b9a3a8b370a4526a36

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