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

No way to explicitly set proxy server used to connect #1

Open
antgel opened this issue Jan 24, 2012 · 1 comment
Open

No way to explicitly set proxy server used to connect #1

antgel opened this issue Jan 24, 2012 · 1 comment

Comments

@antgel
Copy link

antgel commented Jan 24, 2012

As per emails. Perhaps add the tip to the documentation about the environment variable that makes LWP::UserAgent use the existing ("standard") envvars.

Thanks. :)

@robin13
Copy link
Owner

robin13 commented Jan 24, 2012

Agreed - a workaround is to set proxy in your environment variables, and set PERL_LWP_ENV_PROXY to true:
export http_proxy=http://your.proxy:8080
export PERL_LWP_ENV_PROXY=1

Better (and on the ToDo list) would be to implement a proxy attribute which is passed through to the LWP::UserAgent in the Oauth2 client.

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

2 participants