[php-src] PR #23245: sapi/cli: support Expect 100-continue in PHP dev server
| From: | Sjord | Date: | Thu, 13 Aug 2026 13:14:28 +0000 |
| Subject: | [php-src] PR #23245: sapi/cli: support Expect 100-continue in PHP dev server | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37819@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23245
Author: Sjord
When posting large payloads, curl checks whether the server is ready for the body. It sends an
Expect: 100-continue header and expects HTTP/1.1 100 Continue as the
response before sending the body. The PHP development server did not support this, causing a timeout
in curl. This made such requests take one second longer.
- https://everything.curl.dev/http/post/expect100.html
- https://github.com/php/php-src/issues/23242