| Index: pkg/http/test/utils.dart
|
| diff --git a/pkg/http/test/utils.dart b/pkg/http/test/utils.dart
|
| index 3797bd1b26d02592b2c25b6017a113390795088c..ba516c95886b797ab7f7ff217c7c2a376fffbe4a 100644
|
| --- a/pkg/http/test/utils.dart
|
| +++ b/pkg/http/test/utils.dart
|
| @@ -54,6 +54,14 @@ Future startServer() {
|
| return;
|
| }
|
|
|
| + if (path == '/no-content-length') {
|
| + response.statusCode = 200;
|
| + response.contentLength = -1;
|
| + response.write('body');
|
| + response.close();
|
| + return;
|
| + }
|
| +
|
| new ByteStream(request).toBytes().then((requestBodyBytes) {
|
| var outputEncoding;
|
| var encodingName = request.uri.queryParameters['response-encoding'];
|
|
|