Set FollowRedirects in AudioFileSourceICYStream (#448)
This commit is contained in:
1 parent
62463b15f7
commit
9485887879
1 file changed
+1
@@ -47,6 +47,7 @@ bool AudioFileSourceICYStream::open(const char *url)
|
||||
http.addHeader("Icy-MetaData", "1");
|
||||
http.collectHeaders( hdr, 4 );
|
||||
http.setReuse(true);
|
||||
http.setFollowRedirects(HTTPC_FORCE_FOLLOW_REDIRECTS);
|
||||
int code = http.GET();
|
||||
if (code != HTTP_CODE_OK) {
|
||||
http.end();
|
||||
|
||||
Reference in new issue
Block a user