-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support http proxy addresses with no scheme
Other implementations (curl and Go) accept HTTPS_PROXY values with no protocol scheme. When the scheme is not present, http:// is assumed. For example 192.168.1.1 is interpreted as http://192.168.1.1 This commit adds support for http proxy addresses without a scheme by retrying the URL parsing mechanisms with http:// prepended.
- Loading branch information
1 parent
c27cd06
commit f5450f5
Showing
2 changed files
with
83 additions
and
12 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