projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c4963
)
append a CRLF pair after the content-type line
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 29 Jan 2002 20:32:10 +0000
(20:32 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 29 Jan 2002 20:32:10 +0000
(20:32 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index 1113e38e40e0b796539748cdd0e3990af20c2e5e..9ceeb0fbf0b8229d36eae59fbd308ee005b4e365 100644
(file)
--- 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 */