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
parent 23833bc16e
commit c75a233f6c

View File

@ -164,7 +164,7 @@ def _key_response(request, full_url, headers):
if key:
headers.update(key.metadata)
headers.update(key.response_dict)
return 200, headers, ""
return 200, headers, key.value
else:
return 404, headers, ""
elif method == 'DELETE':