cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-1093920 ] 2nd boundary string different from 1st boundary string

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 31 Dec 2004 13:41:51 -0800

Bugs item #1093920, was opened at 2004-12-31 13:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1093920&group_id=976

Category: http
Group: wrong content
Status: Open
Resolution: None
Priority: 5
Submitted By: marc (marcfeldman)
Assigned to: Daniel Stenberg (bagder)
Summary: 2nd boundary string different from 1st boundary string

Initial Comment:
QUESTION/BUG(?): why are there two extra dashes at
the end of the 2nd boundary string (after ...fcb, before
the CRLF)? I thought the terminating boundary should
match the opening boundary?
Thanx,
Marc

curl version: curl 7.12.3 (powerpc-ibm-aix5.2.0.0)
libcurl/7.12.3

submitted 5-byte file named f2 using command: curl
http://fusion4.site.com/home/public_html/FileLoadTest.cg
i -F x="@f2" -H "X-DigitalInsight :u:user p:pwd"

server received: ------------------------------
43149a5aafcb^M
Content-Disposition: form-data; name="x";
filename="f2"^M
Content-Type: application/octet-stream^M
^M
1234
^M
------------------------------43149a5aafcb--^M

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1093920&group_id=976
Received on 2004-12-31