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:
Jeff Gregory 2013-10-25 14:36:49 -07:00 committed by Steve Pulec
parent 5a475881d2
commit df3155c869

View File

@ -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: