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

 
         #
         # Parse the URL
@@ -407,9 +442,13 @@
                 "URL is not on this site (%s://%s/): %s" % (scheme, self.headers.getHeader("host"), url)
             ))
 

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