How to handle redirected streams?

Currently i try some additions to the internet-radio-software to handle redirected streams:

/// in Include-Section:

#include ...
#include <HTTPClient.h>

/// End Include-Section<<<


// in playRadio: change one Line, other lines unhanged as before
static void playRadio(void* ){
	.
	.
	.
	audio.connecttohost(getPlayURL(linkS));  // Change:insert "getPlayURL"
	.
	.
	.
}

//Completely new:
///////////////////////////////////////////////////////////////////////
//  Redirect check: getPlayURL
/////////////////////////////////////////////////////////////////////////
String getPlayURL(String sURL) {
  HTTPClient http; 
  http.setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS); // Redirect Option
  String Location = sURL;
  http.begin(sURL);
  int httpCode = http.GET();
  if (httpCode == HTTP_CODE_OK) {
    Location = http.getLocation();
  }
  if (0 == Location.length()) {
    Location = sURL;
  }
  Serial.println("sURL ----::");
  Serial.println(sURL);
  Serial.println("_____________");
  Serial.println("http.getLocation()::::");
  Serial.println(Location);
  Serial.println(">>>>>>>>");
  return Location;
}