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

append a CRLF pair after the content-type line

This commit is contained in:
Daniel Stenberg 2002-01-29 20:32:10 +00:00
parent a9c4963cc0
commit 85dbf82d93

View File

@ -853,6 +853,9 @@ CURLcode Curl_http(struct connectdata *conn)
return CURLE_HTTP_POST_ERROR;
}
add_buffer(req_buffer, contentType, linelength);
/* make the request end in a true CRLF */
add_buffer(req_buffer, "\r\n", 2);
}
/* set upload size to the progress meter */