10000 Set FollowRedirects in AudioFileSourceICYStream (#448) · murarduino/ESP8266Audio@9485887 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9485887

Browse files
authored
Set FollowRedirects in AudioFileSourceICYStream (earlephilhower#448)
1 parent 62463b1 commit 9485887

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AudioFileSourceICYStream.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ bool AudioFileSourceICYStream::open(const char *url)
4747
http.addHeader("Icy-MetaData", "1");
4848
http.collectHeaders( hdr, 4 );
4949
http.setReuse(true);
50+
http.setFollowRedirects(HTTPC_FORCE_FOLLOW_REDIRECTS);
5051
int code = http.GET();
5152
if (code != HTTP_CODE_OK) {
5253
http.end();

0 commit comments

Comments
 (0)
0