Index: pkg/http/test/safe_http_server.dart |
diff --git a/pkg/http/test/safe_http_server.dart b/pkg/http/test/safe_http_server.dart |
index 408f08026bb0de6eb831ea117761a573045b6a58..2b388dda4691c397e032ee2de5e96b2c5b0bef11 100644 |
--- a/pkg/http/test/safe_http_server.dart |
+++ b/pkg/http/test/safe_http_server.dart |
@@ -131,7 +131,7 @@ class _HttpResponseWrapper implements HttpResponse { |
List<Cookie> get cookies => _inner.cookies; |
Future<Socket> detachSocket() => _inner.detachSocket(); |
HttpConnectionInfo get connectionInfo => _inner.connectionInfo; |
- void writeBytes(List<int> data) => _inner.writeBytes(data); |
+ void add(List<int> data) => _inner.add(data); |
Future<HttpResponse> consume(Stream<List<int>> stream) => |
_inner.consume(stream); |
Future<HttpResponse> writeStream(Stream<List<int>> stream) => |