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