mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
update modify request body eg
This commit is contained in:
parent
04c45a022c
commit
0378b03e53
@ -42,7 +42,6 @@ var restreamer = function (){
|
||||
next()
|
||||
process.nextTick(function () {
|
||||
rawBody = new Buffer(req.body)
|
||||
console.log('dsfgsdgsdgsdrtwergtsdgf', JSON.stringify(req.body).length)
|
||||
if(req.body) {
|
||||
req.emit('data', JSON.stringify(req.body))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user