Re: WGLC p1: Tear-down

"Adrien W. de Croy" <adrien@qbik.com> Tue, 30 April 2013 02:53 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 F309F21F9BF7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Apr 2013 19:53:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 1fllzjS5yInE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Apr 2013 19:53:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E76E621F9B84 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 Apr 2013 19:53:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UX0h3-0008FS-NX for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Apr 2013 02:53:25 +0000
Resent-Date: Tue, 30 Apr 2013 02:53:25 +0000
Resent-Message-Id: <E1UX0h3-0008FS-NX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1UX0gv-0008Ej-8o for ietf-http-wg@listhub.w3.org; Tue, 30 Apr 2013 02:53:17 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1UX0gu-0003O0-82 for ietf-http-wg@w3.org; Tue, 30 Apr 2013 02:53:17 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v8.0.0 (Build 4545)) with SMTP id <0019683616@smtp.qbik.com>; Tue, 30 Apr 2013 14:52:49 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Zhong Yu <zhong.j.yu@gmail.com>, Ben Niven-Jenkins <ben@niven-jenkins.co.uk>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Tue, 30 Apr 2013 02:52:49 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format="flowed"; charset="utf-8"
In-Reply-To: <54A4521E-18EB-49BB-AA3D-19640FF554F8@mnot.net>
Message-Id: <em8250d35a-13c2-4842-a118-d69ff0da24b1@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/5.0.17595.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-1.253, BAYES_00=-1.9, RP_MATCHES_RCVD=-2.442, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UX0gu-0003O0-82 ddb76f58532a56a64994ca7c241d516a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC p1: Tear-down
Archived-At: <http://www.w3.org/mid/em8250d35a-13c2-4842-a118-d69ff0da24b1@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17706
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>

------ Original Message ------
From: "Mark Nottingham" <mnot@mnot.net>
>
>On 30/04/2013, at 12:38 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>
>>
>>  ------ Original Message ------
>>  From: "Zhong Yu" <zhong.j.yu@gmail.com>
>>>
>>>
>>>
>>>  On Mon, Apr 29, 2013 at 2:33 PM, Ben Niven-Jenkins 
>>><ben@niven-jenkins.co.uk> wrote:
>>>  Section 6.6 of p1 states:
>>>
>>>  OLD:
>>>     the client SHOULD assume that they will not be processed by the 
>>>server.
>>>  NEW:
>>>     the client SHOULD NOT assume that they will be processed by the 
>>>server.
>>>
>>>
>>>  Agreed; an origin server may also process pipelined requests 
>>>concurrently, so request#2 may have been processed when response#1 
>>>causes Connection:close.
>>
>>  Given that it's really hard for a client to predict the future, as to 
>>whether a pipelined request will be processed or not, or whether a 
>>previous resource will return Connection: close or not, and even to 
>>tell whether a request will be truly without side-effects, doesn't 
>>this mean it's just basically dangerous to pipeline full stop?
>>
>>  Do we need a way for a server to communicate which requests may be 
>>made with impunity multiple times, and which should only be made once? 
>>e.g. safe to retry or not. then only pipeline requests that are safe 
>>to retry according to the server (rather than according to some 
>>assumption or heuristic at the client, as such things are inevitably 
>>wrong on occasion).
>
>That's built into the method of the request...
that's what I meant by assume.

UA authors might assume GET is idempotent.  It doesn't stop web 
developers from writing sites that have significant side-effects on GET. 
  Getting these people to indicate safety of retrying is another problem. 
  I guess this is one reason why pipelining isn't that widespread yet.  
Lots of problems with it.

Regards

Adrien

>
>>  A user agent should not pipeline requests after a non-idempotent 
>>method until the final response status code for that method has been 
>>received, unless the user agent has a means to detect and recover from 
>>partial failure conditions involving the pipelined sequence.
>
>--
>Mark Nottingham http://www.mnot.net/
>
>
>