2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
|
|
|
Long: expect100-timeout
|
|
|
|
Arg: <seconds>
|
|
|
|
Help: How long to wait for 100-continue
|
|
|
|
Protocols: HTTP
|
|
|
|
Added: 7.47.0
|
|
|
|
Category: http
|
|
|
|
Multi: single
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- connect-timeout
|
|
|
|
Example:
|
|
|
|
- --expect100-timeout 2.5 -T file $URL
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--expect100-timeout`
|
|
|
|
|
2023-12-11 20:30:44 -05:00
|
|
|
Maximum time in seconds that you allow curl to wait for a 100-continue
|
|
|
|
response when curl emits an Expects: 100-continue header in its request. By
|
2024-05-15 15:20:32 -04:00
|
|
|
default curl waits one second. This option accepts decimal values. When curl
|
|
|
|
stops waiting, it continues as if a response was received.
|
2023-12-11 20:30:44 -05:00
|
|
|
|
2024-05-15 15:20:32 -04:00
|
|
|
The decimal value needs to provided using a dot (`.`) as decimal separator -
|
|
|
|
not the local version even if it might be using another separator.
|