def iterate_through_response_obj(self, response_obj, base_checkpoint_file_name_for_from_and_to_dates):
        """Iterate through the response object, processes the data in chunks, and sends it to Azure storage.

        Args:
            response_obj: The response object to iterate through.
            base_checkpoint_file_name_for_from_and_to_dates: The base name for the checkpoint data file.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            response_data = None
            max_file_size = consts.MAX_FILE_SIZE
            max_chunk_size = consts.MAX_CHUNK_SIZE
            index = 1
            for chunk in response_obj.iter_content(max_chunk_size):
                if chunk is None:
                    break
                chunk_len = len(chunk)
                if response_data is None:
                    response_data = chunk
                elif (len(response_data) + chunk_len) > max_file_size:
                    applogger.debug(
                        self.log_format.format(
                            consts.LOGS_STARTS_WITH,
                            __method_name,
                            self.azure_function_name,
                            "Index = {}, Len = {}, Max File Size = {}".format(index, len(response_data), max_file_size),
                        )
                    )
                    self.send_to_azure_storage(
                        response_data,
                        base_checkpoint_file_name_for_from_and_to_dates,
                        index,
                    )
                    applogger.info(
                        self.log_format.format(
                            consts.LOGS_STARTS_WITH,
                            __method_name,
                            self.azure_function_name,
                            "Index = {}, Sent data, Fetching next chunk".format(index),
                        )
                    )
                    index += 1
                    response_data = chunk
                else:
                    response_data += chunk
            if response_data:
                self.send_to_azure_storage(
                    response_data,
                    base_checkpoint_file_name_for_from_and_to_dates,
                    index,
                )
        except InfobloxException:
            raise InfobloxException()
        except Exception as err:
            applogger.error(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    consts.UNEXPECTED_ERROR_MSG.format(err),
                )
            )
            raise InfobloxException()
Iterate through the response object, processes the data in chunks, and sends it to Azure storage.

        Args:
            response_obj: The response object to iterate through.
            base_checkpoint_file_name_for_from_and_to_dates: The base name for the checkpoint data file.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/InfobloxHistoricalToAzureStorage/infoblox_to_azure_storage.py