Get desktop application:
View/edit binary Protocol Buffers messages
Custom response policy to internally redirect the original response to a different upstream. [#next-free-field: 7]
The Http URI to redirect the original request to, to get the custom response. It should be a full FQDN with protocol, host and path. Example: .. code-block:: yaml uri: https://www.mydomain.com/path/to/404.txt
Specify elements of the redirect url individually. Note: Do not specify the ``response_code`` field in ``redirect_action``, use ``status_code`` instead. The following fields in ``redirect_action`` are currently not supported, and specifying them will cause the config to be rejected: - ``prefix_rewrite`` - ``regex_rewrite``
The new response status code if specified. This is used to override the status code of the response from the new upstream if it is not an error status.
HTTP headers to add to the response. This allows the response policy to append, to add or to override headers of the original response for local body, or the custom response from the remote body, before it is sent to a downstream client. Note that these are not applied if the redirected response is an error response.
HTTP headers to add to the request before it is internally redirected.
Custom action to modify request headers before selection of the redirected route. [#comment: TODO(pradeepcrao) add an extension category.]