diff --git a/src/matrix/net/HomeServerApi.ts b/src/matrix/net/HomeServerApi.ts index cd604388..f7e39544 100644 --- a/src/matrix/net/HomeServerApi.ts +++ b/src/matrix/net/HomeServerApi.ts @@ -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; }