Re: HTTP header field syntax [WAS: Re: Prefer Draft Feedback]

On 2011-12-07 03:45, Amos Jeffries wrote:
> On Tue, 06 Dec 2011 19:46:47 +0100, Julian Reschke wrote:
>>
>> We're trying to find some structure in HTTP header field syntax, see
>> <http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HeaderFieldTypes> for
>> the work-in-progress.
>>
>
> That list of ABNF is missing the pattern that could be called
> "quoted-blob" or such. Things which appear superficially to have the
> syntax of quoted-string but exclude the quoted-pair (or failed to spec
> escaping entirely, with the same end result). ie the string portion may
> contain bare \ characters which will break attempts to use a
> quoted-string parser on it.

Oh, that's something we don't want to encourage!

> Examples for this can be found in the new ETag ABNF from HTTPbis and the
> path= parameter of Digest authentication. Possibly elsewhere I have not
> run into yet.

If "path" does this in Digest for WWW-Authenticate, then Digest is 
broken and we should raise an erratum.

Best regards, Julian

Received on Wednesday, 7 December 2011 09:02:29 UTC