You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, Thanks for the project, it looks great. but when i running the server with recording and save-headers flags I get the file (response) body object = null : { "statusCode": 200, "headers": { "date": "Wed, 28 Apr 2021 08:53:00 GMT", "content-type": "application/json; charset=utf-8", ... }, "body": null }
if I running the server with recording and without the "save-headers" flag then the file contains correct "body" value.
The text was updated successfully, but these errors were encountered:
i think in recorder.js when this condition data && ext === 'json' is true then
1 - data = JSON.parse(data.toString('utf8'));
2 - data now is Object ==> data instanceof Buffer ? (isString ? data.toString('utf8') : data.toString('base64')) : null
will return null.
hey, Thanks for the project, it looks great. but when i running the server with recording and save-headers flags I get the file (response) body object = null :
{ "statusCode": 200, "headers": { "date": "Wed, 28 Apr 2021 08:53:00 GMT", "content-type": "application/json; charset=utf-8", ... }, "body": null }
if I running the server with recording and without the "save-headers" flag then the file contains correct "body" value.
The text was updated successfully, but these errors were encountered: