HTTP headers are case insensitive by nature (see RFC 2616). When 
addUserMetadataTo check if this is indeed a user metadata header, it must 
properly ignore case.
The fix make sure that both metadataPrefix and the header key are compared with 
toLowerCase().

This solves issue with minio metadata read
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/1164

-- Commit Summary --

  * Fix case sensitivity of blobstore metadata

-- File Changes --

    M 
blobstore/src/main/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeaders.java
 (4)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/1164.patch
https://github.com/jclouds/jclouds/pull/1164.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164

Reply via email to