Mercurial > cgi-bin > hgweb.cgi > tincan
diff pspx.html @ 6:a3823da7bb45 draft
Minor tweaks.
author | David Barts <n5jrn@me.com> |
---|---|
date | Mon, 13 May 2019 15:18:02 -0700 |
parents | 31bb8400e6e3 |
children | 75e375b1976a |
line wrap: on
line diff
--- a/pspx.html Mon May 13 14:47:04 2019 -0700 +++ b/pspx.html Mon May 13 15:18:02 2019 -0700 @@ -21,8 +21,6 @@ <dd>Marks the last line of the headers. Needed only for templating languages where lines often start with <span class="kbd">#</span>, such as Cheetah.</dd> - <dd> <br> - </dd> <dt><code>#errors</code></dt> <dd>Ignore other headers and make this is an error page which handles the specified HTTP error codes. See the subsection on error pages below. </dd> @@ -57,6 +55,8 @@ to the <code>#forward</code>, <code>#python</code>, and <code>#template</code> headers by using standard Python string quoting and escaping methods. For example, <code>#python "space case.py"</code>.</p> + <p>Header directives that don't take arguments as a rule simply ignore them. + For example, <code>#end headers</code> has the same effect as <code>#end</code>. <h3>Error Pages</h3> <p>Error pages supersede the standard Bottle error handling, and are created by using the <code>#errors</code> page header. <em>Error pages have no