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

Update utils.py to use urllib3.ProxyManager #129

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

SecPascal
Copy link
Contributor

@SecPascal SecPascal commented Dec 6, 2023

When using ProxyManager instead of Poolmanager the proxy settings will be used when provided in proxy_url. Proxy_url can be retrieved from the environment variables proxy_url = os.environ.get('http_proxy') or os.environ.get('https_proxy')

closes #128

When using ProxyManager instead of Poolmanager the proxy settings will be used when provided in proxy_url. Proxy_url can be retrieved from the environment variables 
proxy_url = os.environ.get('http_proxy') or os.environ.get('https_proxy')
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (64d216a) 91.63% compared to head (5e57bcd) 91.49%.

Files Patch % Lines
aocd/utils.py 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
- Coverage   91.63%   91.49%   -0.15%     
==========================================
  Files          24       24              
  Lines        2653     2656       +3     
  Branches      356      357       +1     
==========================================
- Hits         2431     2430       -1     
- Misses        158      160       +2     
- Partials       64       66       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wimglenn wimglenn merged commit 34d73e3 into wimglenn:main Dec 7, 2023
@SecPascal SecPascal deleted the patch-1 branch December 15, 2023 08:27
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.

Proxy settings not observed.
2 participants