Re: Changing order of headers in a multipart post

2008-06-03 Thread Oleg Kalnichevski
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

Changing order of headers in a multipart post

2008-06-02 Thread Darrell Esau
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