From: Roland Häder Date: Tue, 25 Jul 2023 02:34:30 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b56b3471434521de9253aa8bd698f0b8d7fc26b;p=fba.git Continued: - can be more accepted charsets --- 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