diff options
author | Andrew Hauck <[email protected]> | 2024-04-30 20:57:52 -0700 |
---|---|---|
committer | Yuchen Wu <[email protected]> | 2024-05-10 15:22:37 -0700 |
commit | 2625a1b42ef4175b61591ce9a0ab31c9cc5a8146 (patch) | |
tree | bdaa291d4cd450ff83e859dfed40c0733c336a1e | |
parent | cfb89c6eb5e4c0ff6bb899b2574650ff7e8af4f2 (diff) | |
download | pingora-2625a1b42ef4175b61591ce9a0ab31c9cc5a8146.tar.gz pingora-2625a1b42ef4175b61591ce9a0ab31c9cc5a8146.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. |