Show More
@@ -174,8 +174,12 b' class _httprequesthandler(httpservermod.' | |||
|
174 | 174 | env[r'wsgi.errors'] = _error_logger(self) |
|
175 | 175 | env[r'wsgi.multithread'] = isinstance(self.server, |
|
176 | 176 | socketserver.ThreadingMixIn) |
|
177 | env[r'wsgi.multiprocess'] = isinstance(self.server, | |
|
178 | socketserver.ForkingMixIn) | |
|
177 | if util.safehasattr(socketserver, 'ForkingMixIn'): | |
|
178 | env[r'wsgi.multiprocess'] = isinstance(self.server, | |
|
179 | socketserver.ForkingMixIn) | |
|
180 | else: | |
|
181 | env[r'wsgi.multiprocess'] = False | |
|
182 | ||
|
179 | 183 | env[r'wsgi.run_once'] = 0 |
|
180 | 184 | |
|
181 | 185 | wsgiref.validate.check_environ(env) |
General Comments 0
You need to be logged in to leave comments.
Login now