Skip to content

Commit 7e7af05

Browse files
committed
minor #14995 [HttpClient] Fix specifying http_version in YAML (pableu)
This PR was submitted for the 5.2 branch but it was merged into the 4.4 branch instead. Discussion ---------- [HttpClient] Fix specifying http_version in YAML With the code from the docs, I get this exception: > Unrecognized option "http_version" under "framework.http_client". Available options are "default_options", "enabled", "max_host_connections", "mock_response_factory", "scoped_clients". Maybe the XML and PHP Annotation also needs a fix, but I don't feel confident doing that. Commits ------- 7948311 fix specifying http_version in YAML
2 parents 87adaf0 + 7948311 commit 7e7af05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

http_client.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,8 @@ the ``http_version`` option:
750750
# config/packages/framework.yaml
751751
framework:
752752
http_client:
753-
http_version: '2.0'
753+
default_options:
754+
http_version: '2.0'
754755
755756
.. code-block:: xml
756757

0 commit comments

Comments
 (0)