diff options
author | Cheng Li <shcli@cn.ibm.com> | 2016-05-31 14:32:58 +0800 |
---|---|---|
committer | Cheng Li <shcli@cn.ibm.com> | 2016-06-02 22:53:18 +0800 |
commit | 69bf4634b972ef2ee0ec1f015d71223203f0bb1a (patch) | |
tree | 7284f413432d077860a12634419a279deb7bd634 /doc/source | |
parent | f9d0657e70e9511a2d7b4c63bbf06b138dd0be5e (diff) | |
download | python-swiftclient-69bf4634b972ef2ee0ec1f015d71223203f0bb1a.tar.gz |
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
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/cli.rst | 3 | ||||
-rw-r--r-- | doc/source/service-api.rst | 3 |
2 files changed, 5 insertions, 1 deletions
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 <filename>`` or ``--output <filename>`` 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 <name:value>]``. 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 |