docs: public static void checkContentType(String contentType) {
      Preconditions.checkArgument(contentType != null); // for backwards compatibility
      Preconditions.checkArgument(
          HttpMediaType.equalsIgnoreParameters(MEDIA_TYPE, contentType),
          "Wrong content type: expected <" + MEDIA_TYPE + "> but got <%s>",
          contentType);
    }