Browse Source

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

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
0f8d03f81c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      youtube_dl/utils.py

+ 3
- 0
youtube_dl/utils.py View 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

Loading…
Cancel
Save