If response's status code is 3xx, we need to fix the location.

If response's status code is 3xx, we need to fix the location.