Pārlūkot izejas kodu

fix bottle context: must define files

Bastien Sevajol 7 gadus atpakaļ
vecāks
revīzija
e31beef69a
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      hapic/ext/bottle/context.py

+ 1 - 0
hapic/ext/bottle/context.py Parādīt failu

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