Skip to content
Myr

Fixed post param issue

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 920eab0 · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:examples/chat/app.js+1 added-1 removed
modified:lib/express/core.js+2 added-2 removed
215 unmodified lines
216 if (backlog !== undefined) this.backlog = backlog217 require('http')218 .createServer(function(req, response){219 var request, pendingFiles = 0220 req.body = ''220 req.setBodyEncoding('binary')221 request = new Request(req, response)222 request.body = ''223 function callback(err) {224 if (err)225 request.error(err)226 else if (!pendingFiles)
37 unmodified lines
264 .addListener('complete', callback)265 }266 else267 req268 .addListener('data', function(chunk){ req.body += chunk })268 .addListener('data', function(chunk){ request.body += chunk })269 .addListener('end', callback)270 })271 .listen(this.port, this.host, this.backlog)272 puts('Express started at http://' + this.host + ':' + this.port + '/ in ' + Express.environment + ' mode')
61 unmodified lines