6e1f264b8a
Redirection is implemented by re-using the same HttpClientConnection object for several request/response pairs. There is s redirect method on the HttpClientConnection object for manual redirection. The HttpClientConnection object also has properties followRedirects and maxRedirects to configure automatic redirect handling. When redirection happen the HttpClientConnection will collect the redirection history for client einspection and for redirect loop detection. R=ajohnsen@google.com, ager@google.com BUG=none TEST=tests/standalone/io/http_redirect_test.dart Review URL: https://chromiumcodereview.appspot.com//10386024 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7415 260f80e4-7a28-3924-810f-c04153c831b5