config: add support for set_response_headers in a policy (#2171)

* config: add support for set_response_headers in a policy

* docs: add note about precedence
This commit is contained in:
Caleb Doxsey 2021-05-04 09:43:52 -06:00 committed by GitHub
parent 129df47f9c
commit 69576cffe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 514 additions and 471 deletions

File diff suppressed because it is too large Load diff

View file

@ -82,6 +82,7 @@ message Route {
map<string, string> set_request_headers = 22;
repeated string remove_request_headers = 23;
map<string, string> set_response_headers = 41;
repeated RouteRewriteHeader rewrite_response_headers = 40;
bool preserve_host_header = 24;