We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The issue is that download file method should have byte[] as response content and not String https://github.com/quarkiverse/quarkus-amazon-services/blob/main/docs/modules/ROOT/pages/amazon-s3.adoc Replace: ResponseBuilder response = Response.ok(objectBytes.asUtf8String()); With: Response.ResponseBuilder response = Response.ok(objectBytes.asByteArray());
The text was updated successfully, but these errors were encountered:
Good catch would you like to contribute a PR ? You can also push a PR to the repo containing the source of the quickstart sample https://github.com/quarkusio/quarkus-quickstarts/blob/884beacd8c723877b98587d6ced5eff8c792ac7e/amazon-s3-quickstart/src/main/java/org/acme/s3/S3SyncClientResource.java#L57
Sorry, something went wrong.
@scrocquesel thanks for your quick check, I created this PR: quarkusio/quarkus-quickstarts#1400
Successfully merging a pull request may close this issue.
The issue is that download file method should have byte[] as response content and not String
https://github.com/quarkiverse/quarkus-amazon-services/blob/main/docs/modules/ROOT/pages/amazon-s3.adoc
Replace: ResponseBuilder response = Response.ok(objectBytes.asUtf8String());
With: Response.ResponseBuilder response = Response.ok(objectBytes.asByteArray());
The text was updated successfully, but these errors were encountered: