title: How to POST InputStream as the body of a request in Retrofit?
body: <p>I'm attempting to do a POST with the body being an InputStream with something like this:</p>
  
  <pre><code>@POST("/build")
  @Headers("Content-Type: application/tar")
  Response build(@Query("t") String tag,
                 @Query("q") boolean quiet,
                 @Query("nocache") boolean nocache,
                 @Body TypedInput inputStream);
  </code></pre>
  
  <p>In this case the InputStream is from a compressed tar file.</p>
  
  <p>What's the proper way to POST an InputStream?</p>