generic view http_method_not_allowed should only reference request and non member variable