From f481e28689c3f3d46b622c0b24f46962ccf10aaf 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 --- 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 b716849180bc5..c303938e4a4f7 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.