3 ms·
this is very useful, but why can it only work with python code? At which level does it intercept the http traffic? do I have to use specific http library?
by billconan 2y ago
this is very useful, but why can it only work with python code? At which level does it intercept the http traffic?
do I have to use specific http library?
- tredre3 2y agoIt seems to intercept calls for some popular http client libs: https://github.com/cle-b/httpdbg/tree/main/httpdbg/hooks https://github.com/cle-b/httpdbg/tree/main/httpdbg/hooks
- cle-b 2y agoIt works only with Python code because it intercepts HTTP requests by hooking into certain Python functions. It supports any HTTP library based on Python’s standard socket library. Specifically, it works with libraries like requests, httpx, aiohttp, and urllib3, as well as pytest, providing more detailed information about the initiator of the requests.