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
23833bc16e
commit
c75a233f6c
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user