Hey, just chiming in—I had a similar issue. For golang how to use forward proxy, I used `http.ProxyFromEnvironment` instead of `http.ProxyURL`. It automatically picks up the proxy settings from environment variables like `HTTP_PROXY`. Might be worth trying if you’re dealing with multiple proxies.
Golang: How to Use Forward Proxy for HTTP Requests? Need Help!
9 Replies, 1154 Views| Messages In This Thread |
|
Golang: How to Use Forward Proxy for HTTP Requests? Need Help! - by - 28-07-2024, 12:05 AM
|
Users browsing this thread: 3 Guest(s)
