From 288027b0c7ce756749ea69177b85986475e01a1c Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 16 Jul 2025 15:00:30 +0100 Subject: [PATCH] Addeduser agent header Signed-off-by: snipe --- snipe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snipe.py b/snipe.py index 9df7195..74fc7e2 100644 --- a/snipe.py +++ b/snipe.py @@ -12,6 +12,7 @@ def __init__(self, api_url, api_key, rate_limit, timeout=30): self.headers = { "Accept": "application/json", "Content-Type": "application/json", + "User-Agent": "UnifiSnipeSync CLI", "Authorization": f"Bearer {self.api_key}" } self.rate_limiter = RateLimiter(max_calls=rate_limit, period=60)