コード例 #1
0
 def __init__(self, environ, url_adapter):
     BaseRequest.__init__(self, environ)
     self.url_adapter = url_adapter
     local.request = self
コード例 #2
0
ファイル: securecookie.py プロジェクト: zaojiahua/werkzeug
 def __init__(self, environ):
     BaseRequest.__init__(self, environ)
     self.session = SecureCookie.load_cookie(self, secret_key=SECRET_KEY)
コード例 #3
0
 def __init__(self, environ, url_map):
     BaseRequest.__init__(self, environ)
     self.url_adapter = url_map.bind_to_environ(environ)
コード例 #4
0
ファイル: utils.py プロジェクト: 0x19/werkzeug
 def __init__(self, environ, url_adapter):
     BaseRequest.__init__(self, environ)
     self.url_adapter = url_adapter
     local.request = self
コード例 #5
0
ファイル: securecookie.py プロジェクト: 0x19/werkzeug
 def __init__(self, environ):
     BaseRequest.__init__(self, environ)
     self.session = SecureCookie.load_cookie(self, secret_key=SECRET_KEY)