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.14.tar.gz (15.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.14-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: httpdbg-0.0.14.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.3

File hashes

Hashes for httpdbg-0.0.14.tar.gz
Algorithm Hash digest
SHA256 321e6b3594276e045333996aa41657b4339cf40c8278beb7d7b4d5095afd6c64
MD5 e7965d1d7ab94c08d835bb124d75a5e8
BLAKE2b-256 6eca797c6cd083893558cbfce1691aa531ef3a1e23eee772a0573f47824b2cd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: httpdbg-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.3

File hashes

Hashes for httpdbg-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e6d23b20420bd3a988dc7c8ed3097418bc467baad98cb31b28988de278bea6b3
MD5 358b4c83f73c4f90ba0309e39fbf86d3
BLAKE2b-256 9f8da372cce7b0f1babd4ef6db374e51c9cca0f837614846954981fd01588dd2

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