]> granicus.if.org Git - python/commitdiff
docstring update.
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 3 May 2009 20:27:25 +0000 (20:27 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 3 May 2009 20:27:25 +0000 (20:27 +0000)
Lib/CGIHTTPServer.py

index 13bfcdd22f031330d70ef3b73d521936cc9c2ef3..ad49e93e04507d7b620bf5da01238bbb5d2fc0c1 100644 (file)
@@ -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).