Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: ret.write body data for post/put/delete request
  • Loading branch information
liu chang committed Sep 25, 2023
commit 166eab005f5b1f1fa0a8f174135321655d5b0701
1 change: 1 addition & 0 deletions compat.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ module.exports = function (proxy) {
throw new Error('invalid protocol')
}
ret = agent.request(ureq)
ret.write(JSON.stringify(req.body));
}

return ret
Expand Down