On Tuesday, July 25, 2017, Alexander Belopolsky < alexander.belopol...@gmail.com> wrote:
> On Tue, Jul 25, 2017 at 4:18 PM, Nick Timkovich <prometheus...@gmail.com > <javascript:;>> wrote: > .. > > That's because curl is kinda annoying and doesn't follow redirects by > > default: > > > > $ curl -i http://pypi.python.org/pypi/virtualenv/json > > HTTP/1.1 301 Moved Permanently > > ... > > Well, http://pypi.org/.. which is presumably the home of the latest > PyPI returns 403: > > $ curl -i http://pypi.org/pypi/virtualenv/json > HTTP/1.1 403 SSL is required > ... > > This suggests that redirects are considered to be legacy and may not > be supported in the future. Here are the warehouse routes: https://github.com/pypa/warehouse/blob/master/warehouse/routes.py Why do you need an http to https redirect? > _______________________________________________ > Distutils-SIG maillist - Distutils-SIG@python.org <javascript:;> > https://mail.python.org/mailman/listinfo/distutils-sig >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig