From 69bf4634b972ef2ee0ec1f015d71223203f0bb1a Mon Sep 17 00:00:00 2001 From: Cheng Li Date: Tue, 31 May 2016 14:32:58 +0800 Subject: Add an option: disable etag check on downloads This patch is to add an option of disable etag check on downloads. Change-Id: I9ad389dd691942dea6db470ca3f0543eb6e9703e Closes-bug: #1581147 --- doc/source/cli.rst | 3 ++- doc/source/service-api.rst | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/source') diff --git a/doc/source/cli.rst b/doc/source/cli.rst index 12de02f..bbbfa3d 100644 --- a/doc/source/cli.rst +++ b/doc/source/cli.rst @@ -186,7 +186,8 @@ Download container, or a list of objects depending on the arguments given. For a single object download, you may use the ``-o `` or ``--output `` option to redirect the output to a specific file or ``-`` to - redirect to stdout. You can specify optional headers with the repeatable + redirect to stdout. The ``--ignore-checksum`` is an option that turn off + checksum validation. You can specify optional headers with the repeatable cURL-like option ``-H [--header ]``. Delete diff --git a/doc/source/service-api.rst b/doc/source/service-api.rst index 7d65fd1..52f5857 100644 --- a/doc/source/service-api.rst +++ b/doc/source/service-api.rst @@ -207,6 +207,9 @@ Options Affects uploads, and allows empty 'pseudofolder' objects to be created when the source of an upload is ``None``. + ``checksum``: ``True`` + Affects uploads and downloads, and means if check md5 for downloads/uploads. + ``shuffle``: ``False`` When downloading objects, the default behaviour of the CLI is to shuffle lists of objects in order to spread the load on storage drives when multiple -- cgit v1.2.1