浏览代码

fix bottle context: must define files

Bastien Sevajol 7 年前
父节点
当前提交
e31beef69a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hapic/ext/bottle/context.py

+ 1 - 0
hapic/ext/bottle/context.py 查看文件

@@ -18,6 +18,7 @@ class BottleContext(ContextInterface):
18 18
             body_parameters=bottle.request.json,
19 19
             form_parameters=bottle.request.forms,
20 20
             header_parameters=bottle.request.headers,
21
+            files_parameters=bottle.request.files,
21 22
         )
22 23
 
23 24
     def get_response(