mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
Do not set content-length
This commit is contained in:
parent
4f43398db0
commit
b5438f2ba8
@ -75,8 +75,6 @@ export class HomeServerApi {
|
||||
if (body) {
|
||||
const encoded = encodeBody(body);
|
||||
headers.set("Content-Type", encoded.mimeType);
|
||||
//todo: remove this?
|
||||
headers.set("Content-Length", encoded.length);
|
||||
encodedBody = encoded.body;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user