Skip to content
Myr

Started core module specs

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

authored by visionmedia · committed by visionmedia · parent 9cc5593 · Browse files · 2 files+31 added−2 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+31 added−2 removed

  • tests:+29 added−0 removed
  • other:+2 added−2 removed

2 files+31 added−2 removed

modified:lib/express.core.js+2 added-2 removed
65 unmodified lines
66 }67 }68 },69 70 FauxMethod : {70 MethodOverride : {71 onRequest : {72 'set HTTP method to _method when present' : function() {73 if (method = Express.param('_method'))74 Express.request.method = method.toUpperCase()
574 unmodified lines
649650 // --- Core Modules651 652 use(Express.BodyDecoder)653 use(Express.FauxMethod)653 use(Express.MethodOverride)654 use(Express.ContentLength)655 use(Express.DefaultContentType)656 use(Express.RedirectHelpers)657
15 unmodified lines
modified:spec/spec.core.js+29 added