From 27edc6e83554abf5464735f13e2b11270eae8ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=C3=A1nh=20Ho=C3=A0ng?= Date: Sat, 2 Nov 2024 08:53:04 +0700 Subject: [PATCH] Add accept-encoding for event request --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 5b311cb..39a0386 100644 --- a/src/index.ts +++ b/src/index.ts @@ -178,6 +178,7 @@ export class BaselimeLogger { method: "POST", headers: { "Content-Type": "application/json", + "Accept-Encoding": "gzip, br", "x-api-key": this.apiKey, "x-service": this.service, "x-namespace": this.namespace,