diff --git a/lib/io.dart b/lib/io.dart index af3bc4ad..ba37a298 100644 --- a/lib/io.dart +++ b/lib/io.dart @@ -116,7 +116,7 @@ class IOCommandProcessor implements CommandProcessor { } void _setUpRequest(HttpClientRequest request) { - request.followRedirects = false; + request.followRedirects = true; request.headers.add(HttpHeaders.ACCEPT, "application/json"); request.headers.add(HttpHeaders.ACCEPT_CHARSET, UTF8.name); request.headers.add(HttpHeaders.CACHE_CONTROL, "no-cache");