summaryrefslogtreecommitdiffstats
path: root/Lib/CGIHTTPServer.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2009-05-03 20:27:25 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2009-05-03 20:27:25 (GMT)
commit4bd76641b845022c6a8ae5c68a1bd15145b02935 (patch)
tree0ad262061399c9b02a516e5f6e183cb89e41029c /Lib/CGIHTTPServer.py
parent9ac3ee63f614289ac31f1b526004af22253aef90 (diff)
downloadcpython-4bd76641b845022c6a8ae5c68a1bd15145b02935.zip
cpython-4bd76641b845022c6a8ae5c68a1bd15145b02935.tar.gz
cpython-4bd76641b845022c6a8ae5c68a1bd15145b02935.tar.bz2
docstring update.
Diffstat (limited to 'Lib/CGIHTTPServer.py')
-rw-r--r--Lib/CGIHTTPServer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py
index 13bfcdd..ad49e93 100644
--- a/Lib/CGIHTTPServer.py
+++ b/Lib/CGIHTTPServer.py
@@ -76,6 +76,9 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
(dir, rest) if self.path requires running a CGI script.
Returns False otherwise.
+ If any exception is raised, the caller should assume that
+ self.path was rejected as invalid and act accordingly.
+
The default implementation tests whether the normalized url
path begins with one of the strings in self.cgi_directories
(and the next character is a '/' or the end of the string).