baggage icon indicating copy to clipboard operation
baggage copied to clipboard

Clarification regarding baggage list-member value

Open lachmatt opened this issue 9 months ago • 0 comments

Definition section defines value as a 0 or more repetitions of baggage-octet.

value = *baggage-octet

Taking that into account, it is allowed for a list-member to have no value.

list-member = key OWS "=" OWS value *( OWS ";" OWS property )

This case is not documented neither in the spec, nor in sample tests.

At the same time, the case for property with no value is documented:

  • in definition section of the spec:

property = key OWS "=" OWS value property =/ key OWS

  • in tests (e.g here)
  • in property section of the spec:

Additional metadata MAY be appended to values in the form of property set, represented as semi-colon ; delimited list of keys and/or key-value pairs, e.g. ;k1=v1;k2;k3=v3.

I think it might be beneficial to document this case, if it is allowed.

lachmatt avatar May 22 '24 12:05 lachmatt