Remove content type for raw requests

pull/5441/head
Chocobozzz 2022-11-15 16:55:57 +01:00
parent 27744d8e56
commit e57a840ede
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -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' ])
}) })