Add upstream_response_trailer_filter reference to user guide

This commit is contained in:
Andrew Hauck 2024-04-30 20:57:52 -07:00 committed by Yuchen Wu
parent cfb89c6eb5
commit 2625a1b42e
2 changed files with 4 additions and 4 deletions

2
.bleep
View file

@ -1 +1 @@
b10bac2a769c0b0307110f10280c9518705512dd
b15d1f685f4842d5cf638286a37e80cf55c3aa58

View file

@ -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.