Merge branch 'master' of github.com:yumoqing/ahserver
This commit is contained in:
commit
5e4a158f11
@ -112,7 +112,11 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
pass
|
pass
|
||||||
if reader is None:
|
if reader is None:
|
||||||
md = await request.post()
|
md = await request.post()
|
||||||
|
if md == {}:
|
||||||
|
if request.query:
|
||||||
|
return multiDict2Dict(request.query)
|
||||||
ns = multiDict2Dict(md)
|
ns = multiDict2Dict(md)
|
||||||
|
print(f'{ns=} reader is None, {request.query=}')
|
||||||
return ns
|
return ns
|
||||||
ns = {}
|
ns = {}
|
||||||
while 1:
|
while 1:
|
||||||
@ -142,8 +146,8 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
print_exc()
|
print_exc()
|
||||||
print('-----------except out ------------')
|
print('-----------except out ------------')
|
||||||
break;
|
break;
|
||||||
# print(f'getPostData():{ns=}')
|
|
||||||
# showcallstack()
|
# showcallstack()
|
||||||
|
print(f'getPostData():{ns=}')
|
||||||
return ns
|
return ns
|
||||||
|
|
||||||
async def _handle(self,request:Request) -> StreamResponse:
|
async def _handle(self,request:Request) -> StreamResponse:
|
||||||
|
5
change.log
Normal file
5
change.log
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# 2023-06-18
|
||||||
|
change permission check to a single function:checkUserPermission for auth_api.py
|
||||||
|
# 2023-06-22
|
||||||
|
fix bug for getPostData to support post data in request.query
|
||||||
|
|
Loading…
Reference in New Issue
Block a user