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/`
|
- `path`: The path of the request: `/posts/1/`
|
||||||
- `query_string`: The query string of the request: `foo=bar` or a blank string `''`
|
- `query_string`: The query string of the request: `foo=bar` or a blank string `''`
|
||||||
- `uri_template`: Template for matching route handler: `/posts/<id>/`
|
- `uri_template`: Template for matching route handler: `/posts/<id>/`
|
||||||
|
- `token`: The value of Authorization header: `Basic YWRtaW46YWRtaW4=`
|
||||||
|
|
||||||
|
|
||||||
## Accessing values using `get` and `getlist`
|
## Accessing values using `get` and `getlist`
|
||||||
|
|
|
@ -81,11 +81,11 @@ LOGGING = {
|
||||||
},
|
},
|
||||||
'loggers': {
|
'loggers': {
|
||||||
'sanic': {
|
'sanic': {
|
||||||
'level': 'DEBUG',
|
'level': 'INFO',
|
||||||
'handlers': ['internal', 'errorStream']
|
'handlers': ['internal', 'errorStream']
|
||||||
},
|
},
|
||||||
'network': {
|
'network': {
|
||||||
'level': 'DEBUG',
|
'level': 'INFO',
|
||||||
'handlers': ['accessStream', 'errorStream']
|
'handlers': ['accessStream', 'errorStream']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user