diff options
author | Andrew Hauck <[email protected]> | 2024-04-30 20:57:52 -0700 |
---|---|---|
committer | Andrew Hauck <[email protected]> | 2024-05-06 16:58:35 +0000 |
commit | 7827cba782cc6bbc71a5327ad5d5731cd6634e69 (patch) | |
tree | bdaa291d4cd450ff83e859dfed40c0733c336a1e | |
parent | bf3723c4fddb34822f273305ceeedad22e8bf2ec (diff) | |
download | pingora-7827cba782cc6bbc71a5327ad5d5731cd6634e69.tar.gz pingora-7827cba782cc6bbc71a5327ad5d5731cd6634e69.zip |
Add upstream_response_trailer_filter reference to user guide
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | docs/user_guide/phase.md | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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. |