update modify request body eg

This commit is contained in:
dan 2014-10-09 14:33:04 +08:00
parent 0378b03e53
commit d46e876e27

View File

@ -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))
}