Merge pull request #13 from channelcat/master

sync from upstream master branch
This commit is contained in:
7 2017-09-09 16:52:13 -07:00 committed by GitHub
commit 125cb17fcb
2 changed files with 3 additions and 2 deletions

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`

View File

@ -81,11 +81,11 @@ LOGGING = {
},
'loggers': {
'sanic': {
'level': 'DEBUG',
'level': 'INFO',
'handlers': ['internal', 'errorStream']
},
'network': {
'level': 'DEBUG',
'level': 'INFO',
'handlers': ['accessStream', 'errorStream']
}
}