From d60132cbc009689a9bf5c3955ed396a0377d65e3 Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Mon, 19 Sep 2016 21:50:30 +0000 Subject: [PATCH] Strip slash from well-known URL for Google According to https://developers.google.com/google-apps/carddav/ URL should be https://www.googleapis.com/.well-known/carddav --- vdirsyncer/storage/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/storage/google.py b/vdirsyncer/storage/google.py index 47d8809..2b53e16 100644 --- a/vdirsyncer/storage/google.py +++ b/vdirsyncer/storage/google.py @@ -154,7 +154,7 @@ class GoogleContactsStorage(dav.CarddavStorage): class session_class(GoogleSession): # Apparently Google wants us to submit a PROPFIND to the well-known # URL, instead of looking for a redirect. - url = 'https://www.googleapis.com/.well-known/carddav/' + url = 'https://www.googleapis.com/.well-known/carddav' scope = ['https://www.googleapis.com/auth/carddav'] storage_name = 'google_contacts'