bugfix
This commit is contained in:
parent
afd47aaf8a
commit
c04c324d0f
@ -106,7 +106,11 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
|
|||||||
return fname
|
return fname
|
||||||
|
|
||||||
async def getPostData(self,request: Request) -> dict:
|
async def getPostData(self,request: Request) -> dict:
|
||||||
|
reader = None
|
||||||
|
try:
|
||||||
reader = await request.multipart()
|
reader = await request.multipart()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
if reader is None:
|
if reader is None:
|
||||||
md = await request.post()
|
md = await request.post()
|
||||||
ns = multiDict2Dict(md)
|
ns = multiDict2Dict(md)
|
||||||
|
Loading…
Reference in New Issue
Block a user