Update response headers with response_dict from key; add tests

This commit is contained in:
Taro Sato 2016-09-20 15:42:21 -07:00
commit bdb9d59e46
3 changed files with 39 additions and 1 deletions

View file

@ -400,6 +400,7 @@ class ResponseObject(_TemplateEnvironmentMixin):
return 200, headers, template.render(obj=key)
headers.update(key.metadata)
headers.update(key.response_dict)
return 200, headers, key.value
def _key_response_put(self, request, body, bucket_name, query, key_name, headers):