Merge "fix: stream request data rather than loading it into memory"

This commit is contained in:
Jenkins 2013-10-11 16:26:46 +00:00 committed by Gerrit Code Review
commit 2881edcf1c

View File

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