diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-06 06:23:44 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-06 06:23:44 +0600 |
commit | ad7291727499590a9449b1e3ba3d7a33b733ddd0 (patch) | |
tree | d906b51b97dd2f3a33c893c0eb135d4d3031e294 /youtube_dl/utils.py | |
parent | 6a3f4c3f829eaff87caacf162ae4fc60045bd059 (diff) |
[utils] Add issue URL in comment for #6457
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9bc292a39..7cf91ac19 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -748,7 +748,8 @@ class YoutubeDLHandler(compat_urllib_request.HTTPHandler): gz = io.BytesIO(self.deflate(resp.read())) resp = self.addinfourl_wrapper(gz, old_resp.headers, old_resp.url, old_resp.code) resp.msg = old_resp.msg - # Percent-encode redirect URL of Location HTTP header to satisfy RFC 3986 + # Percent-encode redirect URL of Location HTTP header to satisfy RFC 3986 (see + # https://github.com/rg3/youtube-dl/issues/6457). if 300 <= resp.code < 400: location = resp.headers.get('Location') if location: |