projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077174f
)
Let YoutubeDLHandler (transparent gzip) handle HTTPS URLs as well (Needed for #579)
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 6 Dec 2012 23:39:44 +0000
(
00:39
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 6 Dec 2012 23:39:44 +0000
(
00:39
+0100)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 4dcf18991487d7a180a5d4b903bad4b38b3165db..44f939053adf5fcf6a2ab1ad4cb9c0eac5cedd7a 100644
(file)
--- 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