Skip to content

Commit 8fc8457

Browse files
committed
Minor reword
1 parent 1583a3b commit 8fc8457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ When the HTTP status code of the response is not in the 200-299 range (i.e. 3xx,
303303
// because it doesn't check the status code of the response
304304
$content = $response->getContent();
305305

306-
// pass FALSE as the optional argument to not throw an exception and
307-
// return instead the response content even for errors
306+
// pass FALSE as the optional argument to not throw an exception and return
307+
// instead the original response content (even if it's an error message)
308308
$content = $response->getContent(false);
309309

310310
Caching Requests and Responses

0 commit comments

Comments
 (0)