@app.route('/<path:url>')
def root(url):
    req = requests.get(('http://%s' % url), stream=True)
    return Response(stream_with_context(req.iter_content()), content_type=req.headers['content-type'])
@app.route('/<path:url>')
def root(url):
    req = requests.get(('http://%s' % url), stream=True)
    return Response(stream_with_context(req.iter_content()), content_type=req.headers['content-type'])