# File lib/fog/storage/models/rackspace/file.rb, line 56 def save(options = {}) requires :body, :directory, :key options['Content-Type'] = content_type if content_type data = connection.put_object(directory.key, key, body, options) merge_attributes(data.headers) self.content_length = Fog::Storage.get_body_size(body) true end