From 7827cba782cc6bbc71a5327ad5d5731cd6634e69 Mon Sep 17 00:00:00 2001 From: Andrew Hauck Date: Tue, 30 Apr 2024 20:57:52 -0700 Subject: Add upstream_response_trailer_filter reference to user guide --- .bleep | 2 +- docs/user_guide/phase.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bleep b/.bleep index fe486e4..6fd3f3e 100644 --- a/.bleep +++ b/.bleep @@ -1 +1 @@ -b10bac2a769c0b0307110f10280c9518705512dd \ No newline at end of file +b15d1f685f4842d5cf638286a37e80cf55c3aa58 \ No newline at end of file diff --git a/docs/user_guide/phase.md b/docs/user_guide/phase.md index 5455ed9..a326496 100644 --- a/docs/user_guide/phase.md +++ b/docs/user_guide/phase.md @@ -84,10 +84,10 @@ If the error is not retry-able, the request will end. ### `upstream_request_filter()` This phase is to modify requests before sending to upstream. -### `upstream_response_filter()/upstream_response_body_filter()` -This phase is triggered after an upstream response header/body is received. +### `upstream_response_filter()/upstream_response_body_filter()/upstream_response_trailer_filter()` +This phase is triggered after an upstream response header/body/trailer is received. -This phase is to modify or process response headers (or body) before sending to downstream. Note that this phase is called _prior_ to HTTP caching and therefore any changes made here will affect the response stored in the HTTP cache. +This phase is to modify or process response headers, body, or trailers before sending to downstream. Note that this phase is called _prior_ to HTTP caching and therefore any changes made here will affect the response stored in the HTTP cache. ### `response_filter()/response_body_filter()/response_trailer_filter()` This phase is triggered after a response header/body/trailer is ready to send to downstream. -- cgit v1.2.3