commit | b777bf3100ca752d5f2d0533f053dfda397bda84 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Feb 02 13:44:09 2010 -0800 |
committer | Andreas Huber <andih@google.com> | Tue Feb 02 13:54:57 2010 -0800 |
tree | 10d158a72e04d800767b6339fc5d8a5b9af91a56 | |
parent | 2d65817f17d0bfabac3849892c8a0f959b8dadc1 [diff] |
Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream. related-to-bug: 2403674