# File lib/fog/storage/models/aws/file.rb, line 104
        def save(options = {})
          requires :body, :directory, :key
          if options != {}
            Formatador.display_line("[yellow][WARN] options param is deprecated, use acl= instead[/] [light_black](#{caller.first})[/]")
          end
          options['x-amz-acl'] ||= @acl if @acl
          options['Cache-Control'] = cache_control if cache_control
          options['Content-Disposition'] = content_disposition if content_disposition
          options['Content-Encoding'] = content_encoding if content_encoding
          options['Content-MD5'] = content_md5 if content_md5
          options['Content-Type'] = content_type if content_type
          options['Expires'] = expires if expires
          options.merge(metadata)
          options['x-amz-storage-class'] = storage_class if storage_class

          data = connection.put_object(directory.key, key, body, options)
          data.headers['ETag'].gsub!('"','')
          merge_attributes(data.headers)
          self.content_length = Fog::Storage.get_body_size(body)
          true
        end