(self)
| 565 | # There is no way for CGI code to tell whether the option was set, so a |
| 566 | # separate handler class is provided. |
| 567 | def __init__(self): |
| 568 | environ= read_environ() |
| 569 | path = environ.get('PATH_INFO', '') |
| 570 | script = environ.get('SCRIPT_NAME', '') |
| 571 | if (path+'/').startswith(script+'/'): |
| 572 | environ['PATH_INFO'] = path[len(script):] |
| 573 | BaseCGIHandler.__init__( |
| 574 | self, sys.stdin.buffer, sys.stdout.buffer, sys.stderr, |
| 575 | environ, multithread=False, multiprocess=True |
| 576 | ) |
nothing calls this directly
no test coverage detected