Code Repositories xandikos / 54b7bda
Fix use of max-attachment-per-resource, max-attachment-size. Jelmer Vernooń≥ 1 year, 5 months ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
753753
754754 class MaxAttachmentsPerResourceProperty(webdav.Property):
755755 """max-attachments-per-resource property.
756
757 https://tools.ietf.org/id/draft-ietf-calext-caldav-attachments-03.html#rfc.section.6.3
756758 """
757759
758760 name = '{%s}max-attachments-per-resource' % NAMESPACE
766768
767769 class MaxAttachmentSizeProperty(webdav.Property):
768770 """max-attachment-size property.
771
772 https://tools.ietf.org/id/draft-ietf-calext-caldav-attachments-03.html#rfc.section.6.2
769773 """
770774
771775 name = '{%s}max-attachment-size' % NAMESPACE
861861 apache.ExecutableProperty(),
862862 caldav.CalendarProxyReadForProperty(),
863863 caldav.CalendarProxyWriteForProperty(),
864 caldav.MaxAttachmentSizeProperty(),
865 caldav.MaxAttachmentsPerResourceProperty(),
864866 quota.QuotaAvailableBytesProperty(),
865867 quota.QuotaUsedBytesProperty(),
866868 webdav.RefreshRateProperty(),