Skip to content

Commit

Permalink
Merge pull request #125 from greglittlefield-wf/enable_redirects
Browse files Browse the repository at this point in the history
Enable redirects to handle 303 responses from Selenium
  • Loading branch information
DrMarcII authored Sep 7, 2016
2 parents 43ded89 + 373f09d commit 26aca8c
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 26aca8c

Please sign in to comment.