Re: I-D Action:draft-snell-http-prefer-03.txt

"Roy T. Fielding" <fielding@gbiv.com> Tue, 29 March 2011 09:47 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 242883A68B1 for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Tue, 29 Mar 2011 02:47:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.562
X-Spam-Level:
X-Spam-Status: No, score=-6.562 tagged_above=-999 required=5 tests=[AWL=4.037, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qSKbbXy3jGwd for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Tue, 29 Mar 2011 02:47:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id 0AD803A68AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 29 Mar 2011 02:47:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Q4VX3-000440-Fc for ietf-http-wg-dist@listhub.w3.org; Tue, 29 Mar 2011 09:48:13 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1Q4VVy-00041X-Q6 for ietf-http-wg@listhub.w3.org; Tue, 29 Mar 2011 09:47:06 +0000
Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a33.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1Q4VVw-0006hH-SH for ietf-http-wg@w3.org; Tue, 29 Mar 2011 09:47:06 +0000
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 28EC259405E; Tue, 29 Mar 2011 02:46:38 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=nFh5rQQDboz22Rhu jlCFAy+/zn1jMzoNk4632IsLxBSCkhu2mPTTCC468LfBwnX9B84viB/WOHzDMEBx FwcMdlUY4YeTg/dXqiTw9ZBodP8MHDM6tI+EMFcN3anaYNYfCochAwF2qRQs1E1I PdVYDXF9Bopj79IXvYPTbslniY0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=t+2Gk/5FCc73NB7bn11qcvtuyZU=; b=dqivGoCHwRzz/e4HvJMC5dzRhVJr BpxXUW3IBharmXwjiss5Ebt9gg7bxRaUo7goIQtwo+lFKbx5F/0QwzZ3Nz5Vd9Y/ MRYkEX4ZhHAb68DHCvkX81ePoZ1YHjRcEsZr7vY34TVAcbRE/6BtEZ9xZvaUYSMF gz32QYYqUp/6lrM=
Received: from dhcp-13fd.meeting.ietf.org (dhcp-13fd.meeting.ietf.org [130.129.19.253]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id 24DF4594059; Tue, 29 Mar 2011 02:46:36 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <10881.1301391060@critter.freebsd.dk>
Date: Tue, 29 Mar 2011 11:46:35 +0200
Cc: Mark Nottingham <mnot@mnot.net>, httpbis mailing list <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BB32FA8E-855D-4155-9715-D7597C5A8438@gbiv.com>
References: <10881.1301391060@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1084)
Received-SPF: none client-ip=208.97.132.119; envelope-from=fielding@gbiv.com; helo=homiemail-a33.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Q4VVw-0006hH-SH 2dfa54bce9012d02f17e16a5e63fb41f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action:draft-snell-http-prefer-03.txt
Archived-At: <http://www.w3.org/mid/BB32FA8E-855D-4155-9715-D7597C5A8438@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/10292
X-Loop: ietf-http-wg@w3.org
Sender: ietf-http-wg-request@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-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Q4VX3-000440-Fc@frink.w3.org>
Resent-Date: Tue, 29 Mar 2011 09:48:13 +0000

On Mar 29, 2011, at 11:31 AM, Poul-Henning Kamp wrote:

> In message <B27105DD-AFD1-451C-B9D7-ED79888A657B@mnot.net>, Mark Nottingham wri
> tes:
> 
>>> A URL for this Internet-Draft is:
>>> http://www.ietf.org/internet-drafts/draft-snell-http-prefer-03.txt
> 
> Couldt we please try to make it a habit to include some kind of use-case
> or justification for these "bolt-on" drafts ?
> 
> It's probably my imagination that is flawed, but the only mental connection
> I can attach to this draft is RFC748, so somebody please explain:
> 
> 1. Whats the point.
> 
> 2. How dows this help.
> 
> 3. How much will it help.
> 
> Poul-Henning

heh, I just asked Mark the same question ...

The goal seems to be to ask for the server's result of a PUT or POST
to be returned as part of the same action instead of requiring the
client to make an additional GET request.

The problem with any such desire is that the mechanism handling
a PUT is not always in control of the resource's final state.  The
reason is simply that the mechanism for handling GET may be an
entirely different system from that handling PUT, may have access
to additional sources of metadata, and may be impacted by background
jobs independent of the HTTP request (i.e., event-based triggers on
content changes that result in workflows being run that eventually
change the content shortly after the client has received its response).
Moreover, the programmer writing the PUT handler is probably not
the same programmer developing those other systems, so this feature
is not going to be very reliable.

I agree, the draft should contain use cases to justify the feature
and make it clear that it may only work with very simple,
synchronous, self-contained implementations.

....Roy