'Resource not found.'
+def response_to_template(response):
+html.response_to_template(); -urllib.parse.unquote()

* urllib.parse.unquote() should not be run on urls.
 for example if a %20 is decoded to space, the url will most likely break
 in the final result (on mediawiki).