We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b9f76 commit 8d11577Copy full SHA for 8d11577
utils/XhrNetworkInterceptor.js
@@ -48,7 +48,7 @@ const XHRInterceptor = {
48
if (network.requestHeaders === '') {
49
network.requestHeaders = {};
50
}
51
- network.requestHeaders[header] = value;
+ network.requestHeaders[header] = typeof value === 'string' ? value : JSON.stringify(value);
52
originalXHRSetRequestHeader.apply(this, arguments);
53
};
54
0 commit comments