fix(#1436): fixed inconsistent beheviour of res.getHeaders() api

This commit is contained in:
Anoop M D
2024-01-29 19:46:41 +05:30
parent 00e11e3177
commit 4917f24b7c
4 changed files with 8 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ export const sendNetworkRequest = async (item, collection, environment, collecti
data: response.data,
// Note that the Buffer is encoded as a base64 string, because Buffers / TypedArrays are not allowed in the redux store
dataBuffer: response.dataBuffer,
headers: Object.entries(response.headers),
headers: response.headers,
size: response.size,
status: response.status,
statusText: response.statusText,