Commit ccccf095 authored by Tres Seaver's avatar Tres Seaver

Revert "Add clarification of handling of missing resources."

This reverts commit 246610dd.
parent 246610dd
......@@ -69,17 +69,6 @@ PageTemplateResource's __call__ renders the template
... if not isinstance(resource, PageTemplateResource):
... self.assertEquals(resource(), base_url % r)
Missing resources
~~~~~~~~~~~~~~~~~
Looking up a missing resource raises a ``KeyError``, which the publisher
then maps onto an HTTP 404 ("Not Found") response:
>>> self.folder.unrestrictedTraverse('testoid/++resource++nonesuch.txt')
Traceback (most recent call last):
...
KeyError: ...
Clean up
--------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment