W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

HTTP Origin and Hop Hints and Prefer Header

From: James M Snell <jasnell@gmail.com>
Date: Tue, 12 Feb 2013 08:59:44 -0800
Message-ID: <CABP7Rbe7Y7KRVcnL9263KjmNB1k5gfvapXQfFjz5i2iK3kMhZQ@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>
Mark,

The most recent draft looks good. One thing that struck me is that
there seems to be a good alignment between this and the Prefer header.
Currently, there is no way for a client to know whether or not a
server supports Prefer. Hints would be a great way to provide that
information.

For instance...

Async-Responses

   o  Hint Name: pa
   o  Hint Type: origin
   o  Description: When true, indicates that the origin supports
Prefer: respond-async
   o  Value Type: boolean
   o  Contact: jasnell@gmail.com

Minimal Responses

   o  Hint Name: pr
   o  Hint Type: origin
   o  Description: When true, indicates that the origin supports
Prefer: return-minimal and return=representation
   o  Value Type: boolean
   o  Contact: jasnell@gmail.com

Strict and Lenient Handling

   o  Hint Name: ph
   o  Hint Type: origin
   o  Description: When true, indicates that the origin supports
Prefer: handling=strict and handling=lenient
   o  Value Type: boolean
   o  Contact: jasnell@gmail.com

- James
Received on Tuesday, 12 February 2013 17:00:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 12 February 2013 17:00:36 GMT