Try to get "x-cors-redirect-1" from the Respons Header
I do see this header is in the API Call Test Response - Headers, as well as in the Browsers developer tools (Network).
However, when I try to read the value and show them i.e. in an Alert Dialog it is always empty.
Other headers like the "cache-control" or "x-aspnet-version" can be read and displayed.
Maybe there is a simple trick to get them into a variable.