<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10/24/16 11:42 AM, Cantor, Scott
      wrote:<br>
    </div>
    <blockquote
cite="mid:9846A6064BD102419D06814DD0D78DE112A5CCF2@CIO-TNC-D2MBX02.osuad.osu.edu"
      type="cite"><br>
      <pre wrap="">It's fixed, I checked their svn. It's in the EntityBuilder code, it builds a 1 byte stream now if you initialize it with an InputStream.
</pre>
    </blockquote>
    <br>
    Ah, ok I see it now.  The error is in that EntityBuilder helper
    class, which I've never used.  I'm pretty sure I've used the
    InputStreamEntity without problem in the past.<br>
    <br>
    <br>
    <blockquote
cite="mid:9846A6064BD102419D06814DD0D78DE112A5CCF2@CIO-TNC-D2MBX02.osuad.osu.edu"
      type="cite">
      <pre wrap="">
I was hoping to use a pipe to connect the JSON serialization stream to the entity body input stream, but I just went ahead and buffered it with a byte array for now.
</pre>
    </blockquote>
    <br>
    Fwiw, I don't think it's verboten to new an instance of
    InputStreamEntity directly (or any HttpEntity subclass).  I wasn't
    even aware of EntityBuilder.    <br>
    <br>
    <br>
  </body>
</html>