w3c / baggage

Propagation format for distributed context: Baggage
https://w3c.github.io/baggage/
Other
48 stars 14 forks source link

Test harness to show handling of invalid inputs #131

Open yurishkuro opened 7 months ago

yurishkuro commented 7 months ago

I may be missing something, but should the test harness (https://github.com/w3c/baggage/blob/main/test/test_baggage.py) contain examples of invalid inputs and how to handle them? Right now it only seems to include well-formed inputs.

kalyanaj commented 1 month ago

Thanks for raising this issue.

We discussed this in one of the recent working group meetings:

As discussed in https://github.com/w3c/baggage/issues/137, the behavior for handling invalid baggage entries is undefined. So, we don't think the test harness needs to handle it.