diff tests/suite_02b_good_errors/files/good_errors.pspx @ 71:88adf10be709 draft

Add tests.
author David Barts <n5jrn@me.com>
date Mon, 15 Jul 2019 13:16:31 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/suite_02b_good_errors/files/good_errors.pspx	Mon Jul 15 13:16:31 2019 -0700
@@ -0,0 +1,17 @@
+#rem test the case multiple error numbers
+#errors 400 401 402 403 404 500 501
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>${error.status_line}</title>
+  </head>
+  <body>
+    <h1>${error.status_line}</h1>
+<pre>I/O, I/O, it’s off to disk I go!
+You typed some junk,
+and now it’s stunk.
+I/O, I/O!
+</pre>
+    <p>It seems the resource at <kbd>${request.url}</kbd> can not be found.</p>
+  </body>
+</html>