]> git.proxmox.com Git - proxmox.git/commit
notify: fix #5274: also set 'X-Gotify-Key' header for authentication
authorLukas Wagner <l.wagner@proxmox.com>
Wed, 3 Apr 2024 08:08:25 +0000 (10:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Apr 2024 14:51:55 +0000 (16:51 +0200)
commit6b393ac0ceb35e7ca05a8b145707e1ca9ebe90a6
treea1da9af6bfa96d0e1d863bbda573909241a3c8f7
parent685867264283f6fcfd5c30cef2c40fa139e812c1
notify: fix #5274: also set 'X-Gotify-Key' header for authentication

Versions of Gotify < 2.2.0 only supported the 'X-Gotify-Key' header
for passing the API token. This comment sets this header in addition
to the regular 'Authorization' header in order to be compatible with
older Gotify servers.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
proxmox-notify/src/endpoints/gotify.rs