Exemplo n.º 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))
Exemplo n.º 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))
Exemplo n.º 3
0
 def _ebRegister(self, error, message):
     error.trap(RegistrationError, LookupError)
Exemplo n.º 4
0
 def _ebRegister(self, error, message):
     error.trap(RegistrationError, LookupError)