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
0378b03e53
commit
d46e876e27
@ -41,7 +41,6 @@ var restreamer = function (){
|
||||
req.removeAllListeners('end')
|
||||
next()
|
||||
process.nextTick(function () {
|
||||
rawBody = new Buffer(req.body)
|
||||
if(req.body) {
|
||||
req.emit('data', JSON.stringify(req.body))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user