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:
commit
f64eb09571
@ -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')
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user