1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

ARGH the CRLF I removed recently was not only done after the initial

content-type header, it was used for each part and thus without this it
failed MISERABLY. *smacks forhead*
This commit is contained in:
Daniel Stenberg 2002-02-06 15:48:53 +00:00
parent afa64ee31f
commit b544c5fa5c

View File

@ -1065,6 +1065,9 @@ struct FormData *Curl_getFormData(struct HttpPost *post,
do {
if(size)
size += AddFormDataf(&form, "\r\n");
/* boundary */
size += AddFormDataf(&form, "--%s\r\n", boundary);