curl-users
Re: Content-Disposition headers
Date: Mon, 12 Mar 2007 10:28:24 -0400
unsubscribe
-----Original Message-----
From: daniel_at_haxx.se
To: curl-users_at_cool.haxx.se
Sent: Sat, 10 Mar 2007 2:37 PM
Subject: Re: Content-Disposition headers
On Sat, 10 Mar 2007, Ed S. Peschko wrote:
> Also, it looks like the boundary is too long, and has too many '----' in it.
> The form that works looks like:
>
> Content-Type: multipart/form-data; boundary=xYzZY
>
> --xYzZY
The boundary strings curl uses mimic the ones IE sends or at least used to send, to minimize the risk that you run into problems with stupid server side scripts. If your server end has problems with this, it implies that script won't work with IE.
> Anyways, these are the only differences in the curl send data (which doesn't > work) and the perl send data (which does..). Any tips on customizing the > curl forms so they exactly match the perl would be greatly appreciated..
The boundary string in curl is not customizable. The other part was answered to by Dan F.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
Received on 2007-03-12