From 694185e9265b0c07afc06e2a2f7eb6b98795f58a Mon Sep 17 00:00:00 2001 From: tbnritzdoge Date: Sun, 11 Apr 2021 20:07:13 -0400 Subject: [PATCH] fix: remove pointless thing --- src/lib/PetitioResponse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/PetitioResponse.ts b/src/lib/PetitioResponse.ts index 00477b1..66f8339 100644 --- a/src/lib/PetitioResponse.ts +++ b/src/lib/PetitioResponse.ts @@ -29,7 +29,7 @@ export class PetitioResponse { * @return {*} In place operation with no return. */ public _addBody(chunk: Buffer[] | Uint8Array[]) { - this.body = Buffer.concat(chunk, this.headers["content-length"]); + this.body = Buffer.concat(chunk); } /**