docs: public HttpConnection setRequestBody(final InputStream input, final long inputLength) {
          try {
              return setRequestBody(new InputStreamWrappingGenerator(input, inputLength),
                      inputLength);
          } catch (IOException e) {
              logger.log(Level.SEVERE, "Error copying input stream for request body", e);
              throw new RuntimeException(e);
          }
      }