Skip to content

Commit

Permalink
fix: stream request data rather than loading it into memory
Browse files Browse the repository at this point in the history
Change-Id: I47b1791de2a3d21b578604c1ea56f751cdb366ad
Closes-Bug: 1230388
  • Loading branch information
Alejandro Cabrera committed Oct 8, 2013
1 parent 1adba6c commit 66cd5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marconi/proxy/utils/helpers.py
Expand Up @@ -52,7 +52,7 @@ def forward(host, request):
method = request.method.lower()
resp = requests.request(method, url,
headers=canonicalize(request._headers),
data=request.stream.read())
data=request.stream)
return resp


Expand Down

0 comments on commit 66cd5af

Please sign in to comment.