mercurial/hgweb/server.py
changeset 3263 3207e30bf468
parent 3130 2e043c9a38a6
child 3628 dc3504af7722
equal deleted inserted replaced
3262:1e322b44b366 3263:3207e30bf468
    69         env = {}
    69         env = {}
    70         env['GATEWAY_INTERFACE'] = 'CGI/1.1'
    70         env['GATEWAY_INTERFACE'] = 'CGI/1.1'
    71         env['REQUEST_METHOD'] = self.command
    71         env['REQUEST_METHOD'] = self.command
    72         env['SERVER_NAME'] = self.server.server_name
    72         env['SERVER_NAME'] = self.server.server_name
    73         env['SERVER_PORT'] = str(self.server.server_port)
    73         env['SERVER_PORT'] = str(self.server.server_port)
    74         env['REQUEST_URI'] = "/"
    74         env['REQUEST_URI'] = self.path
    75         env['PATH_INFO'] = path_info
    75         env['PATH_INFO'] = path_info
    76         if query:
    76         if query:
    77             env['QUERY_STRING'] = query
    77             env['QUERY_STRING'] = query
    78         host = self.address_string()
    78         host = self.address_string()
    79         if host != self.client_address[0]:
    79         if host != self.client_address[0]: