when getting a key (HEAD request) return key.value instead of empty string. This is will mirror boto's method.
This commit is contained in:
parent
5a475881d2
commit
df3155c869
@ -95,6 +95,7 @@ class ResponseObject(object):
|
||||
|
||||
#Metadata
|
||||
meta_regex = re.compile('^x-amz-meta-([a-zA-Z0-9\-_]+)$', flags=re.IGNORECASE)
|
||||
|
||||
for form_id in form:
|
||||
result = meta_regex.match(form_id)
|
||||
if result:
|
||||
|
Loading…
x
Reference in New Issue
Block a user