[fix] argument handling

This commit is contained in:
Maxime Alves LIRMM 2022-07-18 18:47:38 +02:00
parent 34ede09fe2
commit 18748808c9
2 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,9 @@
# HalfAPI
## 0.6.20
- Fix arguments handling
## 0.6.19
- Allow file sending in multipart request (#32)

View File

@ -70,7 +70,7 @@ def args_check(fct):
pass
elif content_type in [
'multipart/form-data', 'application/x-www-form-urlencoded']:
data_ = await req.form()
data_ = dict(await req.form())
else:
data_ = await req.body()