MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / is_cgi

Method is_cgi

Lib/CGIHTTPServer.py:73–93  ·  view source on GitHub ↗

Test whether self.path corresponds to a CGI script. Returns True and updates the cgi_info attribute to the tuple (dir, rest) if self.path requires running a CGI script. Returns False otherwise. If any exception is raised, the caller should assume that self.p

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

do_POSTMethod · 0.95
send_headMethod · 0.95

Calls 2

_url_collapse_pathFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected