pypa / bandersnatch

A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/
Academic Free License v3.0
448 stars 141 forks source link

Add config/CLI arg to override https:// check for local mirrors (development) #1759

Closed miketheman closed 3 months ago

miketheman commented 3 months ago

When attempting to run a banderstnatch mirror against a locally-running index on port 80, a an exception is raised. https://github.com/pypa/bandersnatch/blob/131438f40536c83c5074af90e2e337dfdadffebb/src/bandersnatch/master.py#L50-L53

Feature: Add a configuration parameter or CLI argument to skip the https:// check and allow insecure targets.