def _cantForwardRequest(self, error, message): error.trap(LookupError) del message.headers["via"][0] # this'll be us self.deliverResponse(self.responseFromRequest(404, message))
def _ebRegister(self, error, message): error.trap(RegistrationError, LookupError)