Skip to content

Commit

Permalink
#135 Set HTTP header
Browse files Browse the repository at this point in the history
  • Loading branch information
kokarare1212 committed Jun 28, 2022
1 parent e54aaa0 commit 560c500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion librespot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class Version:
version_name = "0.0.4"
version_name = "0.0.5"

@staticmethod
def platform() -> Platform:
Expand Down
1 change: 1 addition & 0 deletions librespot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def build_request(
request.headers = headers
request.headers["Authorization"] = "Bearer {}".format(
self.__session.tokens().get("playlist-read"))
request.headers["client-token"] = self.__client_token_str
request.url = self.__base_url + suffix
return request

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import setuptools

setuptools.setup(name="librespot",
version="0.0.4",
version="0.0.5",
description="Open Source Spotify Client",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 560c500

Please sign in to comment.