Closed sunnyps closed 1 year ago
Some HTTP proxies will respond to requests with 302 redirects, and it seems Package Control's urllib downloader doesn't handle those.
By default urllib uses an HTTPRedirectHandler instance to handle redirects, but it's missing from the list of handlers in urllib_downloader.py setup_opener: https://github.com/wbond/package_control/blob/b9de5ffa545364f05cb94078b0f8b976d67a77f2/package_control/downloaders/urllib_downloader.py#L257
Package Control.sublime-settings.txt
package_control.log
Just noticed that #1502 is essentially the same issue, so feel free to close this.
Some HTTP proxies will respond to requests with 302 redirects, and it seems Package Control's urllib downloader doesn't handle those.
By default urllib uses an HTTPRedirectHandler instance to handle redirects, but it's missing from the list of handlers in urllib_downloader.py setup_opener: https://github.com/wbond/package_control/blob/b9de5ffa545364f05cb94078b0f8b976d67a77f2/package_control/downloaders/urllib_downloader.py#L257
Package Control.sublime-settings.txt
package_control.log