Check status code after following redirect