MinIO for S3Client.getObjectAttributes() request returns JSON but AWS SDK expects XML and fails

0

AWS SDK for Java. MinIO, for S3Client.getObjectAttributes() request returns JSON but AWS SDK expects XML and fails How to configure AWS SDK or MinIO to work for S3Client.getObjectAttributes()? MinIO at https://min.io/ - offers S3 compatible object storage.

feita há 2 anos935 visualizações
1 Resposta
0
Resposta aceita

Answer: MinIO server just didn't implemented getObjectAttributes() request. Response for this request is content of the object, not its attributes. It was json file; so, JSON object was returned.

To obtain S3 object metadata instead of getObjectAttributes() you could use headObject().

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas