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

Commit38d4328

Browse files
Update http_client.rst
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parenta252769 commit38d4328

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)

[8]ページ先頭

©2009-2025 Movatter.jp