As was mentioned in the semantics of PUT discussion, we need to decide on a consistent policy for recursive container creation for various resource types (Resources and Containers) and via the 3 major creation verbs (PUT, PATCH and POST).
(Also sometimes referred to as mkdir -p semantics)
Current behavior (in Node Solid Server):
- PATCH - creating a resource: Intermediate containers are automatically created.
- PATCH - creating a container: Yes. Technically this gets parsed as a PATCH to a container's
.meta
- POST - creating a resource: Does not create intermediate container, throws a
404 Not Found.
- POST - creating a container: same as above.
- PUT - creating a resource: Intermediate containers are automatically crated (
mkdir -p style).
- PUT - creating a container: Not currently supported, but hopefully will be
As was mentioned in the semantics of PUT discussion, we need to decide on a consistent policy for recursive container creation for various resource types (Resources and Containers) and via the 3 major creation verbs (PUT, PATCH and POST).
(Also sometimes referred to as
mkdir -psemantics)Current behavior (in Node Solid Server):
.meta404 Not Found.mkdir -pstyle).