Skip to content
Myr

refactored res.redirect()

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 fae1ba9 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/response.js+1 added-1 removed
345 unmodified lines
346 }347348 // Absolute349 var host = req.headers.host350 , tls = req.connection.constructor.name == 'CleartextStream';350 , tls = req.connection.encrypted;351 url = 'http' + (tls ? 's' : '') + '://' + host + url;352 }353 354
50 unmodified lines