mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
parent
bf8bd90bcb
commit
3a9bcc7555
2 changed files with 5 additions and 1 deletions
|
@ -127,6 +127,10 @@ class Item:
|
|||
def content_length(self):
|
||||
return len(self.serialize().encode(config.get("encoding", "request")))
|
||||
|
||||
@property
|
||||
def etag(self):
|
||||
return get_etag(self.serialize())
|
||||
|
||||
|
||||
class Collection:
|
||||
"""Collection stored in several files per calendar."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue