Files
mc/cmd
A. Elleuch 1b9beadf2b cat: Ignore Stat() error and pass to Get() (#2166)
* client: Avoid returning metadata with Get()

client-s3.Get() calls Stat() method because Get() is supposed to return
object metadata. This PR makes a change in client interface so metadata
is returned in Stat() method. This is beneficial for us to avoid calling
HEAD method in S3 when run `mc cat`

* cat: Ignore Stat() returned error

In case of cache gateway, HEAD objects returns 404 even though
objects are gettable. This PR ignores Stat() error since its
purpose in case of cat is to check if the download object size
is equal to what the server announced.
2017-07-04 08:13:57 -07:00
..
2016-08-17 18:30:01 -07:00
2016-08-17 18:26:18 -07:00
2016-08-17 18:26:18 -07:00
2016-08-17 18:26:18 -07:00
2016-08-17 18:26:18 -07:00
2016-08-17 18:26:18 -07:00
2016-08-17 18:26:18 -07:00
2017-05-16 18:50:54 +02:00
2016-08-17 18:30:01 -07:00