pywebpush icon indicating copy to clipboard operation
pywebpush copied to clipboard

Add headers parameter to webpush

Open fuglede opened this issue 4 years ago • 0 comments

An example of where this could be useful is the Urgency parameter (5.3 of the RFC). To use that (as I understand the API of the package), you would have to use WebPusher, duplicate the part of webpush concerned with defining vapid_headers, and then set 'Urgency' yourself. (In fact, since TTL already exists as a separate parameter, perhaps Urgency could as well?)

fuglede avatar Mar 07 '20 11:03 fuglede