News for hackers. Stuff that matters.
Re:Show HN: Httpdbg – A tool to trace the HTTP requests sent... by zerocool2750 on Wednesday September 25, 2024 @09:48PM (#41653714)
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

Should be easy enough to extend this to other libraries.

Super cool tool thanks for sharing @dmurray!

There are no comments on this comment yet.