Re: HTTP Origin and Hop Hints and Prefer Header

Mark Nottingham <mnot@mnot.net> Tue, 12 February 2013 20:16 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B26921F8AED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Feb 2013 12:16:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.483
X-Spam-Level:
X-Spam-Status: No, score=-9.483 tagged_above=-999 required=5 tests=[AWL=1.116, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5cfI149zdcR6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Feb 2013 12:16:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8812321F8AF2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Feb 2013 12:16:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U5MG9-0007Xo-S3 for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Feb 2013 20:15:21 +0000
Resent-Date: Tue, 12 Feb 2013 20:15:21 +0000
Resent-Message-Id: <E1U5MG9-0007Xo-S3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1U5MFw-0006yY-IS for ietf-http-wg@listhub.w3.org; Tue, 12 Feb 2013 20:15:08 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1U5MFv-0002NJ-Nl for ietf-http-wg@w3.org; Tue, 12 Feb 2013 20:15:08 +0000
Received: from [192.168.1.80] (unknown [118.209.202.79]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 476D122E255; Tue, 12 Feb 2013 15:14:44 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7Rbe7Y7KRVcnL9263KjmNB1k5gfvapXQfFjz5i2iK3kMhZQ@mail.gmail.com>
Date: Wed, 13 Feb 2013 07:14:40 +1100
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <39687A12-11DD-4478-B52E-3A94E5158B71@mnot.net>
References: <CABP7Rbe7Y7KRVcnL9263KjmNB1k5gfvapXQfFjz5i2iK3kMhZQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-3.336, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1U5MFv-0002NJ-Nl 18feb9b34bb7670356181c9f10aa506d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Origin and Hop Hints and Prefer Header
Archived-At: <http://www.w3.org/mid/39687A12-11DD-4478-B52E-3A94E5158B71@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16589
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hey James,

Those things strike me as things that need to be per-resource, not per-origin... which means I need to add some language to the IANA Considerations section... :)

Cheers,


On 13/02/2013, at 3:59 AM, James M Snell <jasnell@gmail.com> wrote:

> 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
> 

--
Mark Nottingham   http://www.mnot.net/