curl-users
Re: Multipart/mixed from Config File
Date: Fri, 19 Mar 2010 13:16:56 -0400
Well, I tried with --data-binary, and it did preserved the new lines, but
it came back with response from the server 'Internal processing error'.
i also tried with
-H Content-Type: multipart/mixed;
boundary=------------------------------814d8b8ab9f8
and
-H "Content-Type: multipart/mixed;
boundary=------------------------------814d8b8ab9f8"
but got the same response 'Internal processing error'.
It is not that we insisting on formatting the request this way.
It is a vendor defined format. Every <cr/lf>, 'Content-length:' on
sub-parts, 2 sections of data, everything has to be exactly as they
specified.
Since the header section is fairly static (except first and last
'Content-length'), and because the Request message is too complex to
handle
it with cURL command line parameters, easiest solution for us will be if
we can construct the whole message within our application, and have
cURL pass it over to the server but it looks like that will not be
possible also.
If you can suggest anything else that might work, I am open for
suggestions.
Thanks again for all your replies.
Jan
This electronic message contains information from Russell A. Farrow
Limited, Russell A. Farrow (U.S.) Inc., canadaplus.com or RAF Express
Inc., that may be confidential or privileged. The information in this
electronic message is only for the use of the intended recipient.
Inappropriate disclosure, copying, distribution or other use of the
contents of this electronic message is strictly prohibited. If you have
received this electronic transmission in error, please notify the sender
immediately by return e-mail. Thank you.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-19