Procházet zdrojové kódy

fix bottle context: must define files

Bastien Sevajol před 7 roky
rodič
revize
e31beef69a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      hapic/ext/bottle/context.py

+ 1 - 0
hapic/ext/bottle/context.py Zobrazit soubor

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