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.30.tar.gz (20.7 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.30-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httpdbg-0.0.30.tar.gz
  • Upload date:
  • Size: 20.7 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.30.tar.gz
Algorithm Hash digest
SHA256 2756c61def4fbe86a7702d6d69f74afdd9ef8b8c75c6a9569ea818313d6517c5
MD5 0e36ee0526d2eb496827a2f1242aed25
BLAKE2b-256 127026e53af7458975cb1ec9b9e6469e84ea378368c94281fcaca02bf588dc49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: httpdbg-0.0.30-py3-none-any.whl
  • Upload date:
  • Size: 24.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.30-py3-none-any.whl
Algorithm Hash digest
SHA256 fbaadeb1e44447c3a5e21ff441b61b33a2c5c8e8079c1f8a8f78865f9d834dd6
MD5 5c25b842c80294813d137dbbaaad3adf
BLAKE2b-256 4846e45807d73c6987ab174c0497b84e44c3cfacc1cf842943d2b2dc4d68a260

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