Skip to content

Add basic support for no_proxy environment variable - #838

Merged
untitaker merged 1 commit into
getsentry:masterfrom
xavfernandez:inspect_no_proxy
Sep 28, 2020
Merged

untitaker merged 1 commit into
getsentry:masterfrom
xavfernandez:inspect_no_proxy

Conversation

@xavfernandez

Copy link
Copy Markdown
Contributor

This would match http_proxy/https_proxy support and was actually supported in the old raven-python client.

Given the lack of a standard on no_proxy interpretation (with/without asterisk, with IP CIDR, etc), I went with a first basic implementation that should cover the most frequent usecase.

@untitaker

Copy link
Copy Markdown
Member

Is this for #178? Implementation looks ok, will look tomorrow closer.

I overlooked this but I think we may want some testcases for the lowercase envvar as that's hte one used by curl

@untitaker

Copy link
Copy Markdown
Member

Excellent, thanks!

@untitaker
untitaker merged commit 4d16ef6 into getsentry:master Sep 28, 2020
@xavfernandez

Copy link
Copy Markdown
Contributor Author

Yes, it was for #178 . Thanks for merging :)

@xavfernandez
xavfernandez deleted the inspect_no_proxy branch September 28, 2020 08:26
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

Successfully merging this pull request may close these issues.

2 participants