nodeSolidServer / node-solid-ws

Node/Javascript implementation of Websockets for Solid
http://npm.im/solid-ws
8 stars 6 forks source link

Event on containing folder not triggered for DELETE #9

Open michielbdejong opened 5 years ago

michielbdejong commented 5 years ago

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.