caused the error. Now I'm getting a response, but I don't really know what to do with it. It looks like:
Code:
Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 200,
timingInfo: {
startTime: 55.555555555, // changed by me
redirectStartTime: 0,
redirectEndTime: 0,
postRedirectStartTime: 55.5555555, // changed by me
finalServiceWorkerStartTime: 0,
finalNetworkResponseStartTime: 0,
finalNetworkRequestStartTime: 0,
endTime: 0,
encodedBodySize: 20,
decodedBodySize: 0,
finalConnectionTimingInfo: null
},
cacheState: '',
statusText: 'OK',
headersList: HeadersList {
[Symbol(headers map)]: [Map],
[Symbol(headers map sorted)]: null
},
urlList: [ [URL] ],
body: { stream: undefined }
},
[Symbol(headers)]: HeadersList {
[Symbol(headers map)]: Map(15) {
'server' => 'nginx',
'date' => 'Sat, 21 Jan 2023 09:13:00 GMT',
'content-type' => 'text/html; charset=UTF-8',
'transfer-encoding' => 'chunked',
'connection' => 'keep-alive',
'vary' => 'Accept-Encoding',
'set-cookie' => 'XX-XXXXXXXXXXXXXXX=478rhfeuk898484uoedj8334; path=/; secure; HttpOnly', // changed by me
'expires' => 'Thu, 19 Nov 1981 08:52:00 GMT',
'cache-control' => 'no-store, no-cache, must-revalidate',
'pragma' => 'no-cache',
'access-control-allow-origin' => '*',
'x-xss-protection' => '1; mode=block',
'referrer-policy' => 'strict-origin-when-cross-origin',
'strict-transport-security' => 'max-age=63072000; includeSubDomains; preload',
'content-encoding' => 'gzip'
},
[Symbol(headers map sorted)]: null
}
}