1
0
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:
Vladimir Berkutov 2012-06-02 23:09:43 +04:00
parent 3d11042772
commit 70b3658004

View File

@ -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')
) )