mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -05:00
Fixed Content-Length
not being a string
This commit is contained in:
parent
8c5467ce2d
commit
c35cdf9d6f
1 changed files with 1 additions and 1 deletions
|
@ -270,6 +270,6 @@ export function inferHttpRequestBodyHeaders(body: HttpRequestBody): Headers {
|
||||||
undefined;
|
undefined;
|
||||||
|
|
||||||
headers["Content-Type"] = type;
|
headers["Content-Type"] = type;
|
||||||
headers["Content-Length"] = length;
|
headers["Content-Length"] = String(length);
|
||||||
return headers;
|
return headers;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue