This commit is contained in:
TJ Holowaychuk 2014-05-05 08:44:00 -07:00
parent 50ffb86a40
commit 55ebdb522b

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.