Lines Matching refs:script
17 Note that status code 200 is sent prior to execution of a CGI script, so
74 """Test whether self.path corresponds to a CGI script.
77 (dir, rest) if self.path requires running a CGI script.
102 """Test whether argument path is a Python script."""
107 """Execute a CGI script."""
130 # dissect the part after the directory name into a script name &
134 script, rest = rest[:i], rest[i:]
136 script, rest = rest, ''
138 scriptname = dir + '/' + script
141 self.send_error(404, "No such CGI script (%r)" % scriptname)
144 self.send_error(403, "CGI script is not a plain file (%r)" %
150 self.send_error(403, "CGI script is not a Python script (%r)" %
154 self.send_error(403, "CGI script is not executable (%r)" %
223 self.send_response(200, "Script output follows")
229 args = [script]
243 self.log_error("CGI script exit status %#x", sts)
298 self.log_error("CGI script exit status %#x", status)
300 self.log_message("CGI script exited OK")