Skip to content

Commit

Permalink
do not merge
Browse files Browse the repository at this point in the history
Signed-off-by: Bala.FA <[email protected]>
  • Loading branch information
balamurugana committed Apr 13, 2024
1 parent 40b054f commit 9955bd4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# MinIO Java SDK for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)

MinIO Java SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.
Expand Down
7 changes: 7 additions & 0 deletions api/src/main/java/io/minio/S3Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,13 @@ public void onResponse(Call call, final Response response) throws IOException {
message = "The requested range cannot be satisfied";
break;
default:
System.out.println(
"response.request().method(): " + response.request().method());
System.out.println("response.request().url(): " + response.request().url());
System.out.println("response.code(): " + response.code());
System.out.println("response.headers(): " + response.headers());
System.out.println("response.message(): " + response.message());
System.out.println("response.toString(): " + response.toString());
completableFuture.completeExceptionally(
new ServerException(
"server failed with HTTP status code " + response.code(),
Expand Down
2 changes: 1 addition & 1 deletion functional/TestUserAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

public class TestUserAgent {
public static void main(String[] args) throws Exception {
MinioClient client = MinioClient.builder().endpoint("http://example.org").build();
MinioClient client = MinioClient.builder().endpoint("http://httpbin.org").build();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
client.traceOn(baos);
client.bucketExists(BucketExistsArgs.builder().bucket("any-bucket-name-works").build());
Expand Down

0 comments on commit 9955bd4

Please sign in to comment.