http headers bugfix

This commit is contained in:
julian 2023-09-08 15:06:50 -06:00
parent 6d24242489
commit 5de7b76131

View file

@ -41,7 +41,6 @@ class HTTP {
url, url,
); );
request.headers.clear();
if (headers != null) { if (headers != null) {
headers.forEach((key, value) => request.headers.add); headers.forEach((key, value) => request.headers.add);
} }
@ -87,8 +86,6 @@ class HTTP {
url, url,
); );
request.headers.clear();
if (headers != null) { if (headers != null) {
headers.forEach((key, value) => request.headers.add); headers.forEach((key, value) => request.headers.add);
} }