Explorar o código

test de peticion

robert2206 %!s(int64=8) %!d(string=hai) anos
pai
achega
7431284c5b
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      controllers/http_handler.py
  2. BIN=BIN
      controllers/http_handler.pyc

+ 2 - 0
controllers/http_handler.py

@@ -126,6 +126,8 @@ class ApiManager(http.Controller):
                 auth = 'none',
                 cors = '*')
     def restify(self, **args):
+        print args
+        print "----------------------------------------------------------------"
         if not self.valid_token():
             return self.make_response({'error': 'unauthorized resource'}, 401) # access denied
 

BIN=BIN
controllers/http_handler.pyc