ietf
[Top] [All Lists]

Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard

2011-07-12 03:52:58
On 2011-07-12 10:23, Iñaki Baz Castillo wrote:
2011/7/12 Julian Reschke<julian(_dot_)reschke(_at_)gmx(_dot_)de>:
That being said, I'm not happy with

         extension-param = token [ "=" token ]

In HTTP header fields, parameters usually support both token and
quoted-string form.

Right.


Making this special means that existing header field parser code can't be
easily re-used.

Well, not exaclty as any parser supporting tokens and quoted-strings
would also parse "just" tokens :)

But if they *are* re-used, those recipients will accept quoted-strings as well (thus accepting invalid header fields). This could be harmless, or it could cause them to be used in practice, forcing other recipients to accept them as well.

...

Best regards, Julian
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>