From 1de2e0a4a7fe8c306d9cc8d4bdac8c18ba27d4e3 Mon Sep 17 00:00:00 2001 From: Qimiao Chen Date: Mon, 24 Feb 2020 22:00:11 +0800 Subject: [PATCH] Fix formatting in webflux-webclient.adoc Closes gh-24578 --- src/docs/asciidoc/web/webflux-webclient.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/web/webflux-webclient.adoc b/src/docs/asciidoc/web/webflux-webclient.adoc index 2121f23c7e1..922a50976e1 100644 --- a/src/docs/asciidoc/web/webflux-webclient.adoc +++ b/src/docs/asciidoc/web/webflux-webclient.adoc @@ -496,7 +496,7 @@ Note that (unlike `retrieve()`), with `exchange()`, there are no automatic error [CAUTION] ==== -Unlike `retrieve()`, when using `exchange(), it is the responsibility of the application +Unlike `retrieve()`, when using `exchange()`, it is the responsibility of the application to consume any response content regardless of the scenario (success, error, unexpected data, etc). Not doing so can cause a memory leak. The Javadoc for `ClientResponse` lists all the available options for consuming the body. Generally prefer using `retrieve()`