Changes between Initial Version and Version 2 of Ticket #965
- Timestamp:
- 2012-03-22T21:04:48Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #965
- Property Milestone changed from 1.7.0 to soon
-
Ticket #965 – Description
initial v2 1 1 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. 2 2 3 This is easy to fix, for example by using {{{urllib2}}} as described [http:// diveintopython.org/http_web_services/redirects.html here].3 This is easy to fix, for example by using {{{urllib2}}} as described [http://www.diveintopython.net/http_web_services/redirects.html here].