aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-29 20:32:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-29 20:32:10 +0000
commit85dbf82d9316df3b33290eca17a41d0d5ea8e671 (patch)
treedbc1202b53b70e70496960eaaf935205d1489324 /lib
parenta9c4963cc0e2d517685f2c99e5a0c99e8217c690 (diff)
append a CRLF pair after the content-type line
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index 1113e38e4..9ceeb0fbf 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 */