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 b81733c commit 5f52967Copy full SHA for 5f52967
examples/cascadeproxy/main.go
@@ -35,6 +35,7 @@ func main() {
35
// Start middle proxy server
36
middleProxy := goproxy.NewProxyHttpServer()
37
middleProxy.Verbose = true
38
+ middleProxy.KeepHeader = true
39
middleProxy.Tr.Proxy = func(req *http.Request) (*url.URL, error) {
40
// Here we specify the proxy URL of the other server.
41
// If it was a socks5 proxy, we would have used an url like
0 commit comments