Skip to content
Myr

dont .toLowerCase() twice

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

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent accd618 · Browse files · 1 file+0 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+0 added−1 removed

  • other:+0 added−1 removed

1 file+0 added−1 removed

modified:lib/router/index.js-1 removed
259 unmodified lines
260 * @api private261 */262263Router.prototype.match = function(method, url, i, head){264 method = method.toLowerCase(); 264 var req = { method: method, url: url };265 return this.matchRequest(req, i, head);266};267
28 unmodified lines