1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Fix --offline --multipart, add more tests

This commit is contained in:
Jakub Roztocil
2020-09-28 16:22:34 +02:00
parent 75f1e02215
commit 32d8b481e9
6 changed files with 78 additions and 9 deletions

View File

@@ -283,7 +283,8 @@ def make_request_kwargs(
body=data,
body_read_callback=request_body_read_callback,
chunked=args.chunked,
content_length_header_value=headers.get('Content-Length')
offline=args.offline,
content_length_header_value=headers.get('Content-Length'),
),
'auth': args.auth,
'params': args.params.items(),