Go net/http request can be traced using net/http/httptrace.
This extension enables tracing, capturing of relevant events
in a ring buffer and introduces a new view, displaying the
buffers contents.
Sometimes it would be quite useful to not only see the request
result headers and body, but also connection handling information.
Especially with HTTPS connections any packet tracer is not
sufficient, so gathering tracing information from within HTTP
client library seems to be the best option.
Go net/http request can be traced using net/http/httptrace.
This extension enables tracing, capturing of relevant events in a ring buffer and introduces a new view, displaying the buffers contents.
Sometimes it would be quite useful to not only see the request result headers and body, but also connection handling information.
Especially with HTTPS connections any packet tracer is not sufficient, so gathering tracing information from within HTTP client library seems to be the best option.