docs: protected void validateResponse(HttpInvokerClientConfiguration config, PostMethod postMethod)
              throws IOException {
  
          if (postMethod.getStatusCode() >= 300) {
              throw new HttpException(
                      "Did not receive successful HTTP response: status code = " + postMethod.getStatusCode() +
                      ", status message = [" + postMethod.getStatusText() + "]");
          }
      }