equal
deleted
inserted
replaced
105 hval = hval.replace('\n', '').strip() |
105 hval = hval.replace('\n', '').strip() |
106 if hval: |
106 if hval: |
107 env[hkey] = hval |
107 env[hkey] = hval |
108 env['SERVER_PROTOCOL'] = self.request_version |
108 env['SERVER_PROTOCOL'] = self.request_version |
109 env['wsgi.version'] = (1, 0) |
109 env['wsgi.version'] = (1, 0) |
110 env['wsgi.url_scheme'] = type(self).url_scheme |
110 env['wsgi.url_scheme'] = self.url_scheme |
111 env['wsgi.input'] = self.rfile |
111 env['wsgi.input'] = self.rfile |
112 env['wsgi.errors'] = _error_logger(self) |
112 env['wsgi.errors'] = _error_logger(self) |
113 env['wsgi.multithread'] = isinstance(self.server, |
113 env['wsgi.multithread'] = isinstance(self.server, |
114 SocketServer.ThreadingMixIn) |
114 SocketServer.ThreadingMixIn) |
115 env['wsgi.multiprocess'] = isinstance(self.server, |
115 env['wsgi.multiprocess'] = isinstance(self.server, |