nodeSolidServer / node-solid-ws

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

Subscribing with/without trailing slash #7

Open michielbdejong opened 5 years ago

michielbdejong commented 5 years ago

If I subscribe with sub /inbox, I'll only get notified when someone POSTs to https://pod.com/inbox. If I subscribe with sub /inbox/, I'll only get notified when someone POSTs to https://pod.com/inbox/.

I think it would be better if, regardless of whether I included a trailing slash in my sub command, and regardless of whether the url of the POST request has one, the notification would arrive?