Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify API changed header name #2

Open
manu144x opened this issue Aug 22, 2019 · 1 comment
Open

Spotify API changed header name #2

manu144x opened this issue Aug 22, 2019 · 1 comment

Comments

@manu144x
Copy link

Content-Length is now content-length for some reason.

Took a while to debug, but now finally works. Only changed for the now-playing endpoint though.

So I changed line 731 the one in charge of checking for the content length to account for both versions of the header name:

} else if (startsWith(buff, "Content-Length:") || startsWith(buff, "content-length:")) {

@CosmicMac
Copy link
Owner

Good to know, I'll make the changes ASAP. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants