1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|storage] Remove etag quotes for File#save

This commit is contained in:
Peter Weldon 2011-01-18 19:56:50 +00:00 committed by Peter Weldon
parent e0b228c4ce
commit 939d95bcfe

View file

@ -118,6 +118,7 @@ module Fog
data = connection.put_object(directory.key, key, body, options)
data.headers.delete('Content-Length')
data.headers['ETag'].gsub!('"','')
merge_attributes(data.headers)
self.content_length = connection.get_body_size(body)
true