HttpURLConnection huc = (HttpURLConnection)uc;
huc.setInstanceFollowRedirects(false);
huc.connect();
int responseCode = huc.getResponseCode();
String location = huc.getHeaderField("location");
huc.disconnect();
if ((responseCode == HttpURLConnection.HTTP_MOVED_TEMP) && (redirectCount < 5)) {
//System.out.println(responseCode);
//System.out.println(location);
try {
URL newUrl = new URL(location);