Automated update of Base Application package.
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
+1
-1
@@ -73,7 +73,7 @@ class BaseApplication(web.Application):
|
|||||||
return await handler(request)
|
return await handler(request)
|
||||||
|
|
||||||
@web.middleware
|
@web.middleware
|
||||||
async def request_middleware(self, request:web.Request, handler):
|
async def request_middleware(self, request: web.Request, handler):
|
||||||
time_start = time.time()
|
time_start = time.time()
|
||||||
created = get_timestamp()
|
created = get_timestamp()
|
||||||
response = await handler(request)
|
response = await handler(request)
|
||||||
|
|||||||
Reference in New Issue
Block a user