*** Lib/CGIHTTPServer.py 2008-03-07 18:36:09.000000000 -0300 --- Lib/CGIHTTPServer.py.3 2008-03-07 18:35:56.000000000 -0300 *************** class CGIHTTPRequestHandler(SimpleHTTPSe *** 72,85 **** def is_cgi(self): """Test whether self.path corresponds to a CGI script. ! Return a tuple (dir, rest) if self.path requires running a ! CGI script, None if not. Note that rest begins with a ! slash if it is not empty. ! ! The default implementation tests whether the path ! begins with one of the strings in the list ! self.cgi_directories (and the next character is a '/' ! or the end of the string). """ splitpath = os.path.split(os.path.normpath(self.path)) --- 72,80 ---- def is_cgi(self): """Test whether self.path corresponds to a CGI script. ! Return True and updates cgi_info to the tuple (dir, rest) ! if self.path requires running a CGI script, otherwise ! False is returned. """ splitpath = os.path.split(os.path.normpath(self.path))