Re: Prefer Draft Feedback

On Tue, Dec 6, 2011 at 10:46 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> [snip]
>> Overall, the Prefer grammar is more complex than any similar construct I
>> saw in HTTPbis Part 1 or Part 6! If I did not miss any existing cases,
>> would it be possible to simplify the Prefer grammar so that existing
>> parsing code and data structures can be reused to deal with it?
>
>
> +1
>
> I think it should be possible to get rid of the optional preference values
> (they always can be moved into parameters).
>
> 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.
>
>

Hmmm... part of my brain is just screaming about the apparent
simplicity of something like "Prefer: wait=10" as opposed to "Prefer:
wait; v=10" but I can live with it, especially for the sake of
maintaining consistency with other header fields.

I'll work in the suggested changes...

- James

Received on Tuesday, 6 December 2011 18:55:34 UTC