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.
1 parent a252769 commit 38d4328Copy full SHA for 38d4328
http_client.rst
@@ -2289,7 +2289,7 @@ set the ``error`` option value when creating the ``MockResponse``.
2289
Transport errors of this kind occur, for example, when a host name
2290
cannot be resolved or the host was unreachable. The
2291
``TransportException`` will be thrown as soon as a method like
2292
-``getStatusCode()`` or ``getContent()`` is called.
+``getStatusCode()`` or ``getHeaders()`` is called.
2293
2294
In order to test errors that occur while a response is being streamed
2295
(that is, after the headers have already been received), provide the
0 commit comments