Exemplo n.º 1
0
 def __init__(self, request=None, response=None, mc=None, ignore_trailing_slash=True):
     RequestHandler.__init__(self, request, response)
     self.ignore_trailing_slash = ignore_trailing_slash
     self.log = logging.getLogger(self.__class__.__name__)
     if mc == None:
         raise "No Memcache Client provided"
     else:
         self.mc = mc
Exemplo n.º 2
0
 def __init__(self, request, response, wobObj=None):
     RequestHandler.__init__(self, request, response)
     self.wobObj = wobObj
Exemplo n.º 3
0
    def __init__(self, request=None, response=None):
        RequestHandler.__init__(self, request, response)

        # Retrieve user by his cookie
        self.user = User.get_by_cookie(self.request.cookies.get("uid"))
Exemplo n.º 4
0
 def __init__(self, request, response, wobObj=None):
     RequestHandler.__init__(self, request, response)
     self.wobObj = wobObj