From daee41a40a7de89ec547d838dd1466b0a66cbc6d Mon Sep 17 00:00:00 2001 From: Jonathan Sharpe Date: Sat, 17 Mar 2018 12:50:26 +0000 Subject: [PATCH] docs(aio): update HTTP error test example (#22844) Update the example to match the description preceding it, which refers to the use of the error method and ErrorEvent rather than the flush method with a non-2xx status as shown previously. PR Close #22844 --- aio/content/guide/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index 10dd3b6d43..0c6d903f31 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -1034,7 +1034,7 @@ Call `request.flush()` with an error message, as seen in the following example.