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

Unified Diff: tests/standalone/src/io/HttpClientTest.dart

Issue 10008083: Add HTTP/1.0 support and simplify persistent connections handling (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
Index: tests/standalone/src/io/HttpClientTest.dart
diff --git a/tests/standalone/src/io/HttpClientTest.dart b/tests/standalone/src/io/HttpClientTest.dart
index ddb333eeb228ec8a4f37f7762b39f801208d0c52..c2f90c2cecbe7f428cffdfbed450d7f70abfd020 100644
--- a/tests/standalone/src/io/HttpClientTest.dart
+++ b/tests/standalone/src/io/HttpClientTest.dart
@@ -11,7 +11,6 @@ void testGoogle() {
var conn = client.get('www.google.com', 80, '/');
conn.onRequest = (HttpClientRequest request) {
- request.keepAlive = false;
Anders Johnsen 2012/04/13 09:02:38 Since you have changed keepAlive to be on by defau
Søren Gjesse 2012/04/13 10:58:31 I don't think so. I don't even know why it was her
request.outputStream.close();
};
conn.onResponse = (HttpClientResponse response) {
@@ -33,7 +32,6 @@ void testGoogleUrl() {
var conn = client.getUrl(new Uri.fromString(url));
conn.onRequest = (HttpClientRequest request) {
- request.keepAlive = false;
request.outputStream.close();
};
conn.onResponse = (HttpClientResponse response) {

Powered by Google App Engine
This is Rietveld 408576698