1
0
mirror of https://github.com/httpie/cli.git synced 2025-07-07 01:06:06 +02:00

Update --proxy examples to include URLs to work with Requests v2.0.0..

This commit is contained in:
Jakub Roztocil
2013-09-25 22:02:29 +02:00
parent 2e535d8345
commit 81c99886fd
2 changed files with 7 additions and 6 deletions

View File

@ -430,11 +430,12 @@ network.add_argument(
'--proxy',
default=[],
action='append',
metavar='PROTOCOL:HOST',
metavar='PROTOCOL:PROXY_URL',
type=KeyValueArgType(SEP_PROXY),
help="""
String mapping protocol to the URL of the proxy (e.g. http:foo.bar:3128).
You can specify multiple proxies with different protocols.
String mapping protocol to the URL of the proxy
(e.g. http:http://foo.bar:3128). You can specify multiple proxies with
different protocols.
"""
)