コード例 #1
0
 def __init__(self):
     env = {
         'SERVER_NAME': 'nohost',
         'SERVER_PORT': '80',
         'REQUEST_METHOD': 'GET'
     }
     Request.__init__(self, None, env, Response())
コード例 #2
0
ファイル: tests.py プロジェクト: mjpieters/collective.captcha
 def __init__(self):
     env = {'SERVER_NAME': 'nohost',
            'SERVER_PORT': '80',
            'REQUEST_METHOD': 'GET'}
     Request.__init__(self, None, env, Response())
コード例 #3
0
ファイル: publisher.py プロジェクト: infrae/infrae.wsgi
 def __init__(self, *args, **kwargs):
     Request.__init__(self, *args, **kwargs)
     self.__plugins = {interfaces.IRequest.__identifier__: self}