Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for system proxy in FileGetContents client #397

Open
pimterry opened this issue May 21, 2019 · 0 comments
Open

Add support for system proxy in FileGetContents client #397

pimterry opened this issue May 21, 2019 · 0 comments

Comments

@pimterry
Copy link

Buzz supports proxies when specified explicitly, but generally doesn't use the system-wide default proxy settings (from the http_proxy/HTTP_PROXY environment variables). The curl client does, because curl has this behaviour built-in, but FileGetContents does not because it doesn't.

Most other HTTP libraries and tools (for PHP and elsewhere) support this, and it was mentioned a few years ago when proxy support was originally added, but it looks like that was never implemented: #58 (comment)

I'd find it very useful if FileGetContents automatically detected and used the system proxy settings, so the standard example Buzz code worked out of the box on systems with a proxy configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant