forked from mystiq/hydrogen-web
Do not set content-length
This commit is contained in:
parent
4f43398db0
commit
b5438f2ba8
1 changed files with 0 additions and 2 deletions
|
@ -75,8 +75,6 @@ export class HomeServerApi {
|
||||||
if (body) {
|
if (body) {
|
||||||
const encoded = encodeBody(body);
|
const encoded = encodeBody(body);
|
||||||
headers.set("Content-Type", encoded.mimeType);
|
headers.set("Content-Type", encoded.mimeType);
|
||||||
//todo: remove this?
|
|
||||||
headers.set("Content-Length", encoded.length);
|
|
||||||
encodedBody = encoded.body;
|
encodedBody = encoded.body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue