Skip to content

Commit 38d4328

Browse files
Update http_client.rst
Co-authored-by: Nicolas Grekas <[email protected]>
1 parent a252769 commit 38d4328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,7 @@ set the ``error`` option value when creating the ``MockResponse``.
22892289
Transport errors of this kind occur, for example, when a host name
22902290
cannot be resolved or the host was unreachable. The
22912291
``TransportException`` will be thrown as soon as a method like
2292-
``getStatusCode()`` or ``getContent()`` is called.
2292+
``getStatusCode()`` or ``getHeaders()`` is called.
22932293

22942294
In order to test errors that occur while a response is being streamed
22952295
(that is, after the headers have already been received), provide the

0 commit comments

Comments
 (0)