no longer add CRLF _after_ POST data, it should not be needed. Pedro Neves

pointed out this ugliness.
This commit is contained in:
Daniel Stenberg 2002-01-27 11:51:11 +00:00
parent 2b1f683239
commit e3f10eb825

View File

@ -935,12 +935,11 @@ CURLcode Curl_http(struct connectdata *conn)
add_buffer(req_buffer, "\r\n", 2);
add_buffer(req_buffer, data->set.postfields,
data->set.postfieldsize);
add_buffer(req_buffer, "\r\n", 2);
}
else {
add_bufferf(req_buffer,
"\r\n"
"%s\r\n",
"%s",
data->set.postfields );
}
}