This commit is contained in:
yumoqing 2023-04-18 10:50:55 +08:00
parent afd47aaf8a
commit c04c324d0f

View File

@ -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)