Steps
- Check curl --version, prepare a non-sensitive sample.txt, and confirm that the test URL accepts PUT without harmful duplicate effects.
- Replace the example with a controlled endpoint and run curl --max-time 20 --expect100-timeout 2 -H "Expect: 100-continue" -T sample.txt https://upload.example.com/test in Bash. This uploads the file.
- Record the initial wait and final HTTP status. Check the previous outcome before repeating, and use separate test objects rather than production transactions.
Interpretation
--expect100-timeout bounds the wait for a 100 response; curl may then send the body. It is not a connection or whole-upload timeout and does not establish that the server saved the file.
Scope and next steps
If the initial pause changes but transfer remains slow, report the stages separately with server or proxy logs. Avoid automatic retries of non-idempotent operations and redact authentication headers.