mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
iCal bootstrapping using a default URL works
This commit is contained in:
parent
1510e6c194
commit
f7868afed1
3 changed files with 12 additions and 6 deletions
|
@ -169,6 +169,7 @@ class Application(object):
|
|||
auth = authorization.lstrip("Basic").strip().encode("ascii")
|
||||
user, password = self.decode(
|
||||
base64.b64decode(auth), environ).split(":")
|
||||
environ['USER'] = user
|
||||
else:
|
||||
user = password = None
|
||||
|
||||
|
@ -290,7 +291,7 @@ class Application(object):
|
|||
"DAV": "1, calendar-access",
|
||||
"Content-Type": "text/xml"}
|
||||
answer = xmlutils.propfind(
|
||||
environ["PATH_INFO"], content, calendars)
|
||||
environ["PATH_INFO"], content, calendars, environ.get("USER"))
|
||||
return client.MULTI_STATUS, headers, answer
|
||||
|
||||
def proppatch(self, environ, calendars, content):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue