surf icon indicating copy to clipboard operation
surf copied to clipboard

Surf - Sending request via proxy

Open ricardorego opened this issue 6 years ago • 3 comments

Hi, is there a roadmap for Surf to support Proxies? (sending request via proxy) Best

ricardorego avatar Feb 25 '18 22:02 ricardorego

You can use bow.SetTransport (link), look at my pull request, or this example https://github.com/shavit/surf/commit/0c66b3812d11ec568d753e0515c7fdc459791652#diff-fc939672748c63d9d3c671163467f8e5R556

shavit avatar Feb 26 '18 12:02 shavit

For me, var _ = os.Setenv("HTTP_PROXY", "http://127.0.0.1:1087") works.

AurevoirXavier avatar May 20 '19 18:05 AurevoirXavier

For me, var _ = os.Setenv("HTTP_PROXY", "http://127.0.0.1:1087") works.

Hello. I am a beginner programmer. Please write a short example of working with PROXY. I can't write a working code. I have tried different options.

sdima75 avatar Aug 27 '20 12:08 sdima75