Skip to content

Commit 9f1820d

Browse files
committed
Add proxy usage
1 parent 24eaef0 commit 9f1820d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,29 @@ Here's a small demo of the **Dumper** tool:
9696

9797
[![asciicast](https://asciinema.org/a/24072.png)](https://asciinema.org/a/24072)
9898

99+
## Proxy support
100+
101+
The `urllib` and `curl` should support proxy configuration through environment variables:
102+
103+
In bash, set:
104+
105+
```
106+
export HTTP_PROXY=http://proxy_url:proxy_port
107+
export HTTPS_PROXY=http://proxy_url:proxy_port
108+
```
109+
110+
In Window's CMD, use:
111+
112+
```
113+
set HTTP_PROXY=http://proxy_url:proxy_port
114+
set HTTPS_PROXY=http://proxy_url:proxy_port
115+
```
116+
117+
Basic auth should be supported with:
118+
119+
```
120+
http://username:password@proxy_url:proxy_port
121+
```
99122

100123
## Requirements
101124
* git

0 commit comments

Comments
 (0)