code: public void executePackageManagerMethodStatus(CloseableHttpClient httpClient, HttpRequestBase method) {
      PackageManagerStatusCall call = new PackageManagerStatusCall(httpClient, method, log);
      executeHttpCallWithRetry(call, 0);
    }
docs: Execute CRX HTTP Package manager method and checks response status. If the response status is not 200 the call
  fails (after retrying).
  @param httpClient Http client
  @param method Get or Post method