W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2011

Re: Prefer Draft Feedback

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 06 Dec 2011 19:55:14 +0100
Message-ID: <4EDE6512.8090802@gmx.de>
To: James Snell <jasnell@gmail.com>
CC: Alex Rousskov <rousskov@measurement-factory.com>, HTTP Working Group <ietf-http-wg@w3.org>
On 2011-12-06 19:43, James Snell wrote:
> ...
> The grammar for Prefer is modeled closely after the Expect header
> field grammar in Part 2 and adds only the allowance that a preference
> can have it's own value (e.g. "Prefer: wait=10" ...
> ...

Good point:

   Expect       = 1#expectation

   expectation  = "100-continue" / expectation-extension
   expectation-extension = token [ "=" ( token / quoted-string )
                            *expect-params ]
   expect-params = ";" token [ "=" ( token / quoted-string ) ]

So this allows values here as well.

I'm still not too enthusiastic about this, as I haven't seen this in use.

It appears making it a bit simpler wouldn't hurt a lot. So you'd have 
for instance

   Prefer: wait; sec=10

 > ...

Best regards, Julian
Received on Tuesday, 6 December 2011 18:55:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:50 GMT