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

Commitbd0e02f

Browse files
committed
Reword a section
1 parent38d4328 commitbd0e02f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎http_client.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,11 +2293,11 @@ cannot be resolved or the host was unreachable. The
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
2296-
responseasone of theiterable``body`` parts from
2297-
your ``MockResponse`` instance. You can either use an exception
2298-
directly, or yield theexception from a callback. For exceptions of
2299-
this kind,``getStatusCode()`` may indicate a success (200), but
2300-
accessing``getContent()`` fails.
2296+
exception to ``MockResponse``aspart of the ``body``
2297+
parameter. You can either use an exception directly, or yield the
2298+
exception from a callback. For exceptions of this kind,
2299+
``getStatusCode()`` may indicate a success (200), but accessing
2300+
``getContent()`` fails.
23012301

23022302
The following example code illustrates all three options.
23032303

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp