Merge pull request #280 from dead-horse/docs

add originalUrl in docs
This commit is contained in:
TJ Holowaychuk 2014-05-05 19:36:20 -07:00
commit caf6d177a2
2 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,7 @@ throw err;
- `ctx.method=`
- `ctx.url`
- `ctx.url=`
- `ctx.originalUrl`
- `ctx.path`
- `ctx.path=`
- `ctx.query`

View File

@ -31,6 +31,10 @@
Set request URL, useful for url rewrites.
### req.originalUrl
Get request original URL.
### req.path
Get request pathname.