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

Insert scheme before *_proxy variable if needed #2

Merged
merged 1 commit into from
Oct 17, 2016

Conversation

Rob--W
Copy link
Owner

@Rob--W Rob--W commented Oct 16, 2016

Fixes #1

  • wget seems to require fully valid URLs.
  • cURL defaults to a HTTP proxy.
  • Python's urllib falls back to the original request type (scheme).

We decide to insert the original scheme if missing. If the http_proxy environment variable still contains true garbage, then the module still returns garbage.

- wget seems to require fully valid URLs.
- cURL defaults to a HTTP proxy.
- Python's urllib falls back to the original request type (scheme).

We decide to insert the original scheme if missing.
If the http_proxy environment variable still contains true garbage, then
the module still returns garbage.
@Rob--W Rob--W mentioned this pull request Oct 16, 2016
@coveralls
Copy link

coveralls commented Oct 16, 2016

Coverage Status

Coverage increased (+0.07%) to 98.355% when pulling 512d74a on prepend-missing-scheme into d19722b on master.

@stevenvachon
Copy link

Thanks!!

@Rob--W Rob--W merged commit 512d74a into master Oct 17, 2016
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.

None yet

3 participants