DescriptionAdd redirect support to the HTTP client
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
Committed: https://code.google.com/p/dart/source/detail?r=7415
Patch Set 1 #
Total comments: 28
Patch Set 2 : Addressed review comments #
Messages
Total messages: 4 (0 generated)
|