From b9fbd9bb03e953fb982d751414b246f7d6128ad9 Mon Sep 17 00:00:00 2001 From: Richard Lea Date: Sat, 24 Aug 2019 18:45:05 +0900 Subject: [PATCH] docs: fix wrong HttpEventType of HttpResponse class (#32296) PR Close #32296 --- 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 b716849180..c303938e4a 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -585,7 +585,7 @@ You may have expected the `intercept()` and `handle()` methods to return observa Instead they return observables of `HttpEvent`. -That's because interceptors work at a lower level than those `HttpClient` methods. A single HTTP request can generate multiple _events_, including upload and download progress events. The `HttpResponse` class itself is actually an event, whose type is `HttpEventType.HttpResponseEvent`. +That's because interceptors work at a lower level than those `HttpClient` methods. A single HTTP request can generate multiple _events_, including upload and download progress events. The `HttpResponse` class itself is actually an event, whose type is `HttpEventType.Response`. Many interceptors are only concerned with the outgoing request and simply return the event stream from `next.handle()` without modifying it.