mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
http headers bugfix
This commit is contained in:
parent
6d24242489
commit
5de7b76131
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue