expect100-timeout.d 736 B

12345678910111213141516171819
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: expect100-timeout
  4. Arg: <seconds>
  5. Help: How long to wait for 100-continue
  6. Protocols: HTTP
  7. Added: 7.47.0
  8. See-also: connect-timeout
  9. Category: http
  10. Example: --expect100-timeout 2.5 -T file $URL
  11. Multi: single
  12. ---
  13. Maximum time in seconds that you allow curl to wait for a 100-continue
  14. response when curl emits an Expects: 100-continue header in its request. By
  15. default curl waits one second. This option accepts decimal values! When
  16. curl stops waiting, it continues as if the response has been received.
  17. The decimal value needs to provided using a dot (.) as decimal separator - not
  18. the local version even if it might be using another separator.