nodeSolidServer / node-solid-ws

Node/Javascript implementation of Websockets for Solid

Home Page:http://npm.im/solid-ws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event on containing folder not triggered for DELETE

michielbdejong opened this issue · 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.