docs: public ActionContext applyContentType(Result result) {
          if (!result.status().isError()) {
              return applyContentType();
          }
          return applyContentType(contentTypeForErrorResult(req()));
      }