'Inject a response to the client.'

def inject_response(self, response):

    response = self.handler.on_inject_response(response)
    for handler in self.data_handlers:
        response = handler.on_inject_response(response)
        if (response == ''):
            break
    self.client_socket.sendall(response)
