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