Ensure there is a response before redirect check