1. Martin von Löwis
  2. pypi-appengine

Pull requests

#2 Open
Repository
kencochrane
Branch
default
Repository
loewis
Branch
default

Change pypi mirror connection to HTTPS

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/kencochrane/pypi-appengine
Author
  1. ken cochrane
Reviewers
Description

When pypi switched to https it broke the transfer_file() function because it was causing 301 responses, which didn't match the 204 expected. I added a new variable SECURE_MIRROR which when set attempts to connect to the mirror over HTTPS instead of HTTP which solves the 301 issue.

  • Learn about pull requests

Comments (2)

  1. ken cochrane author

    @loewis Just checking to see if you had a chance to review this fix yet. This should fix the issue with b.pypi.python.org, Once it gets merged we should be able to update GAE and get that mirror back up in sync.