diff --git a/http_client.rst b/http_client.rst index a1c8f09bc1d..b7643859f23 100644 --- a/http_client.rst +++ b/http_client.rst @@ -1789,6 +1789,17 @@ You can also pass a set of default options to your client thanks to the // ... +.. _auto-upgrade-http-version: + +.. versionadded:: 7.4 + + Starting in Symfony 7.4, the option `auto_upgrade_http_version` can + be set to false to disable automatic HTTP protocol version upgrade when + desired. + + The automatic HTTP version upgrade is always disabled for HTTP/1.0 requests, + regardless of the option value. + HTTPlug ~~~~~~~ @@ -1890,6 +1901,9 @@ You can also pass a set of default options to your client thanks to the // ... + +See :ref:`auto_upgrade_http_version ` option for details about how the HTTP protocol version selection works. + Native PHP Streams ~~~~~~~~~~~~~~~~~~