commit | 3ffa54e446ed2a8bf6758343a3130ae424d3ddc4 | [log] [tgz] |
---|---|---|
author | Jens Harbott <j.harbott@x-ion.de> | Wed Jul 04 11:59:49 2018 +0000 |
committer | Jens Harbott <j.harbott@x-ion.de> | Thu Oct 11 08:07:38 2018 +0000 |
tree | 8bfb10b1b66476983c2860acd5251b67272c426e | |
parent | e6c330892fbc8ae790384d554dd6d5c2668d8d24 [diff] |
Allow to create a rest_client not following redirects Some tests need to verify that the first response from an API is indeed a redirect, this can not be done if the client automatically follows redirects. Introduce a parameter that allows consumers to disable the default behaviour, so that they can see the 301 response instead. Change-Id: I366fa8d1971cd7502a1cd985f5ee6ad5e1ecb216 Closes-Bug: 1616892