Skip to content
Myr

Added response hook

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

authored by visionmedia · committed by visionmedia · parent 9f2a5b5 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:lib/express.core.js+1 added
64 unmodified lines
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()69 Express.hook('response')70 response.sendHeader(Express.response.status, Express.hashToArray(Express.response.headers))71 response.sendBody(Express.response.body || '')72 response.finish()73 })
448 unmodified lines