mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Fix the GET request.
This commit is contained in:
parent
e1a161edc9
commit
690a76c3b7
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class CalendarHTTPHandler(server.BaseHTTPRequestHandler):
|
|||
@check_rights
|
||||
def do_GET(self):
|
||||
"""Manage GET request."""
|
||||
answer = self._calendar.read().encode(self._encoding)
|
||||
answer = self._calendar.text.encode(self._encoding)
|
||||
|
||||
self.send_response(client.OK)
|
||||
self.send_header("Content-Length", len(answer))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue