From 97563dec60a34510ab94d0cf412908463e8696e3 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Sat, 15 May 2021 09:30:15 +0200 Subject: [PATCH] log content type --- stream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stream.py b/stream.py index d81e10b..b6e794c 100755 --- a/stream.py +++ b/stream.py @@ -348,6 +348,7 @@ class MainHandler(tornado.web.RequestHandler): else: upstream_proxy = await handler.proxy.proxy_url(upstream, None) ctype = await handler.proxy.content_type(upstream_proxy) + logger.info(upstream_proxy) data = None if "mpegurl" in ctype.lower(): data = await rewrite(upstream, handler.proxy)