From d36ccd4c4432b75eea976cc92902e071ce682daf Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sun, 27 Sep 2020 12:06:24 +0200 Subject: [PATCH] Update http_client.rst "contents" -> "content", for consistency with the other code blocks --- http_client.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/http_client.rst b/http_client.rst index 67ad0efb527..ce2b7a8481c 100644 --- a/http_client.rst +++ b/http_client.rst @@ -360,9 +360,9 @@ immediately instead of waiting to receive the response:: // getting the response headers waits until they arrive $contentType = $response->getHeaders()['content-type'][0]; - // trying to get the response contents will block the execution until - // the full response contents are received - $contents = $response->getContent(); + // trying to get the response content will block the execution until + // the full response content is received + $content = $response->getContent(); This component also supports :ref:`streaming responses ` for full asynchronous applications.