Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,8 @@ async def proxy_url(dest_url: str, request: Request):
|
|
| 24 |
del headers['content-length']
|
| 25 |
if 'host' in headers:
|
| 26 |
del headers['host']
|
|
|
|
|
|
|
| 27 |
|
| 28 |
dest_url = re.sub('/', '://', dest_url, count=1)
|
| 29 |
|
|
|
|
| 24 |
del headers['content-length']
|
| 25 |
if 'host' in headers:
|
| 26 |
del headers['host']
|
| 27 |
+
|
| 28 |
+
headers['User-Agent']='PostmanRuntime/7.43.0'
|
| 29 |
|
| 30 |
dest_url = re.sub('/', '://', dest_url, count=1)
|
| 31 |
|