Jason Law

Fixed bug when bodyBytes is null

... ... @@ -139,7 +139,7 @@ class GetHttpClient {
url: uri,
headers: headers,
bodyBytes: bodyStream,
contentLength: bodyBytes.length,
contentLength: bodyBytes?.length ?? 0,
followRedirects: followRedirects,
maxRedirects: maxRedirects,
decoder: decoder,
... ...