Skip to content

Commit a403f3e

Browse files
committed
Keep consistent dict type
1 parent 778d8a2 commit a403f3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

librespot/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def build_request(
112112
url = url + suffix
113113

114114
if headers is None:
115-
headers = {}
115+
headers = CaseInsensitiveDict()
116116
headers["Authorization"] = "Bearer {}".format(
117117
self.__session.tokens().get("playlist-read"))
118118
headers["client-token"] = self.__client_token_str

0 commit comments

Comments
 (0)