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