1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00

Merge pull request #50 from dair-targ/master

Fixed --verbose flag for newer requests.
This commit is contained in:
Jakub Roztocil 2012-06-13 06:14:12 -07:00
commit f64eb09571

View File

@ -25,7 +25,7 @@ def from_request(request):
headers='\n'.join(str('%s: %s') % (name, value)
for name, value
in request_headers.items()),
body=request._enc_data,
body=request.data,
content_type=request_headers.get('Content-Type')
)