1
0
Dustin C. Hatch 3b432fc7d6 ntfy: Handle non-ASCII characters in message
In order to set the message for a notification with an attachment, the
text must be specified in the `Message` request header.  Unfortunately,
HTTP header values are limited to the Latin-1 character set, so Unicode
characters cannot be included.  As of *ntfy* 2.4.0, however, the server
can decode base64-encoded headers using the RFC 2047 scheme.

To maintain compatibility with older *ntfy* servers, the `ntfy` function
will only encode message contents this way if the string cannoto be
encoded as ASCII.
2023-06-23 09:33:24 -05:00
2023-05-09 14:08:23 -05:00
2023-05-09 14:08:23 -05:00
Description
No description provided
230 KiB
Languages
Python 93%
Dockerfile 5%
Shell 2%