Пример #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))
Пример #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))
Пример #3
0
 def _ebRegister(self, error, message):
     error.trap(RegistrationError, LookupError)
Пример #4
0
 def _ebRegister(self, error, message):
     error.trap(RegistrationError, LookupError)