Exemplo n.º 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)])
Exemplo n.º 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)])
Exemplo n.º 3
0
 def __init__(self, server_address, application, env_parent_dir, env_paths):
     WSGIServer.__init__(self, server_address, application, request_handler=TracHTTPRequestHandler)
Exemplo n.º 4
0
 def __init__(self, server_address, application, env_parent_dir,
              env_paths):
     WSGIServer.__init__(self,
                         server_address,
                         application,
                         request_handler=TracHTTPRequestHandler)