Re: How big can the protocol elements in HTTP be?

Martin,

> On Oct 25, 2024, at 6:44 AM, Martin Thomson <mt@lowentropy.net> wrote:
> ...
> How big can a URI scheme be?  RFC 3986 doesn't say.  8k for that seems a bit much.  The registry has some long ones though, so maybe I could be conservative and say 256 bytes.

FWIW, IPP caps "uriScheme" values to 63 bytes, which should be good given that the longest registered URI scheme is 36 bytes and we've had that limit in place for 26 years now... :)

________________________
Michael Sweet

Received on Friday, 25 October 2024 15:26:42 UTC