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 (using the requests library for example).

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

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 ...]

thanks

httpdbg is based on VCR.py. Thanks to Kevin McCarthy and to all the contributors of VCR.py for this awesome library.

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.20.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.20-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httpdbg-0.0.20.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for httpdbg-0.0.20.tar.gz
Algorithm Hash digest
SHA256 49981c32d3fd87d55ff40729ff9b9060ab096f81d176fa08ad09e96013616053
MD5 4893e960659651c4b91a53cb19369a7a
BLAKE2b-256 fb4bc7a493c2f3ec2dc25b0c4ad3d0b7e9fe80d5026e209148e358fbccec7c67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: httpdbg-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for httpdbg-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d72a6612347528e71a4041988d11c2da2133260f3a173c2138ca5fa92409f340
MD5 29d5a2a3158640be06476230c71c7257
BLAKE2b-256 9410b0e87da169cdae7d748e384d4ada872c133702243713e37d31fff905a2dc

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