Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(816)

Unified Diff: tests/standalone/io/web_socket_test.dart

Issue 10386024: Add redirect support to the HTTP client (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/http_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/web_socket_test.dart
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart
index 8b9e4be5b5909fdf268e20e8f3bb5150da07edc5..68958ec8df62d444dd14639f67be11302103e9d0 100644
--- a/tests/standalone/io/web_socket_test.dart
+++ b/tests/standalone/io/web_socket_test.dart
@@ -114,6 +114,7 @@ void testNoUpgrade() {
};
HttpClientConnection conn = client.get("127.0.0.1", server.port, "/");
+ conn.followRedirects = false;
WebSocketClientConnection wsconn = new WebSocketClientConnection(conn);
wsconn.onNoUpgrade = (response) {
Expect.equals(HttpStatus.MOVED_PERMANENTLY, response.statusCode);
« no previous file with comments | « tests/standalone/io/http_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698