Merge "fix: stream request data rather than loading it into memory"
This commit is contained in:
commit
2881edcf1c
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user