This commit is contained in:
Georg Brandl 2007-08-14 20:10:55 +00:00
parent 7e2a3c7b6a
commit e38934976a

View File

@ -679,7 +679,7 @@ class DocumentationApplication(object):
try:
if req.path == '/favicon.ico':
# TODO: change this to real favicon?
resp = self.get_error_404()
resp = self.get_error_404(req)
elif req.path == '/robots.txt':
resp = Response(robots_txt, mimetype='text/plain')
elif not req.path.endswith('/') and req.method == 'GET':