mhdzumair's picture
Fix HLS & HTTPS proxy stream with streaming response and proper headers & Yield raw bytes without handling the decoding
33e2f36
raw
history blame contribute delete
416 Bytes
SUPPORTED_RESPONSE_HEADERS = [
"accept-ranges",
"content-type",
"content-length",
"content-range",
"connection",
"transfer-encoding",
"last-modified",
"etag",
"cache-control",
"expires",
]
SUPPORTED_REQUEST_HEADERS = [
"accept",
"accept-encoding",
"accept-language",
"connection",
"range",
"if-range",
"user-agent",
"referer",
"origin",
]