diff options
Diffstat (limited to 'deckit')
| -rw-r--r-- | deckit/modules/xbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
