title: Feign to upload binary file without multipart
body: <p>I have problem with Feign client. I need to send one file only and I don't want to use multipart MIME type(as I think it is not neccessary for one file).
  I can do it by creating encoder to byte array, but I would like to use some stream.  </p>
  
  <p>How can I write Feign encoder which will accept some java stream and will send it without buffering the file data into memory. Is it even possible with Feign client to do such binary transfers?</p>
  
  <p>I have seen some example which used MultiPartFile, which used "multipart/form-data", but I don't want to use multipart. </p>
  
  <p>Is it possible to write such a Feign encoder?</p>
  
  <p><strong>UPDATE</strong>
  Is it at all possible to send binary data by Feign without the data being buffered into byte array. According to <a href="https://github.com/OpenFeign/feign/issues/220" rel="nofollow noreferrer">this</a> it is not.</p>