From 2a9f37defb145383f0c572cbe45ea3b2201a343f Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 2 Sep 2016 14:41:31 +0200 Subject: [PATCH] Repair authentication --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index 234e0ef..06354d9 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -388,7 +388,7 @@ class Application: self.logger.info("%s refused" % (user or "Anonymous user")) status = client.UNAUTHORIZED realm = self.configuration.get("server", "realm") - headers = headers.copy() + headers = dict(headers) headers.update ({ "WWW-Authenticate": "Basic realm=\"%s\"" % realm})