Windows 10; https; HttpRequest

Windows specific forum
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

Windows 10; https; HttpRequest

Post by HanPBF »

Hello,

using HttpRequest, I want to use the system setup script.

When I read the proxy from the content of the setup script, I can set up the HttpProxy(...) but then need user id/password.
This is correct; but I have none and don't need one for example using another development tool.
As I observe, some development tools can use default proxy; for some checking for updates I need to cancel VPN.

When does HttpRequest() use the windows 10 system settings setup script?
In Settings, at "Proxy" You can find "Detect settings automatically", "Use Setup Script".
This is all set up at all our PCs at our site.
This setup script does not use user id/paassword exlicit given.

Any idea?
Thanks a lot in advance
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

Re: Windows 10; https; HttpRequest

Post by HanPBF »

I tried to use ChilkatSoft.

There, I can set up proxy without user/pwd and it works "sometimes".

No idea, why I get an async result sometimes and sometimes not...

I guess it has something to do with server side rate limit.
Waiting "a little time amount" then it works again.
infratec
Always Here
Always Here
Posts: 7616
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Windows 10; https; HttpRequest

Post by infratec »

For HttpProxy(...) user and password are optional.
You don't need them. If they are empty they aren't be used.

See also:
https://curl.se/libcurl/c/CURLOPT_PROXY.html
https://curl.se/libcurl/c/CURLOPT_PROXYUSERPWD.html
https://curl.se/libcurl/c/CURLOPT_PROXYAUTH.html

which is used interal by PB.
Post Reply