Get the latest tech news

Tracing HTTP Requests with Go's net/HTTP/httptrace


been in the standard library since Go 1.7 and most Go developers I talk to have never used it. It exposes hooks for the points in an outgoing HTTP request that you usually cannot see from outside the transport: DNS resolution, connection acquisition, TLS handshake, the moment bytes go on the wire, the moment the first response byte comes back.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of HTTP requests

HTTP requests

Photo of httptrace

httptrace

Related news:

News photo

purl: a curl-esque CLI for making HTTP requests that require payment

News photo

How many HTTP requests/second can a Single Machine handle?

News photo

Hurl: Run and test HTTP requests with plain text