We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8c12f4 + e21c334 commit 41a502cCopy full SHA for 41a502c
http_client.rst
@@ -891,7 +891,7 @@ Handling Exceptions
891
892
When the HTTP status code of the response is in the 300-599 range (i.e. 3xx,
893
4xx or 5xx) your code is expected to handle it. If you don't do that, the
894
-``getHeaders()`` and ``getContent()`` methods throw an appropriate exception, all of
+``getHeaders()``, ``getContent()`` and ``toArray()`` methods throw an appropriate exception, all of
895
which implement the :class:`Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface`::
896
897
// the response of this request will be a 403 HTTP error
0 commit comments