示例#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
 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)