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:4909/ 
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:4909.

note: we only intercept the requests done using requests.

script

You can trace all the HTTP requests performed by a script

pyhttpdbg --script 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.36.tar.gz (21.9 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.36-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for httpdbg-0.0.36.tar.gz
Algorithm Hash digest
SHA256 68806c14432fd474e0d0a2183219f867ee202dfc87f67ac9db74b66bbc2ea01f
MD5 d5ae73ffa0c3e258a4ca6f37fce796d0
BLAKE2b-256 a0f5b80b0c5b2de4255fc53e27440532f23a7a0f7b9534d648e8202007b1db55

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for httpdbg-0.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 68fb2f1a426ec4b46d7858dc14227bdf6ca4c3e5226e3da52032fec3743f1908
MD5 a27d58c66033ed51dfdf8177f2f70e7c
BLAKE2b-256 c8ba5fd3b3297b2d9696bd41a2357e941e7870388d58468d8366f2a2d43f5cce

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