Open in app
Home
Notifications
Lists
Stories

Write
Peter Flood
Peter Flood

Home

Nov 3, 2017

Eavesdrop on a Golang http.Client

When debugging http requests I find myself wanting to just see the raw data. I know about httputil.DumpRequest and its partner httputil.DumpResponse, however I’m not keen on them because, by their own admission, their output is not what goes over the wire. The returned representation is an approximation only; some…

Golang

5 min read

Eavesdrop on a Golang http.Client
Eavesdrop on a Golang http.Client
Peter Flood

Peter Flood

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable