| Index: sdk/lib/io/http_impl.dart
|
| diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
|
| index 70c6c532f1522667a5897d0999664ddb54472b59..4a8d266a2fb10cbc5186ae5000db40eb0b87cb18 100644
|
| --- a/sdk/lib/io/http_impl.dart
|
| +++ b/sdk/lib/io/http_impl.dart
|
| @@ -1359,6 +1359,11 @@ class _HttpClientResponse
|
| }
|
| }
|
| }
|
| + if (!persistentConnection) {
|
| + throw new RedirectException(
|
| + "Non-persistent connections are currently not supported for "
|
| + "redirects", _connection._redirects);
|
| + }
|
| // Drain body and redirect.
|
| inputStream.onData = inputStream.read;
|
| if (_statusCode == HttpStatus.SEE_OTHER &&
|
|
|