diff --git a/debug/http.go b/debug/http.go index 605918f..a0c012a 100644 --- a/debug/http.go +++ b/debug/http.go @@ -30,7 +30,7 @@ func (t *DebugRequestTransport) RoundTrip(req *http.Request) (*http.Response, er } if t.RequestHeader { - a, _ := httputil.DumpRequestOut(req, t.RequestBody) + a, _ := httputil.DumpRequest(req, t.RequestBody) fmt.Fprintf(w, "%s\n\n", string(a)) }