docs: @SuppressWarnings("unchecked")
      public static void handleMultipartPost(
          EntityEnclosingMethod postMethodProxyRequest,
          HttpServletRequest httpServletRequest,
          DiskFileItemFactory diskFileItemFactory)
          throws ServletException {
          // TODO: this function doesn't set any history data
          try {
              // just pass back the binary data
              InputStreamRequestEntity ire = new InputStreamRequestEntity(httpServletRequest.getInputStream());
              postMethodProxyRequest.setRequestEntity(ire);
              postMethodProxyRequest.setRequestHeader(STRING_CONTENT_TYPE_HEADER_NAME, httpServletRequest.getHeader(STRING_CONTENT_TYPE_HEADER_NAME));
          } catch (Exception e) {
              throw new ServletException(e);
          }
      }