Add support for API Redirect on a 301/302 response