Skip to content

Commit

Permalink
not neccessary to remove req.RequestURI if RoundTrip is used
Browse files Browse the repository at this point in the history
  • Loading branch information
darren committed Feb 2, 2019
1 parent 0567dae commit 55353e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ func (s *Server) handleHTTP(w http.ResponseWriter, req *http.Request) {
return
}

req.RequestURI = ""

for _, proxy := range proxies {
resp, err := proxy.Transport().RoundTrip(req)
perr = err
Expand Down

0 comments on commit 55353e1

Please sign in to comment.