{"repo":"cle-b/httpdbg","free":true,"listed":false,"github":"https://github.com/cle-b/httpdbg","clone":"git clone https://github.com/cle-b/httpdbg.git","description":"A tool for Python developers to easily debug the HTTP(S) client and server requests in a Python program.","language":"Python","stars":905,"topics":["python","requests","debug","http","tools","python-requests","pytest","httpdbg","httpx","aiohttp"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"httpdbg httpdbg is a tool for Python developers to easily debug the HTTP(S) client and server requests in a Python program. To use it, execute your program using the pyhttpdbg command instead of python and that's it. Open a browser to http://localhost:4909 to view the requests: Supports HTTP/1.0 , HTTP/1.1 , and HTTP/2 . Full documentation = https://httpdbg.readthedocs.io/ installation usage By default, both client and server requests are recorded. To record only client requests, use the --only-client command line argument. interactive console Open an interactive console using the command pyhttpdbg . Perform HTTP requests. You can inspect the HTTP requests directly in your web browser at http://localhost:4909. script You can trace all the HTTP requests performed by a script module You can trace all the HTTP requests performed by a library module run as a script using the -m command line argument. For example, you can view which HTTP requests are performed by pip when you install a package. test frameworks You can trace all HTTP requests made during your tests (pytest, unittest). In that case, the requests will be grouped by test, and any requests made within a fixture or the setup/teardown methods will be identified by a tag. HTTP server You can trace all HTTP requests received by your HTTP server. initiators and groups An initiator is the function/method that is at the origin of the HTTP requests. By default, we already support some packages but you can add your own initiato","default_branch":null,"files":null,"tree":[],"storefront":"/r/cle-b","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cle-b/httpdbg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}