For S3 Key Head requests, just return the real body for now so that key length works. Closes #131.
This commit is contained in:
parent
8954242086
commit
8d6868f9d3
2 changed files with 8 additions and 5 deletions
|
|
@ -346,7 +346,7 @@ class ResponseObject(object):
|
|||
if key:
|
||||
headers.update(key.metadata)
|
||||
headers.update(key.response_dict)
|
||||
return 200, headers, ""
|
||||
return 200, headers, key.value
|
||||
else:
|
||||
return 404, headers, ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue