public bool AlreadyExists(string url, string path)
        {
            if (!_diskProvider.FileExists(path))
            {
                return(false);
            }

            var headers = _httpProvider.GetHeader(url);

            string sizeString;

            if (headers.TryGetValue(HttpProvider.CONTENT_LENGTH_HEADER, out sizeString))
            {
                int size;
                int.TryParse(sizeString, out size);
                var fileSize = _diskProvider.GetFileSize(path);

                return(fileSize == size);
            }

            _logger.Warn("Couldn't find content-length header {0}", headers.ToJson());

            return(false);
        }