aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Hauck <[email protected]>2024-04-30 20:57:52 -0700
committerYuchen Wu <[email protected]>2024-05-10 15:22:37 -0700
commit2625a1b42ef4175b61591ce9a0ab31c9cc5a8146 (patch)
treebdaa291d4cd450ff83e859dfed40c0733c336a1e
parentcfb89c6eb5e4c0ff6bb899b2574650ff7e8af4f2 (diff)
downloadpingora-2625a1b42ef4175b61591ce9a0ab31c9cc5a8146.tar.gz
pingora-2625a1b42ef4175b61591ce9a0ab31c9cc5a8146.zip
Add upstream_response_trailer_filter reference to user guide
-rw-r--r--.bleep2
-rw-r--r--docs/user_guide/phase.md6
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.