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. |
||
---|---|---|
.gitignore | ||
pyproject.toml | ||
xactfetch.py |