Code Repositories xandikos / master
Add a bit of background on why trailing slashes are included. Jelmer Vernooń≥ 3 hours ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
10271027 (href, resource, depth) = todo.popleft()
10281028 if COLLECTION_RESOURCE_TYPE in resource.resource_types:
10291029 # caldavzap/carddavmate require this
1030 # https://tools.ietf.org/html/rfc4918#section-5.2
1031 # mentions that a trailing slash *SHOULD* be added for
1032 # collections.
10301033 href = ensure_trailing_slash(href)
10311034 yield (href, resource)
10321035 if depth == "0":