kazuho / draft-kazuho-httpbis-priority

Other
6 stars 4 forks source link

Handling duplicate entries in scheme negotiation list #66

Closed LPardue closed 4 years ago

LPardue commented 4 years ago

When treating the settings parameter value as a list, we need also to describe how to handle duplicates. I suggest duplicates are an error but that we special case zero; something like treating 8-bit zero as a null character terminator, so presenting all zeroes is effectively an empty list.

Originally posted by @LPardue in https://github.com/kazuho/draft-kazuho-httpbis-priority/pull/58#issuecomment-548949779