From: Daniel Stenberg Date: Tue, 29 Jan 2002 20:32:10 +0000 (+0000) Subject: append a CRLF pair after the content-type line X-Git-Tag: curl-7_9_4~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85dbf82d9316df3b33290eca17a41d0d5ea8e671;p=thirdparty%2Fcurl.git append a CRLF pair after the content-type line --- diff --git a/lib/http.c b/lib/http.c index 1113e38e40..9ceeb0fbf0 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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 */