0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579)

This commit is contained in:
Philipp Hagemeister 2012-12-07 00:39:44 +01:00
parent 077174f4ed
commit 0f8d03f81c

View file

@ -506,3 +506,6 @@ def http_response(self, req, resp):
resp = self.addinfourl_wrapper(gz, old_resp.headers, old_resp.url, old_resp.code) resp = self.addinfourl_wrapper(gz, old_resp.headers, old_resp.url, old_resp.code)
resp.msg = old_resp.msg resp.msg = old_resp.msg
return resp return resp
https_request = http_request
https_response = http_response