Skip to content
Myr

Docs

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

authored by visionmedia · committed by visionmedia · parent 72f4b54 · Browse files · 1 file+5 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+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:lib/express.core.js+5 added-1 removed
27 unmodified lines
28 },29 30 hookCallbacks : {31 request : [32 33 // Headers hash34 35 function (request, response) {36 Express.request = request37 request.headers = Express.arrayToHash(request.headers)38 },39 40 // Cookie parsing41 42 function (request, response) {43 Express.response.cookie = request.cookie = Express.parseCookie(request.headers['Cookie'])44 }45 ]
15 unmodified lines
61 62 start : function(port) {63 this.server.listen(port || 3000, function(request, response){64 Express.hook('request', request, response)60 65 request.uri.params = Express.parseNestedParams(request.uri.params)66 request.uri.path = Express.normalizePath(request.uri.path)67 Express.response.body = Express.callRouteFor(request)68 Express.prepareCookie()
452 unmodified lines