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.29.tar.gz
(20.7 kB
view hashes)
Built Distribution
httpdbg-0.0.29-py3-none-any.whl
(24.7 kB
view hashes)