1
0
Fork 0
 
 
 
Go to file
Dustin 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
.gitignore Initial commit 2023-05-09 14:08:23 -05:00
pyproject.toml Initial commit 2023-05-09 14:08:23 -05:00
xactfetch.py ntfy: Handle non-ASCII characters in message 2023-06-23 09:33:24 -05:00