Merge pull request #613 from emmanuel-keller/1.6

Support of redirections in the REST WebService