Skip to content
Snippets Groups Projects
Commit 85dbf82d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

append a CRLF pair after the content-type line

parent a9c4963c
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment