]> git.kaiwu.me - nginx.git/commit
Headers filter: added "add_trailer" directive.
authorPiotr Sikora <piotrsikora@google.com>
Fri, 24 Mar 2017 10:37:34 +0000 (03:37 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Fri, 24 Mar 2017 10:37:34 +0000 (03:37 -0700)
commit8310d81dc7751c23ad9693908a593c9f0ff3b196
treed263149f308ecd1dca73daaa5c1f260ebd9160e7
parentd85f2f9e927c2f6db51cca824ed83ff6657c2c92
Headers filter: added "add_trailer" directive.

Trailers added using this directive are evaluated after response body
is processed by output filters (but before it's written to the wire),
so it's possible to use variables calculated from the response body
as the trailer value.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
src/http/modules/ngx_http_headers_filter_module.c