mirror of
https://github.com/httpie/cli.git
synced 2025-02-13 13:18:45 +02:00
--verbose flag was not working. Here is bugfix.
This commit is contained in:
parent
3d11042772
commit
70b3658004
@ -25,7 +25,7 @@ def from_request(request):
|
|||||||
headers='\n'.join(str('%s: %s') % (name, value)
|
headers='\n'.join(str('%s: %s') % (name, value)
|
||||||
for name, value
|
for name, value
|
||||||
in request_headers.items()),
|
in request_headers.items()),
|
||||||
body=request._enc_data,
|
body=request.data,
|
||||||
content_type=request_headers.get('Content-Type')
|
content_type=request_headers.get('Content-Type')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user