diff options
| author | Robert Brewer <fumanchu@aminus.org> | 2005-10-08 18:44:09 +0000 |
|---|---|---|
| committer | Robert Brewer <fumanchu@aminus.org> | 2005-10-08 18:44:09 +0000 |
| commit | 5e79e4fa67cb3b24f137e3cd908b8c924c562d1e (patch) | |
| tree | 32817a0bd8fd2411b98253d7300994701f368374 /cherrypy/tutorial/custom_error.html | |
| parent | b7d24914e656586be38d25a47095ebc2ade561c1 (diff) | |
| download | cherrypy-git-5e79e4fa67cb3b24f137e3cd908b8c924c562d1e.tar.gz | |
Tutorial fixes, plus a bug in _cputil.getErrorPage.
Diffstat (limited to 'cherrypy/tutorial/custom_error.html')
| -rw-r--r-- | cherrypy/tutorial/custom_error.html | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/cherrypy/tutorial/custom_error.html b/cherrypy/tutorial/custom_error.html index 7bd9934f..22ac603b 100644 --- a/cherrypy/tutorial/custom_error.html +++ b/cherrypy/tutorial/custom_error.html @@ -6,27 +6,9 @@ <title>403 Unauthorized</title> </head> <body> - - <h2>You can't do that!</h2> - <p>This is a custom error page that is read from a file.<p> + <h2>You can't do that!</h2>
+ <p>%(message)s</p> + <p>This is a custom error page that is read from a file.<p>
+ <p>%(traceback)s</p> </body> - -</html> - - -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html> -<head> - <title>403 Unauthorized</title> -</head> - <body> - - <h2>You can't do that!</h2> - <p>This is a custom error page that is read from a file.<p> - </body> - -</html> - - +</html>
\ No newline at end of file |
