hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Kumar <gauravphoe...@gmail.com>
Subject Setting HTTP headers in InputStreamEntity
Date Fri, 31 May 2013 04:58:21 GMT
​ am using InputStreamEntity ​;  I am reading data from a file input stream
and sending it to remote server ; everything seems to be working fine.

​Now, I would like to be able to set a header just before inputstream
finishes i.e. as soon as I read the last but one byte, I want to set a
See below sample code-

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message