web-push-libs / pywebpush

Python Webpush Data encryption library
Mozilla Public License 2.0
314 stars 53 forks source link

Is there a way to set topic for replacing old messages? #164

Closed KartikShrivastava closed 5 months ago

KartikShrivastava commented 5 months ago

Hi, I was looking into the documentation of pywebpush and couldn't find a way to set topic to replace old push message like mentioned in this push protocol request standard: https://datatracker.ietf.org/doc/html/draft-ietf-webpush-protocol#section-5.4

Is it supported by pywebpush?

KartikShrivastava commented 5 months ago

Nvm, I think topic can be set using headers argument. Closing this ticket, will reopen in case more insights are required.