Hello!

While trying to connect to several URL's I receive various errors like 30X, 40X (other than 404, I know that one). Most of them mean somesort of Temporary of permanent redirection, proxy use,... How can I receive the new URL, so I can connect to it. For connection I use:
Qt Code:
  1. http->setHost(urlt.host(), urlt.port() != -1 ? urlt.port() : 80);
  2. if (!urlt.userName().isEmpty())
  3. http->setUser(urlt.userName(), urlt.password());
  4. httpGetId = http->get(urlt.toString(), file);
To copy to clipboard, switch view to plain text mode 

Tnx, Luka