Skip to content

Commit b38dd5f

Browse files
author
Mathieu Lechat
committed
Rewording
1 parent dc953f3 commit b38dd5f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

http_client.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -817,17 +817,21 @@ ensure local networks are made inaccessible to the HTTP client::
817817
Profiling
818818
~~~~~~~~~
819819

820-
When you are using the :class:`Symfony\\Component\\HttpClient\\TraceableHttpClient`
821-
responses content will be kept in memory, which can cause different issues.
820+
When you are using the :class:`Symfony\\Component\\HttpClient\\TraceableHttpClient`,
821+
responses content will be kept in memory and may exhaust it.
822822

823-
You can disable this behavior by setting the ``extra.trace_content`` to ``false``
824-
in your requests’ options::
823+
You can disable this behavior by setting the ``extra.trace_content`` option to ``false``
824+
in your requests::
825825

826826
$response = $client->request('GET', 'https://...', [
827827
'extra' => ['trace_content' => false],
828828
]);
829829

830-
This setting won’t have any effect with other clients.
830+
This setting won’t affect other clients.
831+
832+
.. versionadded:: 5.2
833+
834+
The ``extra.trace_content`` option was introduced in Symfony 5.2.
831835

832836
Performance
833837
-----------

0 commit comments

Comments
 (0)