Skip to content

Commit

Permalink
Enable redirects to handle 303 responses from Selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf committed Sep 7, 2016
1 parent 43ded89 commit 373f09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 373f09d

Please sign in to comment.