For S3 Key Head requests, just return the real body for now so that key length works. Closes #131.

This commit is contained in:
Steve Pulec 2014-11-19 21:06:23 -05:00
commit 8d6868f9d3
2 changed files with 8 additions and 5 deletions

View file

@ -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, ""