Merge pull request #13 from channelcat/master
sync from upstream master branch
This commit is contained in:
commit
125cb17fcb
|
@ -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`
|
||||
|
|
|
@ -81,11 +81,11 @@ LOGGING = {
|
|||
},
|
||||
'loggers': {
|
||||
'sanic': {
|
||||
'level': 'DEBUG',
|
||||
'level': 'INFO',
|
||||
'handlers': ['internal', 'errorStream']
|
||||
},
|
||||
'network': {
|
||||
'level': 'DEBUG',
|
||||
'level': 'INFO',
|
||||
'handlers': ['accessStream', 'errorStream']
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user