expose matched request uri template

This commit is contained in:
banteg
2017-04-29 02:06:59 +07:00
parent 5f94f65f4f
commit 7754bb995b
4 changed files with 8 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ The following variables are accessible as properties on `Request` objects:
- `host`: The host associated with the request: `localhost:8080`
- `path`: The path of the request: `/posts/1/`
- `query_string`: The query string of the request: `foo=bar` or a blank string `''`
- `uri_template`: Template for matching route handler: `/posts/<id>/`
## Accessing values using `get` and `getlist`