From f279924bb074376542987d34f22944c7eba43bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6pke?= Date: Sun, 23 Aug 2020 10:59:32 +0200 Subject: [PATCH] added optional encoding parameter to DELETE method --- lib/src/base_client.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/base_client.dart b/lib/src/base_client.dart index 785f116fdc..cf0eb2d5c6 100644 --- a/lib/src/base_client.dart +++ b/lib/src/base_client.dart @@ -42,8 +42,9 @@ abstract class BaseClient implements Client { _sendUnstreamed('PATCH', url, headers, body, encoding); @override - Future delete(url, {Map headers, body}) => - _sendUnstreamed('DELETE', url, headers); + Future delete(url, + {Map headers, body, Encoding encoding}) => + _sendUnstreamed('DELETE', url, headers, body, encoding); @override Future read(url, {Map headers}) async {