Allow optional issuing of ListObjectsV2 (#1583)

This allows use of s3fs on object stores that do not implement
the V1 API.  Fixes #1573.
This commit is contained in:
Andrew Gaul
2021-02-23 09:45:13 +09:00
committed by GitHub
parent 5b5bc3114a
commit 032fcf2a47
7 changed files with 48 additions and 5 deletions

View File

@ -305,6 +305,10 @@ If this option is specified with nocopyapi, then s3fs ignores it.
\fB\-o\fR use_path_request_style (use legacy API calling style)
Enable compatibility with S3-like APIs which do not support the virtual-host request style, by using the older path request style.
.TP
\fB\-o\fR listobjectsv2 (use ListObjectsV2)
Issue ListObjectsV2 instead of ListObjects, useful on object
stores without ListObjects support.
.TP
\fB\-o\fR noua (suppress User-Agent header)
Usually s3fs outputs of the User-Agent in "s3fs/<version> (commit hash <hash>; <using ssl library name>)" format.
If this option is specified, s3fs suppresses the output of the User-Agent.