Get a list of all objects in a container.

        :param uri:
        :param headers:
        :return list:
        :param spr: "single page return" Limit the returned data to one page
        :type spr: ``bol``

def _list_getter(self, uri, headers, last_obj=None, spr=False):
        """Get a list of all objects in a container.

        :param uri:
        :param headers:
        :return list:
        :param spr: "single page return" Limit the returned data to one page
        :type spr: ``bol``
        """

        # Quote the file path.
        base_path = marked_path = ('%s?limit=10000&format=json' % uri.path)

        if last_obj:
            marked_path = self._last_marker(
                base_path=base_path,
                last_object=cloud_utils.quoter(last_obj)
            )

        file_list = self._obj_index(
            uri=uri,
            base_path=base_path,
            marked_path=marked_path,
            headers=headers,
            spr=spr
        )

        LOG.debug(
            'Found [ %d ] entries(s) at [ %s ]',
            len(file_list),
            uri.geturl()
        )

        if spr:
            return file_list
        else:
            return cloud_utils.unique_list_dicts(
                dlist=file_list, key='name'
            )