(cfg)
| 76 | |
| 77 | |
| 78 | def base_environ(cfg): |
| 79 | return { |
| 80 | "wsgi.errors": WSGIErrorsWrapper(cfg), |
| 81 | "wsgi.version": (1, 0), |
| 82 | "wsgi.multithread": False, |
| 83 | "wsgi.multiprocess": (cfg.workers > 1), |
| 84 | "wsgi.run_once": False, |
| 85 | "wsgi.file_wrapper": FileWrapper, |
| 86 | "wsgi.input_terminated": True, |
| 87 | "SERVER_SOFTWARE": SERVER_SOFTWARE, |
| 88 | } |
| 89 | |
| 90 | |
| 91 | def default_environ(req, sock, cfg): |
no test coverage detected