Pull requests

#2 Open
Repository
kencochrane kencochrane
Branch
default
Repository
loewis 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.

Comments (2)