Matching both method and path in same 'case'