On Mon, 2008-06-02 at 16:21 -0700, Darrell Esau wrote:
> Hi all,
> 
> I'm posting multipart form data to a web service which expects the
> headers in a certain order.
> 
> Particularly, each part contains a "Content-Type" and
> "Content-Disposition" header.
> 
> If I send the data with the "Content-Disposition" header before the
> "Content-Type" header, it fails.
> Swapping the two makes the request complete successfully.
> 
> so -- my question --
> 
> Is it possible in HttpClient (3.1) to specify order of the part headers?
> 
> Thanks,
> -darrell
> 

Darrell,

The only option you have is to extend the Part class and override its
#send(OutputStream) method.

Oleg


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to