Launchpad's archive mirror prober only handles 200 OK responses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
According to lib/lp/
def handleStatus(self, version, status, message):
# According to http://
# apt intentionally handles only '200 OK' responses, so we do the
# same here.
if status == str(httplib.OK):
else:
However, from Ubuntu Jaunty onwards, this is no longer the case as apt now supports redirects (see bug #18645) and some mirrors may decide to take advantage of this "feature", for which ever reasons, and the mirror prober would fail on their mirrors.
Changed in launchpad-registry: | |
status: | New → Triaged |
Changed in launchpad-registry: | |
importance: | Undecided → Low |
tags: | added: mirror |
Upon further inspection of the code, it looks like the archive prober could be adapted to use RedirectAwarePr oberProtocol( ) function.