Skip to content
Myr

Deep copy request

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

authored by visionmedia · committed by visionmedia · parent 7bd8340 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/request.js+1 added-1 removed
61 unmodified lines
62 * @api private63 */64 65 init: function(request, response) {66 process.mixin(this, request)66 process.mixin(true, this, request)67 response.headers = {}68 this.response = response69 this.url = url.parse(this.url)70 this.url.pathname = exports.normalizePath(this.url.pathname)
204 unmodified lines