This seems entirely redundant (if the idea is to restrict the allowed methods, it still lacks a default branch and could be a lot more compact with a fall-through).