redirect always
This commit is contained in:
parent
14871cd8d6
commit
7503bd2357
@ -269,7 +269,6 @@ class MainHandler(tornado.web.RequestHandler):
|
||||
upstream_proxy = await handler.proxy.proxy_url(upstream, None)
|
||||
ctype = await handler.proxy.content_type(upstream_proxy)
|
||||
self.set_header("Content-Type", ctype)
|
||||
if redir:
|
||||
self.redirect(upstream_proxy, status=303)
|
||||
async def get(self):
|
||||
await self.handle_any(True)
|
||||
|
Loading…
Reference in New Issue
Block a user