Hi Oleg,
Thanks for your reply.  This helps but I have a follow up question.  Is there a 
way to use input streams for a part/body?  Like InputStreamEntity in the 
non-multipart example.  Rather than file or string?  

Spencer

 




________________________________
From: Oleg Kalnichevski <[email protected]>
To: HttpClient User Discussion <[email protected]>
Sent: Monday, June 22, 2009 6:48:51 AM
Subject: Re: Chunk encoding multipart post

On Sat, Jun 20, 2009 at 05:25:03PM -0700, spencer wrote:
> Hi,
> Is it possible to chunk encode a multipart post?  
> 
> I noticed that the multipart entity is not extending the AbstractHttpEntity 
> (which lets you enable chunk encoding).  The the other entities (like 
> InputStream Entity) do.  Is this on purpose or just work yet to be completed?
> 
> Thanks for your help!
> Spencer
> 
> 

Hi Spencer

HttpClient will automatically use chunk coding if length of any parts in a
multipart message is unknown (negative). Does this answer your question?

Oleg


> 
>      

---------------------------------------------------------------------
To unsubscribe, e-mail: mailto:[email protected]
For additional commands, e-mail: mailto:[email protected]


      

Reply via email to