From e57a840ede1f0eadec209e58401008f232249300 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 15 Nov 2022 16:55:57 +0100 Subject: [PATCH] Remove content type for raw requests --- shared/server-commands/requests/requests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/server-commands/requests/requests.ts b/shared/server-commands/requests/requests.ts index b247017fd..dc9cf4e01 100644 --- a/shared/server-commands/requests/requests.ts +++ b/shared/server-commands/requests/requests.ts @@ -33,6 +33,7 @@ function makeRawRequest (options: { return makeGetRequest({ url: `${protocol}//${host}`, path: pathname, + contentType: undefined, ...pick(options, [ 'expectedStatus', 'range', 'token', 'query' ]) }) -- 2.41.0