#965 assigned defect

CLI commands should follow HTTP redirects — at Initial Version

Reported by: davidsarah Owned by:
Priority: major Milestone: soon
Component: code-frontend-cli Version: 1.6.0
Keywords: forward-compatibility http standards easy Cc:
Launchpad Bug:

Description

As mentioned in #958, it is normally the responsibility of an HTTP client to follow redirects, but the CLI commands don't do so. This is because source:src/allmydata/scripts/common_http.py uses Python's httplib directly. Up to now this hasn't mattered because the CLI commands only make HTTP requests that will not redirect. However, if #958 is implemented then any request might redirect.

This is easy to fix, for example by using urllib2 as described here.

Change History (0)

Note: See TracTickets for help on using tickets.