def _return_base_data(self, url, container, container_object=None,
                          container_headers=None, object_headers=None):
        """Return headers and a parsed url.

        :param url:
        :param container:
        :param container_object:
        :param container_headers:
        :return: ``tuple``
        """
        headers = self.job_args['base_headers']
        headers.update({'X-Auth-Token': self.job_args['os_token']})

        _container_uri = url.geturl().rstrip('/')

        if container:
            _container_uri = '%s/%s' % (
                _container_uri, cloud_utils.quoter(container)
            )

        if container_object:
            _container_uri = '%s/%s' % (
                _container_uri, cloud_utils.quoter(container_object)
            )

        if object_headers:
            headers.update(object_headers)

        if container_headers:
            headers.update(container_headers)

        return headers, urlparse.urlparse(_container_uri)
Return headers and a parsed url.

        :param url:
        :param container:
        :param container_object:
        :param container_headers:
        :return: ``tuple``