Merge pull request #935 from iad42/patch-1

Added information on request.token
This commit is contained in:
Raphael Deem 2017-09-08 20:49:01 -07:00 committed by GitHub
commit 4fd68f9af3

View File

@ -97,6 +97,7 @@ The following variables are accessible as properties on `Request` objects:
- `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>/`
- `token`: The value of Authorization header: `Basic YWRtaW46YWRtaW4=`
## Accessing values using `get` and `getlist`