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
|
#Metadata
|
||||||
meta_regex = re.compile('^x-amz-meta-([a-zA-Z0-9\-_]+)$', flags=re.IGNORECASE)
|
meta_regex = re.compile('^x-amz-meta-([a-zA-Z0-9\-_]+)$', flags=re.IGNORECASE)
|
||||||
|
|
||||||
for form_id in form:
|
for form_id in form:
|
||||||
result = meta_regex.match(form_id)
|
result = meta_regex.match(form_id)
|
||||||
if result:
|
if result:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user