Handle METHOD_NOT_ALLOWED for static routes