Support of redirections in the REST WebService