Title: Provide the ability to customise upstream responses
Description:
The ability to customise responses from the upstream (particularly errors) allows Envoy to provide customised web pages to the user which is particularly useful in multi-tenant environments where the default page might be perceived as jarring to the end user. Some functionality does currently exist using LocalReplyConfig, but this has the following limitations:
- The custom responses are always locally defined. This can lead to memory bloat issues in multi-tenant environments.
- ResponseMappers allow for only one filter per custom response.
- Advanced matching/filtering logic is not easy to specify.
- One cannot customise 2xx responses.
This proposal aims to solve the above limitations by defining a new filter to customise upstream responses.
Title: Provide the ability to customise upstream responses
Description:
The ability to customise responses from the upstream (particularly errors) allows Envoy to provide customised web pages to the user which is particularly useful in multi-tenant environments where the default page might be perceived as jarring to the end user. Some functionality does currently exist using LocalReplyConfig, but this has the following limitations:
This proposal aims to solve the above limitations by defining a new filter to customise upstream responses.