Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def proxy():
|
|
40 |
content = str(soup)
|
41 |
|
42 |
|
43 |
-
return Response(
|
44 |
except requests.RequestException as e:
|
45 |
return jsonify({'error': str(e)}), 500
|
46 |
|
|
|
40 |
content = str(soup)
|
41 |
|
42 |
|
43 |
+
return Response(response.headers.get("content-type"), status=response.status_code)
|
44 |
except requests.RequestException as e:
|
45 |
return jsonify({'error': str(e)}), 500
|
46 |
|