nodeSolidServer/node-solid-ws

Event on containing folder not triggered for DELETE

Opened this issue · 0 comments

The spec explicitly says that deleting https://example.org/data/foo should trigger a pub https://example.org/data/, but this module only triggers foo and /data/foo in that case.

The current behaviour is consistent in a way, because it always triggers on the URL of the request, but at the same time that's pretty useless, because for instance POST /data/ would trigger a pub, but PUT /data/da2b65b0-70a6-11e9-b22c-350fbfefc081 would not.