We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c72cae commit 9b48bccCopy full SHA for 9b48bcc
vdirsyncer/storage/dav.py
@@ -173,7 +173,7 @@ async def find_principal(self):
173
dav_logger.debug("Trying out well-known URI")
174
return await self._find_principal_impl(self._well_known_uri)
175
176
- async def _find_principal_impl(self, url):
+ async def _find_principal_impl(self, url) -> str:
177
headers = self.session.get_default_headers()
178
headers["Depth"] = "0"
179
body = b"""
@@ -202,7 +202,7 @@ async def _find_principal_impl(self, url):
202
response.url
203
)
204
205
- return response.url
+ return response.url.human_repr()
206
return urlparse.urljoin(str(response.url), rv.text).rstrip("/") + "/"
207
208
async def find_home(self):
0 commit comments