Skip to content
Myr

Misc refactoring

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

authored by visionmedia · committed by visionmedia · parent 0784a51 · Browse files · 3 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

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:lib/express/plugins/body-decoder.js+1 added-1 removed
modified:lib/express/plugins/content-length.js+1 added-1 removed
modified:lib/express/core.js+1 added-1 removed
211 unmodified lines
212 else if (!pendingFiles)213 self.route(request, response)214 }215 if (request.headers['content-type'] &&216 request.headers['content-type'].indexOf('multipart/form-data') !== -1) {216 request.headers['content-type'].includes('multipart/form-data')) {217 var stream = multipart.parse(request),218 pendingFiles = 0219 request.params = { post: {}}220 stream
115 unmodified lines