def METHOD_NAME(self, chunk_size, decode_content=False):
    assert chunk_size == block_size
    if self.total_response_size > 0:
        if self.total_response_size <= block_size:
            raise requests.exceptions.ConnectionError()
        data = b"X" * min(chunk_size, self.total_response_size)
        self.total_response_size -= len(data)
        return data