302 is also a valid redirect. Also keep the original query when redirecting.