Skip to main content

Module path

Module path 

Source
Expand description

URL and path helpers for Nextcloud WebDAV Chunked Upload v2.

Functionsยง

abort_path
Builds the ApiPath addressing the upload directory to abort and delete it.
assembly_path
Builds the ApiPath addressing the assembly target file.
chunk_path
Builds the ApiPath addressing a single chunk in the upload collection.
destination_header_value
Resolves and validates a destination path or URI for the Destination header.
upload_collection_path
Builds the ApiPath addressing the upload collection directory.
validate_chunk_index
Validates that a chunk index is valid.
validate_upload_id
Validates that an upload identifier is suitable as a single URL path segment.
validate_user
Validates that a user identifier is suitable as a single URL path segment.