Hi,
A few months ago, I shared a tool I built for personal use to easily trace HTTP client requests in any Python app. It links requests to the corresponding Python code and comes with a nice UI.
By easily, I mean: no external dependencies, no setup, no superuser rights, and no code modifications — just do "pip install httpdbg" and then launch your code using the "pyhttpdbg" command. That’s it.
I received a lot of positive feedback — not just here, but also on social media, in podcasts, and beyond. So, thank you!
Since I last introduced httpdbg, I’ve made many improvements — based on both my own needs and suggestions from users. There’s now better support for pytest, unittest, and various UI enhancements to make it more adaptable to different use cases.
I’m sharing it with you again because I’ve finally reached what I consider to be version 1.0.0, thanks to a major new feature:
* The ability to trace incoming HTTP requests.
This feature has been available for about a month now, and I’d love to hear your feedback.
Currently, there's advanced support for Flask and FastAPI, but it can also trace requests received by other HTTP servers.
This new feature started more as a personal challenge than a necessity, but if it turns out to be useful for anyone, I’ll be genuinely happy.
Hope you enjoy discovering (and using ) httpdbg!
cle
github: https://github.com/cle-b/httpdbg
docs: https://httpdbg.readthedocs.io
example of HTTP server traces: https://httpdbg.readthedocs.io/en/latest/pyhttpdbg/#endpoint
first show hn post: https://news.ycombinator.com/item?id=41650905
reply