From: Philipp Hagemeister Date: Thu, 6 Dec 2012 23:39:44 +0000 (+0100) Subject: Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0f8d03f81cb20ba0f2a4358b8111146b589d1c5d;p=youtube-dl Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579) --- diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 4dcf18991..44f939053 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -506,3 +506,6 @@ class YoutubeDLHandler(compat_urllib_request.HTTPHandler): resp = self.addinfourl_wrapper(gz, old_resp.headers, old_resp.url, old_resp.code) resp.msg = old_resp.msg return resp + + https_request = http_request + https_response = http_response