[GIT-PULLS] [php-src] PR #23245: sapi/cli: support Expect 100-continue in PHP dev server

[email protected] (Sjord)
Newsgroups php.git-pulls
Message-ID <LadTzu6oEPrAMwws8XBywacHogpTfknV3QKhyoSDJ1U@main.internal.php.net>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.