Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb5764a

Browse files
committed
Updated XML and PHP configs too
1 parent7e7af05 commitcb5764a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎http_client.rst‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,9 @@ the ``http_version`` option:
765765
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
766766
767767
<framework:config>
768-
<framework:http-clienthttp-version="2.0"/>
768+
<framework:http-client>
769+
<framework:default-optionshttp-version="2.0"/>
770+
</framework-http-client>
769771
</framework:config>
770772
</container>
771773
@@ -774,7 +776,9 @@ the ``http_version`` option:
774776
// config/packages/framework.php
775777
$container->loadFromExtension('framework', [
776778
'http_client' => [
777-
'http_version' => '2.0',
779+
'default_options' => [
780+
'http_version' => '2.0',
781+
],
778782
],
779783
]);
780784

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp