only redirect GET requests