Index: test/client_websites_test.dart |
diff --git a/test/client_websites_test.dart b/test/client_websites_test.dart |
index c8ca6d616f59682dca600500a78d1b8308c95821..bed148b88fa13fa3560b920c3cb128379ccde2bd 100644 |
--- a/test/client_websites_test.dart |
+++ b/test/client_websites_test.dart |
@@ -124,6 +124,8 @@ Future<String> readBody(Response response) async { |
var stream = response.stream; |
if (response.headers['content-encoding']?.join('') == 'gzip') { |
stream = stream.transform(GZIP.decoder); |
+ } else if (response.headers['content-encoding']?.join('') == 'deflate') { |
Søren Gjesse
2016/01/11 14:26:35
Separate change from what is in the description?
kustermann
2016/01/11 15:08:33
There is a test for twitter.com in this file, and
|
+ stream = stream.transform(ZLIB.decoder); |
} |
return await stream.transform(UTF8.decoder).join(''); |
} |