Skip to content

Commit 97d1550

Browse files
committed
Prevent description duplication
1 parent ad908bb commit 97d1550

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

http_client.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1789,11 +1789,13 @@ You can also pass a set of default options to your client thanks to the
17891789

17901790
// ...
17911791

1792+
.. _auto-upgrade-http-version:
1793+
17921794
.. versionadded:: 7.4
17931795

17941796
Starting in Symfony 7.4, the option `auto_upgrade_http_version` can
17951797
be set to false to disable automatic HTTP protocol version upgrade when
1796-
possible.
1798+
desired.
17971799

17981800
The automatic HTTP version upgrade is always disabled for HTTP/1.0 requests,
17991801
regardless of the option value.
@@ -1899,14 +1901,8 @@ You can also pass a set of default options to your client thanks to the
18991901

19001902
// ...
19011903

1902-
.. versionadded:: 7.4
19031904

1904-
Starting in Symfony 7.4, the option `auto_upgrade_http_version` can
1905-
be set to false to disable automatic HTTP protocol version upgrade when
1906-
possible.
1907-
1908-
The automatic HTTP version upgrade is always disabled for HTTP/1.0 requests,
1909-
regardless of the option value.
1905+
See :ref:`auto_upgrade_http_version <auto-upgrade-http-version>` option for details about how the HTTP protocol version selection works.
19101906

19111907
Native PHP Streams
19121908
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)