# HG changeset patch
# User David Barts
- #errors
#forward
, #python
, and #template
headers by using standard Python string quoting and escaping methods. For
example, #python "space case.py"
.
Header directives that don't take arguments as a rule simply ignore them.
+ For example, #end headers
has the same effect as #end
.
Error pages supersede the standard Bottle error handling, and are created
by using the #errors
page header. Error pages have no
diff -r 31bb8400e6e3 -r a3823da7bb45 tincan.py
--- a/tincan.py Mon May 13 14:47:04 2019 -0700
+++ b/tincan.py Mon May 13 15:18:02 2019 -0700
@@ -379,7 +379,7 @@
self._body = self._tclass(source=self._template.body)
self._body.prepare()
# Register this thing with Bottle
- print("adding route:", self._origin) # debug
+ print("adding route:", self._origin, '('+','.join(methods)+')') # debug
self._app.route(self._origin, methods, self)
def _splitpath(self, unsplit):