# File lib/deltacloud/drivers/rackspace/rackspace_driver.rb, line 234
  def create_blob(credentials, bucket_id, blob_id, blob_data, opts=nil)
    cf = cloudfiles_client(credentials)
    #must first create the object using cloudfiles_client.create_object
    #then can write using object.write(data)
    object = cf.container(bucket_id).create_object(blob_id)
    #blob_data is a construct with data in .tempfile and content-type in {:type}
    res = object.write(blob_data[:tempfile], {'Content-Type' => blob_data[:type]})
    Blob.new( { :id => object.name,
                :bucket => object.container.name,
                :content_length => blob_data[:tempfile].length,
                :content_type => blob_data[:type],
                :last_modified => ''
              }
            )
  end