Skip to content

Commit

Permalink
removed whitespace before comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholsteijn committed Dec 28, 2021
1 parent 8d4da60 commit b13a546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (proxy *ProxyHttpServer) filterResponse(respOrig *http.Response, ctx *Proxy
return
}

// RemoveProxyHeaders removes all proxy headers which should not propagate to the next hop
// RemoveProxyHeaders removes all proxy headers which should not propagate to the next hop
func RemoveProxyHeaders(ctx *ProxyCtx, r *http.Request) {
r.RequestURI = "" // this must be reset when serving a request with the client
ctx.Logf("Sending request %v %v", r.Method, r.URL.String())
Expand Down

0 comments on commit b13a546

Please sign in to comment.