diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2023-03-10 13:15:43 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2023-03-11 18:57:19 -0800 |
commit | ee521a1c889f4cde6905c5db117959917568be9b (patch) | |
tree | d1c0b8a61e0ad324aaece6eb0ecaeb6329a750c1 /docs | |
parent | 970330bdedb7fd943ce3fc0c0272ce7306263506 (diff) | |
download | curl-ee521a1c889f4cde6905c5db117959917568be9b.tar.gz |
http: don't send 100-continue for short PUT requests
This is already how curl is documented to behave in Everything curl, but
in actuality only short POSTs skip this. This should knock 30 seconds
off a full run of the test suite since the 100-continue timeout will no
longer be hit.
Closes #10740
Diffstat (limited to 'docs')
-rw-r--r-- | docs/FAQ | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -990,11 +990,10 @@ FAQ 4.16 My HTTP POST or PUT requests are slow - libcurl makes all POST and PUT requests (except for POST requests with a - tiny request body) use the "Expect: 100-continue" header. This header - allows the server to deny the operation early so that libcurl can bail out - before having to send any data. This is useful in authentication - cases and others. + libcurl makes all POST and PUT requests (except for requests with a small + request body) use the "Expect: 100-continue" header. This header allows the + server to deny the operation early so that libcurl can bail out before having + to send any data. This is useful in authentication cases and others. However, many servers do not implement the Expect: stuff properly and if the server does not respond (positively) within 1 second libcurl will continue |