Browse Source

fix bottle context: must define files

Bastien Sevajol 7 years ago
parent
commit
e31beef69a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hapic/ext/bottle/context.py

+ 1 - 0
hapic/ext/bottle/context.py View File

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