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

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

Issue 12661003: Fix empty zlib deflate and early close of responses. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/io/http_compression_test.dart
diff --git a/tests/standalone/io/http_compression_test.dart b/tests/standalone/io/http_compression_test.dart
index 364be20b8ed550083a21e42c965917d35df92ba7..629e3dc52685c300f8e86eb03118131e5ddddffd 100644
--- a/tests/standalone/io/http_compression_test.dart
+++ b/tests/standalone/io/http_compression_test.dart
@@ -20,7 +20,7 @@ void testServerCompress() {
var client = new HttpClient();
client.get("localhost", server.port, "/")
.then((request) {
- request.headers.set(HttpHeaders.ACCEPT_ENCODING, "gzip");
+ request.headers.set(HttpHeaders.ACCEPT_ENCODING, "gzip,deflate");
Søren Gjesse 2013/03/13 08:08:22 Also test with other Accept-Encoding headers, like
Anders Johnsen 2013/03/13 08:25:00 Done.
return request.close();
})
.then((response) {

Powered by Google App Engine
This is Rietveld 408576698