'The response has been completely received.
This callback may be invoked more than once per request.'

def handleResponseEnd(self):

    if (self.__buffer is not None):
        b = self.__buffer.getvalue()
        self.__buffer = None
        self.handleResponse(b)
