예제 #1
0
 def __init__(self,
              server_address,
              application,
              env_parent_dir,
              env_paths,
              use_http_11=False):
     request_handlers = (TracHTTPRequestHandler, TracHTTP11RequestHandler)
     WSGIServer.__init__(
         self,
         server_address,
         application,
         request_handler=request_handlers[bool(use_http_11)])
예제 #2
0
파일: standalone.py 프로젝트: zjj/trac_hack
 def __init__(self, server_address, application, env_parent_dir, env_paths,
              use_http_11=False):
     request_handlers = (TracHTTPRequestHandler, TracHTTP11RequestHandler)
     WSGIServer.__init__(self, server_address, application,
                         request_handler=request_handlers[bool(use_http_11)])
예제 #3
0
 def __init__(self, server_address, application, env_parent_dir, env_paths):
     WSGIServer.__init__(self, server_address, application, request_handler=TracHTTPRequestHandler)
예제 #4
0
 def __init__(self, server_address, application, env_parent_dir,
              env_paths):
     WSGIServer.__init__(self,
                         server_address,
                         application,
                         request_handler=TracHTTPRequestHandler)