Skip to content

Spotify API changed header name #2

@manu144x

Description

@manu144x

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:")) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions