Skip to content
Myr

tmp fix

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 55ee0a0 · Browse files · 1 file+3 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

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:lib/response.js+3 added-2 removed
456 unmodified lines
457 // Respect mount-point458 if ('/' != base && 0 != url.indexOf(base)) url = base + url;459460 // Absolute461 var host = req.headers.host462 , tls = req.secure;461 var host = req.header('Host')462 , tls = false // TODO: req.secure;463464 url = 'http' + (tls ? 's' : '') + '://' + host + url;465 }466467 // Support text/{plain,html} by default
90 unmodified lines