diff --git a/dump.go b/dump.go index d1a6290..cabec53 100644 --- a/dump.go +++ b/dump.go @@ -29,6 +29,8 @@ func httpDump(req *http.Request, resp *http.Response) { } fmt.Println(Green("Request:")) fmt.Printf("%s %s %s\n", Blue(req.Method), req.RequestURI, respStatusStr) + fmt.Printf("%s %s\n", Blue("RemoteAddr:"), req.RemoteAddr) + for headerName, headerContext := range req.Header { fmt.Printf("%s: %s\n", Blue(headerName), headerContext) }