aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-12-07 00:39:44 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-12-07 00:39:44 +0100
commit0f8d03f81cb20ba0f2a4358b8111146b589d1c5d (patch)
treed0ad7fc296d90fff9c4d7d99ad06577cbf354d45 /youtube_dl/utils.py
parent077174f4ed2578706cf11a2b2ea74ddc309b11db (diff)
Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py3
1 files changed, 3 insertions, 0 deletions
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