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
This commit is contained in:
Anton Yuzhaninov 2016-09-19 21:50:30 +00:00
parent 2747bee9a6
commit d60132cbc0

View file

@ -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'