add 302 redirect handle