mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:23:39 +03:00
HTTP: increase EXPECT_100_THRESHOLD to 1Mb
Mentioned: https://curl.haxx.se/mail/lib-2020-01/0050.html Closes #4814
This commit is contained in:
parent
c275aa9903
commit
7ff9222ced
9 changed files with 12 additions and 15 deletions
|
|
@ -54,8 +54,8 @@ the POST data from the read callback. If you want to send a zero-byte POST set
|
|||
|
||||
Using POST with HTTP 1.1 implies the use of a "Expect: 100-continue" header,
|
||||
and libcurl will add that header automatically if the POST is either known to
|
||||
be larger than 1024 bytes or if the expected size is unknown. You can disable
|
||||
this header with \fICURLOPT_HTTPHEADER(3)\fP as usual.
|
||||
be larger than 1MB or if the expected size is unknown. You can disable this
|
||||
header with \fICURLOPT_HTTPHEADER(3)\fP as usual.
|
||||
|
||||
To make multipart/formdata posts (aka RFC2388-posts), check out the
|
||||
\fICURLOPT_HTTPPOST(3)\fP option combined with \fIcurl_formadd(3)\fP.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue