only redirect get requests
prevent compiler alerts