Skip to content
New issue

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

statObject method response user meta parse error #1197

Closed
zhghg opened this issue Jun 12, 2021 · 1 comment · Fixed by #1199
Closed

statObject method response user meta parse error #1197

zhghg opened this issue Jun 12, 2021 · 1 comment · Fixed by #1199
Labels

Comments

@zhghg
Copy link

zhghg commented Jun 12, 2021

Look this issue: minio/minio#12494 . HTTP headers are case insensitive. so, minio server response header's key is hump format. but StatObjectResponse parse userMetadata used all lowercase, The result is an error parsing the userMetadata.

@zhghg
Copy link
Author

zhghg commented Jun 12, 2021

code in there:

if (key.startsWith("x-amz-meta-")) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants