Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert scheme before *_proxy variable if needed
- 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.
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters