You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
Start using dict comprehensions
This commit is contained in:
@@ -166,7 +166,7 @@ def get_requests_kwargs(args, base_headers=None):
|
||||
'cert': cert,
|
||||
'timeout': args.timeout,
|
||||
'auth': args.auth,
|
||||
'proxies': dict((p.key, p.value) for p in args.proxy),
|
||||
'proxies': {p.key: p.value for p in args.proxy},
|
||||
'files': args.files,
|
||||
'allow_redirects': args.follow,
|
||||
'params': args.params,
|
||||
|
Reference in New Issue
Block a user