From bc4b9b96eaf03562051c99409d75f79fb9524f4c Mon Sep 17 00:00:00 2001 From: "J. Kalyana Sundaram" Date: Mon, 7 Oct 2024 17:46:30 -0700 Subject: [PATCH] Clarify that the behavior for handling invalid baggage string values is undefined Clarify that the behavior for handling invalid baggage string values is undefined --- baggage/HTTP_HEADER_FORMAT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baggage/HTTP_HEADER_FORMAT.md b/baggage/HTTP_HEADER_FORMAT.md index 184571f..2d0ea3d 100644 --- a/baggage/HTTP_HEADER_FORMAT.md +++ b/baggage/HTTP_HEADER_FORMAT.md @@ -180,4 +180,4 @@ The following mutations are allowed: If a system receiving or updating a `baggage` request header determines that the number of baggage entries exceeds the limit defined in the limits section above, it MAY drop or truncate certain baggage entries in any order chosen by the implementation. -If a system determines that the value of a baggage entry is not in the format defined in this specification, it MAY remove that entry before propagating the baggage header as part of outgoing requests. +If a system determines that the value of `baggage-string` is not in the format defined in this specification, the behavior is undefined. For example, it MAY remove an offending `list-member` before propagating the rest of the `baggage-string`, or MAY decide to not propagate the `baggage-string` at all.