          self._urlsByResource[resource] = url
          return resource
  
-@@ -386,7 +406,8 @@
+@@ -386,7 +409,8 @@
              The contained response will have a status code of
              L{responsecode.BAD_REQUEST}.
          """

                 return res
             #else:
             #    raise ValueError("locateChild must not return StopTraversal with a resource other than self.")
@@ -337,7 +357,6 @@
                 self.prepath.append(self.postpath.pop(0))
 
         child = self._getChild(None, newres, newpath, updatepaths=updatepaths)

 
         def notFound(f):
             f.trap(http.HTTPError)
@@ -417,7 +445,7 @@
                 return f
             return None
 
