Skip to content
Myr

url -> uri

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

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

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:lib/express.core.js+5 added-5 removed
298 unmodified lines
299 return JSON.parse(string)300 },301 302 /**303 * Redirect to _url_.303 * Redirect to _uri_.304 *305 * @param {string} url305 * @param {string} uri306 * @api public307 */308 309 redirect : function(url) {310 this.header('Location', url)311 this.respond("Page or file has moved to `" + url + "'", 'Moved Temporarily')309 redirect : function(uri) {310 this.header('Location', uri)311 this.respond("Page or file has moved to `" + uri + "'", 'Moved Temporarily')312 },313 314 /**315 * Set response status to _value_. Where value may be
388 unmodified lines