From aaf950fa5461d7879ca28371f1c788f4daaaaed2 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 16 Nov 2026 17:33:41 +0100 Subject: fix(xbox): name the client, so xccs answers --- deckit/modules/xbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deckit/modules/xbox.py') diff --git a/deckit/modules/xbox.py b/deckit/modules/xbox.py index c8fb581..16cd389 100644 --- a/deckit/modules/xbox.py +++ b/deckit/modules/xbox.py @@ -94,7 +94,7 @@ class SignedOut(Exception): def _http(url, data=None, headers=None, timeout=10): """A JSON answer. data: a dict or list goes as JSON, a str as a form.""" - h = {"Accept": "application/json", **(headers or {})} + h = {"Accept": "application/json", "User-Agent": "deck-it", **(headers or {})} body = None if isinstance(data, dict | list): body, h["Content-Type"] = json.dumps(data).encode(), "application/json" -- cgit v1.2.3