Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

S3 x-amz-meta- case sensitivity

Does amazon S3 assume that the x-amz-meta- header is case insensitive so that:

x-amz-meta-myproperty is the same as x-amz-meta-MyProperty

Thanks David

like image 444
David Loy Avatar asked Nov 19 '25 04:11

David Loy


1 Answers

By standard (HTTP 1.1 RFC, RFC 2616, section 4.2; RFC 822, section 3.4.7) HTTP headers are case insensitive. So Amazon metadata for S3 is then also case insensitive on the keys.

Amazon will flag an error on the metadata header x-amz-meta-myproperty followed by x-amz-meta-MyProperty as a duplicate. Some S3 clients are not aware of this issue.

like image 170
David Loy Avatar answered Nov 21 '25 18:11

David Loy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!