# File lib/fog/brightbox/models/storage/file.rb, line 80
        def save(options = {})
          requires :body, :directory, :key
          options["Content-Type"] = content_type if content_type
          options["Content-Disposition"] = content_disposition if content_disposition
          options["Access-Control-Allow-Origin"] = access_control_allow_origin if access_control_allow_origin
          options["Origin"] = origin if origin
          options.merge!(metadata_to_headers)

          data = service.put_object(directory.key, key, body, options)
          update_attributes_from(data)
          refresh_metadata

          self.content_length = Fog::Storage.get_body_size(body)
          self.content_type ||= Fog::Storage.get_content_type(body)
          true
        end