When I tried to setup a mock response with custom HTTP code (i.e: 302) and a custom header (Location=https://www.google.com), the header did not get sent back along with the response and the http code did not come neither.
If I setup the same response header with the standard success.json (HTTP code 200) then it works fine.
After playing with different header, looks like the header "Location" was the problem, when I chose something else (i.e: my-custom-header), it worked fine
When I tried to setup a mock response with custom HTTP code (i.e: 302) and a custom header (Location=https://www.google.com), the header did not get sent back along with the response and the http code did not come neither. If I setup the same response header with the standard success.json (HTTP code 200) then it works fine. After playing with different header, looks like the header "Location" was the problem, when I chose something else (i.e: my-custom-header), it worked fine