[utils] Add issue URL in comment for #6457
authorSergey M․ <dstftw@gmail.com>
Sun, 6 Sep 2015 00:23:44 +0000 (06:23 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 6 Sep 2015 00:23:44 +0000 (06:23 +0600)
youtube_dl/utils.py

index 9bc292a39a5a30f5bee6d16c9ff8557eccf7dff0..7cf91ac192f89cf75e6d75869b3ee12976e2ada3 100644 (file)
@@ -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: