Hey Guys, i have a problem.
I want to use the NewSingleHostReverseProxy Function in Go an forward a request to a second proxy. Here my code ... proxyUrl, _ := url.Parse("http://localhost:8118") remote = parseURL("http://abcd.tld") http.DefaultTransport = &http.Transport{Proxy: http.ProxyURL(proxyUrl)} socksp := httputil.NewSingleHostReverseProxy(remote) socksp.ServeHTTP(w, r) I got only the landing page of the second proxy server (privoxy) and not my target page "abcd.tld". Any ideas ??? Greetings, Daniel -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.