master
TJ Holowaychuk 2014-05-05 08:44:00 -07:00
parent 50ffb86a40
commit 55ebdb522b
1 changed files with 2 additions and 1 deletions

View File

@ -57,10 +57,11 @@
### req.host
Get host(hostname:port) when present. Supports `X-Forwarded-Host`
Get host (hostname:port) when present. Supports `X-Forwarded-Host`
when `app.proxy` is __true__, otherwise `Host` is used.
### req.hostname
Get hostname when present. Supports `X-Forwarded-Host`
when `app.proxy` is __true__, otherwise `Host` is used.