fanout / django-eventstream

Server-Sent Events for Django
MIT License
664 stars 88 forks source link

events not delivered when using pushpin path_beg, replace_beg on route #114

Open timomeara opened 1 year ago

timomeara commented 1 year ago

eventstream/pushpin will not deliver events when pushpin is using path_beg and replace_beg to to remove part of the path.

pushpin url
http://localhost:7999/foo/events/bar/

pushpin route
*,path_beg=/foo,replace_beg= localhost:8000

django url
path('events/<channel>/', include(django_eventstream.urls))

pushpin logs httpsession: failed to retrieve next link

timomeara commented 1 year ago

submitted https://github.com/fanout/django-eventstream/pull/115 to fix