]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 25 Jul 2023 02:34:30 +0000 (04:34 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Jul 2023 02:34:30 +0000 (04:34 +0200)
- can be more accepted charsets

fba/http/network.py

index 0dfc4248fbb4a6e550fd626e28a50bced3493c31..0b68f95c6a260e2655f9ee3c020269efde5fb36d 100644 (file)
@@ -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