Spaces:
Running
Running
Commit
·
bd8deb5
1
Parent(s):
7aed617
Update main.py
Browse files
main.py
CHANGED
@@ -55,7 +55,7 @@ def proxy(url):
|
|
55 |
|
56 |
content_type = req.headers['content-type']
|
57 |
|
58 |
-
return Response(req.iter_content(chunk_size=
|
59 |
|
60 |
except requests.exceptions.RequestException as e:
|
61 |
print(f'MY Error: {e}')
|
|
|
55 |
|
56 |
content_type = req.headers['content-type']
|
57 |
|
58 |
+
return Response(req.iter_content(chunk_size=50*1024), content_type=content_type, headers={"Content-Length": "99999999"})
|
59 |
|
60 |
except requests.exceptions.RequestException as e:
|
61 |
print(f'MY Error: {e}')
|