Re: [EXTERNAL] Proposal adaptation request

On May 12, 2025, at 12:38 PM, Guohui Deng <guohuideng@microsoft.com> wrote:
> 
> Hi Roy and Yoav, 
> 
> Besides "_",  is there something else like "_unknown" a "non-HTTP value that cannot be registered"?
> 
> For us, "_unknown" is better than "_".  I checked "rfc8941" and I don't see any restrictions on the values in that doc. I guess it cannot be registered but I am not sure.
> 
> Cheers,
> Guohui

"_" could theoretically be registered by IETF consensus. It seems unlikely given that nothing "short" is ever registered by consensus. The content-coding grammar is a token

  token          = 1*tchar

  tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
                 / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
                 / DIGIT / ALPHA
                 ; any VCHAR, except delimiters

The nice thing about "_" is that quite a few dead bodies would have to be crossed for that to be registered, and yet it still remains syntactically valid as a token (in case that matters), is easy to check, and looks good.

But, as I said before, it is not an IETF concern so long as it remains inside the API as a non-protocol marker.
If the API allows Unicode, "💩" would also be fine (and even less likely to be a conflict).

....Roy

Received on Monday, 12 May 2025 20:33:12 UTC