javaswift / joss

Java library for OpenStack Storage, aka Swift
http://javaswift.org
117 stars 108 forks source link

Account Information metadata cannot be resolved due to case-sensitive headers matching #192

Open anikoloutsos opened 3 years ago

anikoloutsos commented 3 years ago

When matching headers on the basis of a prefix, the check performed is case sensitive. However according to rfc2616 the headers should be case-insensitive (see: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2)

This results in the AccountInformation not containing metadata given that the header response starts with "x-account-meta-" instead of "X-Account-Meta-"