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

adding 'no-proxy' option #79

Closed
lwiechec opened this issue Jul 27, 2012 · 7 comments
Closed

adding 'no-proxy' option #79

lwiechec opened this issue Jul 27, 2012 · 7 comments
Labels
enhancement New feature or enhancement

Comments

@lwiechec
Copy link

would be handy in environments where need proxy and want to use httpie for testing locally created code that is deployed to 'localhost'.

@jkbrzt
Copy link
Member

jkbrzt commented Aug 7, 2012

You can add export NO_PROXY=localhost to your ~/.bash_profile. It's now documented in the README.

@jkbrzt jkbrzt closed this as completed Aug 7, 2012
@lwiechec
Copy link
Author

lwiechec commented Aug 7, 2012

Jakub, big thanks for the update. httpie is really cool, I almost forgot about curl :).

greetings,
Łukasz

@jkbrzt
Copy link
Member

jkbrzt commented Aug 7, 2012

Cheers :)

@COil
Copy link

COil commented Dec 9, 2014

Unfortunately using the NO_PROXY variable does not work is my case. It's the same with curl and wget, I have to use the --no-proxy option to avoid the proxy error message.

@wethinkagile
Copy link

@COil Use ~/.bash_profile instead and don't forget to $ source ~/.bash_profile it. Works on a Mac as well.

@ninjachen
Copy link

Great!! export NO_PROXY=localhost works!!

@lwiechec
Copy link
Author

...and I forgot to thank for adding it - THANKS!

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

No branches or pull requests

5 participants