Commit Graph
14 Commits
Author SHA1 Message Date
Jack Henschel bf02e3bacf fix: Ensure trailing slash in CustomEndpoint is handled gracefully 2021-02-03 17:48:04 +02:00
Jack Henschel c97ddac6df test: Check filenames with special characters work correctly 2021-02-03 17:47:51 +02:00
Jack Henschel 2c7094bdb6 Allow user to specify protocol for custom endpoint
In local setups, such as a Minio [1] instance in a Docker container,
the protocol may not always be HTTPS (like for public production
endpoints), but instead just plain HTTP.
To support this use-case, the user can specify a protocol at the
beginning of the custom endpoint URI (either http:// or https://).

To maintain backwards compatibility, the protocol defaults to HTTPS.

The patch also includes a test case to assert this behavior.

[1] https://hub.docker.com/r/minio/minio
2020-09-15 09:04:34 +02:00
Rohan Verma 089155520f feat: adds download file 2020-01-03 16:32:19 +05:30
Rohan Verma 6f4b748717 refactor: move avatar to testdata folder 2019-12-11 15:32:55 +05:30
Rohan Verma aba89e779a refactor: minor doc changes 2019-12-11 13:54:46 +05:30
Liut 9a5e82a977 Add Endpoint for some compatible instance and fix time format (#3)
* Add Endpoint for some compatible instance.

* Fix: InvalidExpiration
* Fix: RequestTimeTooSkewed

Compatible s3: https://developer.qiniu.com/kodo/manual/4088/s3-access-domainname

* - clean code

* Fix: InvalidExpiration
2019-12-11 07:53:05 +00:00
Rohan Verma f3fc241849 fix: decouple http client from library 2019-01-15 16:27:02 +05:30
Rohan Verma f50dc493f8 test: NewUsingIAM mock 2018-12-28 14:59:45 +05:30
Rohan Verma c3e6335634 fix: Delete credentials unsupported authorization type 2018-12-26 15:44:16 +05:30
Rohan Verma 8079b244c7 feat: read response from 201 on file upload 2018-12-26 13:36:35 +05:30
Rohan Verma d218b23f05 feat: Presigned URLs 2018-12-24 13:36:29 +05:30
Rohan Verma 157aa88554 docs: Add missing docstrings 2018-12-06 16:48:37 +05:30
Rohan Verma f30c5f9052 init 2018-12-06 15:54:47 +05:30