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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue