Skip to content

Commit feec92d

Browse files
Ignore case
1 parent ad42f19 commit feec92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ESP32_VS1053_Stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ bool ESP32_VS1053_Stream::connecttohost(const char *url, const char *username,
334334
audio_showstation(_http->header(ICY_NAME).c_str());
335335

336336
_remainingBytes = _http->getSize(); // -1 when Server sends no Content-Length header (chunked streams)
337-
_chunkedResponse = _http->header(ENCODING).equals("chunked") ? true : false;
337+
_chunkedResponse = _http->header(ENCODING).equalsIgnoreCase("chunked") ? true : false;
338338
_offset = (_remainingBytes == -1) ? 0 : offset;
339339
_metaDataStart = _http->header(ICY_METAINT).toInt();
340340
_musicDataPosition = _metaDataStart ? 0 : -100;

0 commit comments

Comments
 (0)