Although it is undocumented, *ntfy* accepts a `Message` header along with a file upload, which sets the message content of the notification when a file is attached. Since HTTP headers cannot contain multiple lines, the newline character has to be escaped. The *ntfy* server performs unescaping automatically. |
||
---|---|---|
.gitignore | ||
pyproject.toml | ||
xactfetch.py |