Issue #23 invalid
Wrong password results in 'Authorization required'
If i try something simple like:
from datetime import datetime import caldav from caldav.elements import dav, cdav # Principal url url = "https://user:wrongpass@host/path" client = caldav.DAVClient(url) principal = caldav.Principal(client, url) calendars = principal.calendars() print(calendars)
and the password is wrong, the message from python is
caldav.lib.error.AuthorizationError: AuthorizationError at '<somewhere>', reason 'Authorization Required'
which is pretty misleading. Should be something along the lines of 'Wrong user or password'...