Earlier quoted context omitted.
I'm still not understanding. If you're coding something up, why wouldn't you know that piece of code does a HTTP/s request? Based on what you said, it sounds like a scenario where a programmer doesn't know how a request was made. Are there examples of scenarios where that's the case? Sounds like a bit of a security nightmare where there's code doing arbitrary requests.
Maybe you are working with an application or library that you didn't write, and want to see the raw requests and responses it generates without reading the entirety of the source code. Maybe you are generating HTTP requests through an API and need to see which headers it sets by default, or which headers are or are not getting set due to a misconfiguration or bug. There are probably loads more use cases, and if I act…
Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
21–30 of 62 posts
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#22Earlier quoted context omitted.
Unlike other tools such as proxies that allow you to trace HTTP requests, httpdbg makes it possible to link the HTTP request to the Python code that initiated it. This is why it is specific to Python and does not work with other languages.
I'm still not understanding. If you're coding something up, why wouldn't you know that piece of code does a HTTP/s request? Based on what you said, it sounds like a scenario where a programmer doesn't know how a request was made. Are there examples of scenarios where that's the case? Sounds like a bit of a security nightmare where there's code doing arbitrary requests.
Because tracing all side-effects in a huge codebase with a lot of libraries and layers can be a daunting task.
Update: if you haven't worked with 20 year old >1m LOC codebase which went through many different teams and doesn't have any documentation whatsoever, you may lack necessary perspective to see value tools like this.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#23Earlier quoted context omitted.
Unlike other tools such as proxies that allow you to trace HTTP requests, httpdbg makes it possible to link the HTTP request to the Python code that initiated it. This is why it is specific to Python and does not work with other languages.
I'm still not understanding. If you're coding something up, why wouldn't you know that piece of code does a HTTP/s request? Based on what you said, it sounds like a scenario where a programmer doesn't know how a request was made. Are there examples of scenarios where that's the case? Sounds like a bit of a security nightmare where there's code doing arbitrary requests.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#24Earlier quoted context omitted.
Maybe you are working with an application or library that you didn't write, and want to see the raw requests and responses it generates without reading the entirety of the source code. Maybe you are generating HTTP requests through an API and need to see which headers it sets by default, or which headers are or are not getting set due to a misconfiguration or bug. There are probably loads more use cases, and if I act…
The 3rd party library stuff makes sense, to an extent. But then you're debugging a 3rd party library.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#25Earlier quoted context omitted.
I'm still not understanding. If you're coding something up, why wouldn't you know that piece of code does a HTTP/s request? Based on what you said, it sounds like a scenario where a programmer doesn't know how a request was made. Are there examples of scenarios where that's the case? Sounds like a bit of a security nightmare where there's code doing arbitrary requests.
> If you're coding something up, why wouldn't you know that piece of code does a HTTP/s request? Because tracing all side-effects in a huge codebase with a lot of libraries and layers can be a daunting task. Update: if you haven't worked with 20 year old >1m LOC codebase which went through many different teams and doesn't have any documentation whatsoever, you may lack necessary perspective to see value tools like th…
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#26Earlier quoted context omitted.
I'm still not understanding. If you're coding something up, why wouldn't you know that piece of code does a HTTP/s request? Based on what you said, it sounds like a scenario where a programmer doesn't know how a request was made. Are there examples of scenarios where that's the case? Sounds like a bit of a security nightmare where there's code doing arbitrary requests.
Here's a concrete scenario for you: Say you are in a team of 10 developers with a huge codebase that has accumulated over 5+ years. If you're new in the team, and you need to understand when a specific HTTP header is sent, or just snoop the value in the payload you otherwise wouldn't be able to see.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#27This is great - It would be good to be be able to have django debug toolbar integration, that way I could see which requests were made to backend APIs without leaving Django. Having tried MITMProxy something like httpdbg is definitely needed.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#28Earlier quoted context omitted.
The 3rd party library stuff makes sense, to an extent. But then you're debugging a 3rd party library.
If a 3rd party library you depend on has bugs, you have bugs. And you need to either submit a patch to the library or find a workaround.
libcurl is used on billions of devices across the world and has plenty of debugging capabilities.
MITM proxy works across all languages.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#29A neutral middle-man that gives exact timing/response data.
Re: Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
#30Earlier quoted context omitted.
If a 3rd party library you depend on has bugs, you have bugs. And you need to either submit a patch to the library or find a workaround.
Or just not use arbitrary 3rd party stuff hoping it works :) libcurl is used on billions of devices across the world and has plenty of debugging capabilities. MITM proxy works across all languages.