mirror of https://github.com/Chocobozzz/PeerTube
Remove content type for raw requests
parent
27744d8e56
commit
e57a840ede
|
@ -33,6 +33,7 @@ function makeRawRequest (options: {
|
||||||
return makeGetRequest({
|
return makeGetRequest({
|
||||||
url: `${protocol}//${host}`,
|
url: `${protocol}//${host}`,
|
||||||
path: pathname,
|
path: pathname,
|
||||||
|
contentType: undefined,
|
||||||
|
|
||||||
...pick(options, [ 'expectedStatus', 'range', 'token', 'query' ])
|
...pick(options, [ 'expectedStatus', 'range', 'token', 'query' ])
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue