Skip to main content

create_on_google

Function create_on_google 

Source
fn create_on_google(
    client: &Client,
    kind: Kind,
    listed: &Listed,
    file: &str,
    href: &str,
    text: &str,
    refetch: &mut BTreeSet<String>,
) -> Result<ItemState, SyncError>
Expand description

A new item on Google: no If-None-Match (it takes If-Match only), cards in vCard 3.0, and a new contact by POST when its address book refuses the PUT (RFC 5995). Where Google filed it (its Location) is where it is known; what Google kept of it comes back at the pull.