mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
don't add 2 to the post size, that was a previous mistake because there
was an extra CRLF added to the post data
This commit is contained in:
parent
d3b96dd394
commit
c40b4f6c39
1 changed files with 1 additions and 1 deletions
|
|
@ -831,7 +831,7 @@ CURLcode Curl_http(struct connectdata *conn)
|
|||
data->set.in = (FILE *)&http->form;
|
||||
|
||||
add_bufferf(req_buffer,
|
||||
"Content-Length: %d\r\n", http->postsize-2);
|
||||
"Content-Length: %d\r\n", http->postsize);
|
||||
|
||||
if(!checkheaders(data, "Expect:")) {
|
||||
/* if not disabled explicitly we add a Expect: 100-continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue