Open manu144x opened 5 years ago
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:")) {
Good to know, I'll make the changes ASAP. Thanks!
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:")) {