3 ms·
Went spelunking through the source. I think you absolutely could! There's actually not a whole lot I found that's really http-library specific. It uses the tra
by zerocool2750 2y ago
Went spelunking through the source. I think you absolutely could!
There's actually not a whole lot I found that's really http-library specific. It uses the traceback module in a decorator that ends up being manually wrapped around all of the functions of the specific libraries the author cared about.
https://github.com/cle-b/httpdbg/blob/main/httpdbg/hooks https://github.com/cle-b/httpdbg/blob/main/httpdbg/hooks
Should be easy enough to extend this to other libraries.
Super cool tool thanks for sharing @dmurray!