equal
deleted
inserted
replaced
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]: |