8000 minor #14290 Update http_client.rst (ThomasLandauer) · symfony/symfony-docs@bef97ba · GitHub
[go: up one dir, main page]

Skip to content

Commit bef97ba

Browse files
committed
minor #14290 Update http_client.rst (ThomasLandauer)
This PR was merged into the 4.4 branch. Discussion ---------- Update http_client.rst "contents" -> "content", for consistency with the other code blocks Commits ------- d36ccd4 Update http_client.rst
2 parents b8519f4 + d36ccd4 commit bef97ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http_client.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ immediately instead of waiting to receive the response::
360360
// getting the response headers waits until they arrive
361361
$contentType = $response->getHeaders()['content-type'][0];
362362

363-
// trying to get the response contents will block the execution until
364-
// the full response contents are received
365-
$contents = $response->getContent();
363+
// trying to get the response content will block the execution until
364+
// the full response content is received
365+
$content = $response->getContent();
366366

367367
This component also supports :ref:`streaming responses <http-client-streaming-responses>`
368368
for full asynchronous applications.

0 commit comments

Comments
 (0)
0