Some hosts convert object metadata keys (and even the entire corresponding HTTP header) to all-lowercase. This is irritating, but since both HTTP headers and Object Store metadata keys are case insensitive, it is not illegal.
MetadataTrait.php uses strpos to test if a header starts with METADATA_PREFIX (e.g. 'X-Object-Meta-') and therefore fails if the capitalization isn't exactly the same, making it seem that the metadata item isn't present.
Some hosts convert object metadata keys (and even the entire corresponding HTTP header) to all-lowercase. This is irritating, but since both HTTP headers and Object Store metadata keys are case insensitive, it is not illegal.
MetadataTrait.php uses strpos to test if a header starts with METADATA_PREFIX (e.g. 'X-Object-Meta-') and therefore fails if the capitalization isn't exactly the same, making it seem that the metadata item isn't present.
Using stripos instead of strpos fixes this.