From a403f3eb9a01547141e33978e44adba7c587fe9a Mon Sep 17 00:00:00 2001 From: Sausa Date: Sun, 9 Nov 2025 16:42:44 +0000 Subject: [PATCH] Keep consistent dict type --- librespot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librespot/core.py b/librespot/core.py index eb67bdd..ac1443e 100644 --- a/librespot/core.py +++ b/librespot/core.py @@ -112,7 +112,7 @@ class ApiClient(Closeable): url = url + suffix if headers is None: - headers = {} + headers = CaseInsensitiveDict() headers["Authorization"] = "Bearer {}".format( self.__session.tokens().get("playlist-read")) headers["client-token"] = self.__client_token_str