Code Repositories xandikos / 4678bef
Fix typo, provide get_content_language. Jelmer Vernooń≥ 3 years ago
3 changed file(s) with 16 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 Things to monitor:
1 - number of uploaded items
2 - number of accessed store items
3 - number of lru cache hits
4 - number of HTTP requests
5 - number of reports
6 - number of properties requested
7 - number of unknown properties requested
8 - number of unknown reports requested
9595 """
9696
9797 name = '{urn:ietf:params:xml:ns:caldav}calendar-user-type'
98 resource_type = CALENDAR_RESOURCE_TYPE
98 resource_type = caldav.CALENDAR_RESOURCE_TYPE
9999 in_allprops = False
100100
101101 def get_value(self, resource, el):
228228 def get_content_type(self):
229229 return 'httpd/unix-directory'
230230
231 def get_content_language(self):
232 raise KeyError
233
231234
232235 class Collection(StoreBasedCollection,webdav.Collection):
233236 """A generic WebDAV collection."""
358361
359362 def get_content_type(self):
360363 return 'httpd/unix-directory'
364
365 def get_content_language(self):
366 raise KeyError
361367
362368 def get_last_modified(self):
363369 # TODO(jelmer): Find last modified time using store function