Hacker News new | ask | show | jobs
by bityard 636 days ago
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 actually did programming for a living, I could probably list a lot more.

1 comments

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.
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.

The NIH is strong in this once.