Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove content type for raw requests

Chocobozzze57a840ede1f
diff --git a/shared/server-commands/requests/requests.ts b/shared/server-commands/requests/requests.ts
index b247017fd3..dc9cf4e015 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' ])
})