| Index: pkg/http_server/test/utils.dart
|
| diff --git a/pkg/http_server/test/utils.dart b/pkg/http_server/test/utils.dart
|
| index 7a28d8864ed7cba065f69a794123651c21ea58c1..fb8e037c2ba2b3cf2206de249488aa2e0d06eebc 100644
|
| --- a/pkg/http_server/test/utils.dart
|
| +++ b/pkg/http_server/test/utils.dart
|
| @@ -37,6 +37,13 @@ Future<HttpHeaders> getHeaders(int port, String path) {
|
| }
|
|
|
|
|
| +Future<String> getAsString(int port, String path) {
|
| + return new HttpClient().get('localhost', port, path)
|
| + .then((request) => request.close())
|
| + .then((response) => StringDecoder.decode(response));
|
| +}
|
| +
|
| +
|
| const CERTIFICATE = "localhost_cert";
|
|
|
|
|
|
|