diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-15 16:55:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-15 16:55:57 +0100 |
commit | e57a840ede1f0eadec209e58401008f232249300 (patch) | |
tree | 6392deb12b3dacf528487cec0d77fbbce9556348 /shared/server-commands/requests | |
parent | 27744d8e563aea995f7911330c63add85ed31ca4 (diff) | |
download | PeerTube-e57a840ede1f0eadec209e58401008f232249300.tar.gz PeerTube-e57a840ede1f0eadec209e58401008f232249300.tar.zst PeerTube-e57a840ede1f0eadec209e58401008f232249300.zip |
Remove content type for raw requests
Diffstat (limited to 'shared/server-commands/requests')
-rw-r--r-- | shared/server-commands/requests/requests.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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: { | |||
33 | return makeGetRequest({ | 33 | return makeGetRequest({ |
34 | url: `${protocol}//${host}`, | 34 | url: `${protocol}//${host}`, |
35 | path: pathname, | 35 | path: pathname, |
36 | contentType: undefined, | ||
36 | 37 | ||
37 | ...pick(options, [ 'expectedStatus', 'range', 'token', 'query' ]) | 38 | ...pick(options, [ 'expectedStatus', 'range', 'token', 'query' ]) |
38 | }) | 39 | }) |