We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231ca0e commit e11af35Copy full SHA for e11af35
middleware.go
@@ -375,7 +375,7 @@ func responseLogger(c *Client, res *Response) error {
375
debugLog := res.Request.values[debugRequestLogKey].(string)
376
debugLog += "~~~ RESPONSE ~~~\n" +
377
fmt.Sprintf("STATUS : %s\n", res.Status()) +
378
- fmt.Sprintf("PROTO : %s\n", res.RawResponse.Proto) +
+ fmt.Sprintf("PROTO : %s\n", res.Proto()) +
379
fmt.Sprintf("RECEIVED AT : %v\n", res.ReceivedAt().Format(time.RFC3339Nano)) +
380
fmt.Sprintf("TIME DURATION: %v\n", res.Time()) +
381
"HEADERS :\n" +
0 commit comments