Skip to content

Commit ad908bb

Browse files
committed
[HttpClient] Document new option auto_upgrade_http_version
1 parent 22890da commit ad908bb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

http_client.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1789,6 +1789,15 @@ You can also pass a set of default options to your client thanks to the
17891789

17901790
// ...
17911791

1792+
.. versionadded:: 7.4
1793+
1794+
Starting in Symfony 7.4, the option `auto_upgrade_http_version` can
1795+
be set to false to disable automatic HTTP protocol version upgrade when
1796+
possible.
1797+
1798+
The automatic HTTP version upgrade is always disabled for HTTP/1.0 requests,
1799+
regardless of the option value.
1800+
17921801
HTTPlug
17931802
~~~~~~~
17941803

@@ -1890,6 +1899,15 @@ You can also pass a set of default options to your client thanks to the
18901899

18911900
// ...
18921901

1902+
.. versionadded:: 7.4
1903+
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.
1910+
18931911
Native PHP Streams
18941912
~~~~~~~~~~~~~~~~~~
18951913

0 commit comments

Comments
 (0)