From 0b56b3471434521de9253aa8bd698f0b8d7fc26b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 25 Jul 2023 04:34:30 +0200 Subject: [PATCH] Continued: - can be more accepted charsets --- fba/http/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fba/http/network.py b/fba/http/network.py index 0dfc424..0b68f95 100644 --- a/fba/http/network.py +++ b/fba/http/network.py @@ -40,7 +40,7 @@ web_headers = { # HTTP headers for API requests api_headers = { "User-Agent": config.get("useragent"), - "Accept" : "application/json; charset=utf-8", + "Accept" : "application/json;application/jrd+json,application/activity+json;charset=utf-8,application/xml;q=0.9,*/*;q=0.8", } # Exceptions to always catch -- 2.39.5