mismatch content type should set on_error metadata in json_to_metadata filter (#33073)

* mismatch content type should set on_error metadata in json_to_metadata filter

Signed-off-by: kuochunghsu <kuochunghsu@pinterest.com>

Mirrored from https://github.com/envoyproxy/envoy @ 6aea06a3e9ba5ee7f5537cf0f70a72bdbb35ab72
main
update-envoy[bot] 8 months ago
parent b9c229532c
commit b1201e6146
  1. 2
      envoy/extensions/filters/http/json_to_metadata/v3/json_to_metadata.proto

@ -89,7 +89,7 @@ message JsonToMetadata {
// The value in the KeyValuePair must be set.
KeyValuePair on_missing = 3;
// If the body is too large or fail to parse, apply this metadata KeyValuePair.
// If the body is too large or fail to parse or content-type is mismatched, apply this metadata KeyValuePair.
//
// The value in the KeyValuePair must be set.
KeyValuePair on_error = 4;

Loading…
Cancel
Save