Skip to content

Commit

Permalink
Add remove addr to clone of a request (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
w32blaster authored Feb 25, 2020
1 parent 046aaee commit d76407e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apitest.go
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ func copyHttpRequest(request *http.Request) *http.Request {
ProtoMinor: request.ProtoMinor,
ProtoMajor: request.ProtoMajor,
ContentLength: request.ContentLength,
RemoteAddr: request.RemoteAddr,
}

if request.Body != nil {
Expand Down

0 comments on commit d76407e

Please sign in to comment.