HTTP Origin and Hop Hints and Prefer Header

James M Snell <jasnell@gmail.com> Tue, 12 February 2013 17:02 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 6928621F8FAD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Feb 2013 09:02:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.494
X-Spam-Level:
X-Spam-Status: No, score=-10.494 tagged_above=-999 required=5 tests=[AWL=0.105, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rgGg-+5Qqd22 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Feb 2013 09:02:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DEAE821F8FAA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Feb 2013 09:01:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U5JDm-0003r1-Vs for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Feb 2013 17:00:43 +0000
Resent-Date: Tue, 12 Feb 2013 17:00:42 +0000
Resent-Message-Id: <E1U5JDm-0003r1-Vs@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1U5JDd-0003qC-48 for ietf-http-wg@listhub.w3.org; Tue, 12 Feb 2013 17:00:33 +0000
Received: from mail-oa0-f47.google.com ([209.85.219.47]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1U5JDb-0004GW-Tg for ietf-http-wg@w3.org; Tue, 12 Feb 2013 17:00:33 +0000
Received: by mail-oa0-f47.google.com with SMTP id o17so309403oag.20 for <ietf-http-wg@w3.org>; Tue, 12 Feb 2013 09:00:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=LexKU5VNcqQTEjEKOz8rEzpbbJu+S4HCL+7v9YXnC84=; b=LGPifa0xE1s+UgW20h9lHoksUXtCy+RVh8PhvHC8wXlqfrYt9fDTtq8JxWgz7JnZHR u1Fx6od+Ql9hqiPw/i5j9sxnw9F31TlGbUj3ZdeRnoKGEeCVV84tl4yzOn1be2RpEri2 i2yb1lcjoD9I2cf0nIkVDWFGjvh1fy4uaDUVxGijMYRM/XS04wh2ER+ztg+F6ARJLwc+ 7e9ZrFh2rxR6r/Iqcu3BBAOlg+b0ztHTTKdCPWuShobkgQ3aMDwuqRH/cDmtEM26opz8 xEIoEN6rQ1osvqu8UsMYW8y5Tu993X8Jtgg0eC0tPW5C6PKaSd014ES11bPBOTHKY1qq E8SA==
X-Received: by 10.60.7.67 with SMTP id h3mr13758013oea.31.1360688405727; Tue, 12 Feb 2013 09:00:05 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.19.134 with HTTP; Tue, 12 Feb 2013 08:59:44 -0800 (PST)
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>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.219.47; envelope-from=jasnell@gmail.com; helo=mail-oa0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1U5JDb-0004GW-Tg e68d9635ae690aba25c4b02b1e4fabab
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP Origin and Hop Hints and Prefer Header
Archived-At: <http://www.w3.org/mid/CABP7Rbe7Y7KRVcnL9263KjmNB1k5gfvapXQfFjz5i2iK3kMhZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16587
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>

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