rull commited on
Commit
27bd21c
·
verified ·
1 Parent(s): d2d7122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def proxy():
40
  content = str(soup)
41
 
42
 
43
- return Response(jsonify(response.headers), status=response.status_code)
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