Opened at 2010-02-21T02:23:18Z
Last modified at 2012-03-31T17:36:31Z
#965 assigned defect
CLI commands should follow HTTP redirects
Reported by: | davidsarah | Owned by: | lebek |
---|---|---|---|
Priority: | major | Milestone: | soon |
Component: | code-frontend-cli | Version: | 1.6.0 |
Keywords: | forward-compatibility http standards easy | Cc: | |
Launchpad Bug: |
Description (last modified by davidsarah)
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 (3)
comment:1 Changed at 2010-06-19T01:04:23Z by zooko
- Milestone changed from 1.7.0 to soon
comment:2 Changed at 2012-03-22T21:04:48Z by davidsarah
- Description modified (diff)
comment:3 Changed at 2012-03-31T17:36:31Z by lebek
- Owner set to lebek
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.