]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579)
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 6 Dec 2012 23:39:44 +0000 (00:39 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 6 Dec 2012 23:39:44 +0000 (00:39 +0100)
youtube_dl/utils.py

index 4dcf18991487d7a180a5d4b903bad4b38b3165db..44f939053adf5fcf6a2ab1ad4cb9c0eac5cedd7a 100644 (file)
@@ -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