defType = defTypeParam.get(request, DefType.COMPONENT);
if (tagName == null || tagName.isEmpty()) {
throw new AuraRuntimeException("Invalid request, tag must not be empty");
}
Mode mode = context.getMode();
if (!isValidDefType(defType, mode)) {
send404(request, response);
return;
}