log content type
This commit is contained in:
parent
a6a7488438
commit
97563dec60
@ -348,6 +348,7 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
else:
|
else:
|
||||||
upstream_proxy = await handler.proxy.proxy_url(upstream, None)
|
upstream_proxy = await handler.proxy.proxy_url(upstream, None)
|
||||||
ctype = await handler.proxy.content_type(upstream_proxy)
|
ctype = await handler.proxy.content_type(upstream_proxy)
|
||||||
|
logger.info(upstream_proxy)
|
||||||
data = None
|
data = None
|
||||||
if "mpegurl" in ctype.lower():
|
if "mpegurl" in ctype.lower():
|
||||||
data = await rewrite(upstream, handler.proxy)
|
data = await rewrite(upstream, handler.proxy)
|
||||||
|
Loading…
Reference in New Issue
Block a user