
From ietf-http-wg-request@listhub.w3.org  Wed Feb  1 00:00:53 2012
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 2332E21F8611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 00:00:53 -0800 (PST)
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=[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 QDgUddc7usKw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 00:00:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 95D0B21F860F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Feb 2012 00:00:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RsV74-0000Tx-GJ for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Feb 2012 08:00:18 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <eric@bisonsystems.net>) id 1RsV6p-0000Ln-De for ietf-http-wg@listhub.w3.org; Wed, 01 Feb 2012 08:00:03 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1RsV6j-0004uD-Uo for ietf-http-wg@w3.org; Wed, 01 Feb 2012 08:00:02 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 47B0050A6A; Wed,  1 Feb 2012 02:59:29 -0500 (EST)
Date: Wed, 1 Feb 2012 00:59:31 -0700
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Sebastien Lambla <seb@serialseb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-Id: <20120201005931.0902f663.eric@bisonsystems.net>
In-Reply-To: <CACuKZqE+Vw80aZNzFSOp9bSFoAQa+OYa4Bg91uNrsyBu0CjwDA@mail.gmail.com>
References: <3DDD0BE655869D4EA506652B3803AEF6C3519BA5@PRISM.caffeine-it.net> <CACuKZqE+Vw80aZNzFSOp9bSFoAQa+OYa4Bg91uNrsyBu0CjwDA@mail.gmail.com>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1RsV6j-0004uD-Uo eca7a784150189ba68c06d6fe948d44c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Confusion in preconditions
Archived-At: <http://www.w3.org/mid/20120201005931.0902f663.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12298
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>
Resent-Message-Id: <E1RsV74-0000Tx-GJ@frink.w3.org>
Resent-Date: Wed, 01 Feb 2012 08:00:18 +0000

Zhong Yu wrote:
> 
> One must wonder, the problem of conditionals appears to be very easy.
> We can have a simple model and a simple procedure, that succinctly and
> precisely defines behaviors in any scenario.
> 

I've suggested changing the document order around and trimming the
wording down, this also seems like issue 241:

http://trac.tools.ietf.org/wg/httpbis/trac/ticket/241

>
> Why does the spec instead "beat around the bush", going very
> roundabout ways, only setting some constraints on some scenarios? Are
> readers supposed to solve the riddles to learn the underlying model?
> 

Nonetheless, I didn't find it all that hard to write working code, and
I'm not much of a coder.  Coming up with alternate spec language is
harder.

-Eric


From ietf-http-wg-request@listhub.w3.org  Wed Feb  1 07:40:32 2012
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 2717211E80F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 07:40:32 -0800 (PST)
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=[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 4GnZbeEV+6wI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 07:40:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58E3911E8071 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Feb 2012 07:40:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RscHG-0000yb-3B for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Feb 2012 15:39:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1RscGz-0000wZ-6y for ietf-http-wg@listhub.w3.org; Wed, 01 Feb 2012 15:39:01 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1RscGw-0002Io-QC for ietf-http-wg@w3.org; Wed, 01 Feb 2012 15:39:00 +0000
Received: by vcbfo11 with SMTP id fo11so1282717vcb.2 for <ietf-http-wg@w3.org>; Wed, 01 Feb 2012 07:38:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=o8lU6mvH/UoKwp4ZggZoEVWFnryDb06IhqrKJDUVJrY=; b=sGPzpX65d+ctqHmA9COJwshdKdpmzHqub7NtUtJoSaLLZ3vxtUD2D9l9XpavQ1cEKf iPJ39n3kEgqMrVLzcYV2Ppq/+9ibsvT1DZQh93gelJ58gaiS6YiB6bX9IisWE5bGtsse SDLCIVwPZkDHtDBBmymE06Z7qG74cseRE4T/4=
MIME-Version: 1.0
Received: by 10.220.115.9 with SMTP id g9mr14914927vcq.56.1328110713194; Wed, 01 Feb 2012 07:38:33 -0800 (PST)
Received: by 10.220.192.137 with HTTP; Wed, 1 Feb 2012 07:38:33 -0800 (PST)
In-Reply-To: <3b442e89fa90dc06621b6a1a7fcb6916@treenet.co.nz>
References: <3DDD0BE655869D4EA506652B3803AEF6C3519BA5@PRISM.caffeine-it.net> <CACuKZqE+Vw80aZNzFSOp9bSFoAQa+OYa4Bg91uNrsyBu0CjwDA@mail.gmail.com> <3b442e89fa90dc06621b6a1a7fcb6916@treenet.co.nz>
Date: Wed, 1 Feb 2012 09:38:33 -0600
Message-ID: <CACuKZqExJTgxZeFFrvES5w-FNBFcTkcW+zxrzRO8mX9A+aWU4g@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1RscGw-0002Io-QC 2a3b626c64164d9cbd4f4991755ca963
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Confusion in preconditions
Archived-At: <http://www.w3.org/mid/CACuKZqExJTgxZeFFrvES5w-FNBFcTkcW+zxrzRO8mX9A+aWU4g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12299
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>
Resent-Message-Id: <E1RscHG-0000yb-3B@frink.w3.org>
Resent-Date: Wed, 01 Feb 2012 15:39:18 +0000

On Wed, Feb 1, 2012 at 1:39 AM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 01.02.2012 19:11, Zhong Yu wrote:

> I am pushing to have the conditionals interpreted as a AND condition betw=
een
> all present conditionals.
>
> =A0if anything needs a special status response -> do that
> =A0if any of the conditions is invalid =3D> 412 status
> =A0if ( (If-Match x) AND (If-None-Match y or z) AND (if-modified-since T)=
 AND
> ... ) =3D> 2xx status
> =A0otherwise 304 status

I don't quite understand. According to the current draft -

1) If there's a single If-Match condition and it tests false, we
should return 412.
2) If there's a single If-None-Match condition and it tests false (and
the method is GET/HEAD), we should return 304.

Your pseudo code doesn't seem to behave this way.

Zhong yu


From ietf-http-wg-request@listhub.w3.org  Wed Feb  1 07:49:05 2012
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 3089811E80B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 07:49:05 -0800 (PST)
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=[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 FtsbfCAJvoK7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 07:49:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A1C8811E8071 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Feb 2012 07:49:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RscQS-0004JM-31 for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Feb 2012 15:48:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1RscQH-0004II-6L for ietf-http-wg@listhub.w3.org; Wed, 01 Feb 2012 15:48:37 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1RscQB-0002rq-83 for ietf-http-wg@w3.org; Wed, 01 Feb 2012 15:48:36 +0000
Received: by vcbfo11 with SMTP id fo11so1293968vcb.2 for <ietf-http-wg@w3.org>; Wed, 01 Feb 2012 07:48:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jgMByvwPU/dUFgEUYJUMkrBi/abphLS+2nhVjHGgySY=; b=SseKSTA4ZKaNv4glGnWwSGBz9n9oAccIbPXg6D5YDAGguNeV6eS5XIPpCsvbh9mO9p Q62wK128ggjq/e0fNgJn9C9BLeJ42uT4ZmS1+mbXTif0+zjfa4QMP+NdBG9xyIp7ZEtx yXAzJ/4HqGQY30ImENqqeCkOX5gKXt2oNLM1I=
MIME-Version: 1.0
Received: by 10.52.17.174 with SMTP id p14mr13033995vdd.20.1328111286140; Wed, 01 Feb 2012 07:48:06 -0800 (PST)
Received: by 10.220.192.137 with HTTP; Wed, 1 Feb 2012 07:48:06 -0800 (PST)
In-Reply-To: <20120201005931.0902f663.eric@bisonsystems.net>
References: <3DDD0BE655869D4EA506652B3803AEF6C3519BA5@PRISM.caffeine-it.net> <CACuKZqE+Vw80aZNzFSOp9bSFoAQa+OYa4Bg91uNrsyBu0CjwDA@mail.gmail.com> <20120201005931.0902f663.eric@bisonsystems.net>
Date: Wed, 1 Feb 2012 09:48:06 -0600
Message-ID: <CACuKZqGzAJQAaQv9wh_g3L4pKaLg5cUgAQ78qCy3TPqwmzO18g@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Eric J. Bowman" <eric@bisonsystems.net>
Cc: Sebastien Lambla <seb@serialseb.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1RscQB-0002rq-83 4baeb7bddd3a35815d214918ec8df06e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Confusion in preconditions
Archived-At: <http://www.w3.org/mid/CACuKZqGzAJQAaQv9wh_g3L4pKaLg5cUgAQ78qCy3TPqwmzO18g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12300
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>
Resent-Message-Id: <E1RscQS-0004JM-31@frink.w3.org>
Resent-Date: Wed, 01 Feb 2012 15:48:48 +0000

On Wed, Feb 1, 2012 at 1:59 AM, Eric J. Bowman <eric@bisonsystems.net> wrote:
>> Why does the spec instead "beat around the bush", going very
>> roundabout ways, only setting some constraints on some scenarios? Are
>> readers supposed to solve the riddles to learn the underlying model?
>>
>
> Nonetheless, I didn't find it all that hard to write working code, and
> I'm not much of a coder.

If the spec author or an implementer knows at least one model that
fits all the requirements, it'd be nice to show it to the public.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Feb  1 10:42:41 2012
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 B5EA111E8094 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 10:42:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 yGIj5+H4396g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 10:42:40 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7195311E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Feb 2012 10:42:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rsf7a-0008OV-IO for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Feb 2012 18:41:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jonathan.rees@gmail.com>) id 1Rsf7G-0008M3-IL for ietf-http-wg@listhub.w3.org; Wed, 01 Feb 2012 18:41:10 +0000
Received: from mail-iy0-f171.google.com ([209.85.210.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jonathan.rees@gmail.com>) id 1Rsf7E-0006xT-Dx for ietf-http-wg@w3.org; Wed, 01 Feb 2012 18:41:10 +0000
Received: by iaeh11 with SMTP id h11so2292977iae.2 for <ietf-http-wg@w3.org>; Wed, 01 Feb 2012 10:40:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=INqbKaBHg7uJP7kqqXsPFr1zsp5GkIcVTk+lu3ktT5o=; b=XaQApZbM2TuyUjrLDEE7rkuLJxKMxTTGxa2kZadEVfX1sdy4O24ple1YU7NLvbGBCJ 1Gxjgcp7BIch13CIwEtaxbEwwP9cKMKYIxMQ5nKccxLcnmoqEEKASTfwlXL5U2qStSS3 7PdJ1J+e2SP0qeJGBFMuNchZ+p42vJ4vCHuEs=
Received: by 10.43.133.199 with SMTP id hz7mr22928658icc.35.1328121643022; Wed, 01 Feb 2012 10:40:43 -0800 (PST)
Received: from 31-34-214.wireless.csail.mit.edu (31-34-214.wireless.csail.mit.edu. [128.31.34.214]) by mx.google.com with ESMTPS id lu10sm15794473igc.0.2012.02.01.10.40.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Feb 2012 10:40:42 -0800 (PST)
Sender: Jonathan A Rees <jonathan.rees@gmail.com>
From: Jonathan Rees <rees@mumble.net>
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: multipart/alternative; boundary="Apple-Mail=_A832497D-3A52-45CE-ABE5-CA23E33093B6"
Date: Wed, 1 Feb 2012 13:40:40 -0500
In-Reply-To: <A4780937-AF79-43BA-BCEA-9F9606E27197@gbiv.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <760bcb2a0906150647j33e00457q3a65ffeb124e739c@mail.gmail.com> <4A4AEC63.70405@gmx.de> <760bcb2a0907071344q1a5faf56g19b36c3efd661533@mail.gmail.com> <4A54728B.5070601@gmx.de> <1EB299B3-610E-4A8A-88EB-08EB3EE32BD6@ihmc.us> <8DCF5E71-103C-428B-92FE-F988D3082B1A@gbiv.com> <760bcb2a0907081430m3646a7c3q58ee94164dc66ae2@mail.gmail.com> <A4780937-AF79-43BA-BCEA-9F9606E27197@gbiv.com>
Message-Id: <452E4CBD-DCB7-46AB-BD60-015B0CBCB366@mumble.net>
X-Mailer: Apple Mail (2.1251.1)
Received-SPF: pass client-ip=209.85.210.171; envelope-from=jonathan.rees@gmail.com; helo=mail-iy0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rsf7E-0006xT-Dx 054ea757250da0c0fe1ce0666587def4
X-Original-To: ietf-http-wg@w3.org
Subject: "entirely determined by the URI owner(s)"
Archived-At: <http://www.w3.org/mid/452E4CBD-DCB7-46AB-BD60-015B0CBCB366@mumble.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12301
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>
Resent-Message-Id: <E1Rsf7a-0008OV-IO@frink.w3.org>
Resent-Date: Wed, 01 Feb 2012 18:41:30 +0000

--Apple-Mail=_A832497D-3A52-45CE-ABE5-CA23E33093B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


Looking at =
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#section-7.3.=
4  - I hate to bring this up again - the section is much improved by =
adding "that can be transferred", so what dx.doi.org is doing with =
GET/303 is now compatible - but my concern now is a bit different:

   Note that answers to the
   questions of what can be represented, what representations are
   adequate, and what might be a useful description are outside the
   scope of HTTP and thus entirely determined by the URI owner(s).


=
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#section-7.3.=
4

I think I have just an editorial remark. If you really want to be =
hands-off here, which I think is what you said before, then saying it's =
up to the URI owner(s) is too much of a commitment. It's a non-sequitur, =
anyhow, since outside the scope does not imply it's up to the URI =
owner(s). I recommend simply deleting "and thus entirely determined by =
the URI owner(s)" since it is not meant to, and should not, allow anyone =
to infer anything about authority over what constitutes a =
representation. You just want to say that no representation-of authority =
is granted to *anyone* by HTTP, and that's what the sentence before the =
word "thus" says.

It might also work to say "and thus must be determined by the URI =
owner(s)" - well obviously they have to determine it before they emit a =
200 response, which I think is what you mean, but they have to do it =
subject to what "representation of" means (which is outside the scope of =
HTTP, yes?), not just whimsically. This "must" wording implies a =
responsibility to do the right thing (respond with a current =
representation of the resource) in delivering 200 responses, which =
"entirely determined" does not.

I know I'm splitting semantic hairs around the meaning of the word =
"determine" in this context but... well this is a simple editorial fix =
and I predict the hair will be split by someone else in the future, if =
not by me. I hope I don't need to spell that out further.

-- you don't need to read further if you're convinced already --

Suppose I'm a web contractor and my contract says that representations
of the poem Jabberwocky are to be served at a certain URI.  I say, OK,
the spec says it's entirely up to me, my client has no say, so I will =
say that this representation
carrying a poem about Humpty Dumpty is a representation of
Jabberwocky. I get sued, with the argument that Humpty Dumpty is not a
rep. of Jabberwocky but my contract said it had to be, and I use the
spec saying "entirely determined" as my defense. If I win - well =
personally=20
I think that would be very odd.

Best
Jonathan


--Apple-Mail=_A832497D-3A52-45CE-ABE5-CA23E33093B6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><pre =
class=3D"newpage" style=3D"font-size: 1em; margin-top: 0px; =
margin-bottom: 0px; page-break-before: always; color: rgb(0, 0, 0); =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; widows: 2; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; "><br></pre><pre class=3D"newpage" =
style=3D"font-size: 1em; margin-top: 0px; margin-bottom: 0px; =
page-break-before: always; color: rgb(0, 0, 0); font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; widows: 2; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div =
style=3D"font-family: Helvetica; white-space: normal; font-size: medium; =
">Looking at&nbsp;<a =
href=3D"http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#sect=
ion-7.3.4">http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#s=
ection-7.3.4</a>&nbsp; - I hate to bring this up again - the section is =
much improved by adding "that can be transferred", so what <a =
href=3D"http://dx.doi.org">dx.doi.org</a> is doing with GET/303 is now =
compatible - but my concern now is a bit =
different:</div><div><br></div></pre><pre class=3D"newpage" =
style=3D"font-size: 1em; margin-top: 0px; margin-bottom: 0px; =
page-break-before: always; color: rgb(0, 0, 0); font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; widows: 2; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">   =
Note that answers to the
   questions of what can be represented, what representations are
   adequate, and what might be a useful description are outside the
   scope of HTTP and thus entirely determined by the URI =
owner(s).</pre><div><br></div><div><br></div><div><a =
href=3D"http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#sect=
ion-7.3.4">http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#s=
ection-7.3.4</a></div><div><br></div><div>I think I have just an =
editorial remark.&nbsp;If you really want to be hands-off here, which I =
think is what you said before, then saying it's up to the URI owner(s) =
is too much of a commitment.&nbsp;It's a non-sequitur, anyhow, since =
outside the scope does not imply it's up to the URI owner(s).&nbsp;I =
recommend simply deleting "<span class=3D"Apple-style-span" =
style=3D"font-family: monospace; font-size: 10px; white-space: pre; =
">and thus entirely determined by the URI owner(s)</span>" since it is =
not meant to, and should not, allow anyone to infer anything about =
authority over what constitutes a representation. You just want to say =
that no representation-of authority is granted to *anyone* by HTTP, and =
that's what the sentence before the word "thus" =
says.</div><div><br></div><div>It might also work to say "and thus must =
be determined by the URI owner(s)" - well obviously they have to =
determine it before they emit a 200 response, which I think is what you =
mean, but they have to do it subject to what "representation of" means =
(which is outside the scope of HTTP, yes?), not just whimsically. This =
"must" wording implies a responsibility to do the right thing (respond =
with a current representation of the resource) in delivering 200 =
responses, which "entirely determined" does =
not.</div><div><br></div><div>I know I'm splitting semantic hairs around =
the meaning of the word "determine" in this context but... well this is =
a simple editorial fix and I predict the hair will be split by someone =
else in the future, if not by me. I hope I don't need to spell that out =
further.</div><div><br></div><div>-- you don't need to read further if =
you're convinced already --</div><div><br></div><div><div>Suppose I'm a =
web contractor and my contract says that representations</div><div>of =
the poem Jabberwocky are to be served at a certain URI. &nbsp;I say, =
OK,</div><div>the spec says it's entirely up to me, my client has no =
say, so I will say that this representation</div><div>carrying a poem =
about Humpty Dumpty is a representation of</div><div>Jabberwocky. I get =
sued, with the argument that Humpty Dumpty is not a</div><div>rep. of =
Jabberwocky but my contract said it had to be, and I use =
the</div><div>spec saying "entirely determined" as my defense. If I win =
- well personally&nbsp;</div><div>I think that would be very =
odd.</div><div><br></div></div><div>Best</div><div>Jonathan</div><div><br>=
</div></body></html>=

--Apple-Mail=_A832497D-3A52-45CE-ABE5-CA23E33093B6--


From ietf-http-wg-request@listhub.w3.org  Wed Feb  1 12:50:35 2012
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 549BD11E80F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 12:50:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.618
X-Spam-Level: 
X-Spam-Status: No, score=-7.618 tagged_above=-999 required=5 tests=[AWL=2.981, 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 Suota03Id6CQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 12:50:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B5D3211E80BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Feb 2012 12:50:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rsh7V-0000x6-7i for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Feb 2012 20:49:33 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rsh7I-0000wA-FN for ietf-http-wg@listhub.w3.org; Wed, 01 Feb 2012 20:49:20 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by aji.keio.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rsh7C-0006HM-MK for ietf-http-wg@w3.org; Wed, 01 Feb 2012 20:49:19 +0000
Received: (qmail invoked by alias); 01 Feb 2012 20:48:38 -0000
Received: from p5DCC2F4B.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.47.75] by mail.gmx.net (mp038) with SMTP; 01 Feb 2012 21:48:38 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19LVB1nvdNL2GEGR+1wW5xqPPpgUj/bbc9UdcM1Ma sYcLOwkAaI4L1s
Message-ID: <4F29A521.5050006@gmx.de>
Date: Wed, 01 Feb 2012 21:48:33 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <20120201204455.10052.16547.idtracker@ietfa.amsl.com>
In-Reply-To: <20120201204455.10052.16547.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20120201204455.10052.16547.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1Rsh7C-0006HM-MK d1500d5e499dc29de10a4df3594e6d6f
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: I-D Action: draft-reschke-http-status-308-03.txt
Archived-At: <http://www.w3.org/mid/4F29A521.5050006@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12302
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>
Resent-Message-Id: <E1Rsh7V-0000x6-7i@frink.w3.org>
Resent-Date: Wed, 01 Feb 2012 20:49:33 +0000

FYI: this version (hopefully) addresses the feedback received during the 
Informal Last Call.

Best regards, Julian

PS: Issues list: 
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-issues.html>, 
latest edits 
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-latest.html>

-------- Original Message --------
Subject: I-D Action: draft-reschke-http-status-308-03.txt
Date: Wed, 01 Feb 2012 12:44:55 -0800
From: internet-drafts@ietf.org
Reply-To: internet-drafts@ietf.org
To: i-d-announce@ietf.org


A New Internet-Draft is available from the on-line Internet-Drafts 
directories.

	Title           : The Hypertext Transfer Protocol (HTTP) Status Code 
308 (Permanent Redirect)
	Author(s)       : Julian F. Reschke
	Filename        : draft-reschke-http-status-308-03.txt
	Pages           : 8
	Date            : 2012-02-01

    This document specifies the additional HyperText Transfer Protocol
    (HTTP) Status Code 308 (Permanent Redirect).


A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-reschke-http-status-308-03.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-reschke-http-status-308-03.txt

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt



From ietf-http-wg-request@listhub.w3.org  Wed Feb  1 22:06:59 2012
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 AA7E321F89CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 22:06:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.607
X-Spam-Level: 
X-Spam-Status: No, score=-9.607 tagged_above=-999 required=5 tests=[AWL=0.992, 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 KAaMlTdybQGy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Feb 2012 22:06:59 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C13221F89CA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Feb 2012 22:06:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rspmw-0006Hz-0G for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Feb 2012 06:04:54 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Rspmd-0006H5-2m for ietf-http-wg@listhub.w3.org; Thu, 02 Feb 2012 06:04:35 +0000
Received: from [2002:3a1c:99e9:0:206:5bff:fe7c:b8a] (helo=treenet.co.nz) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RspmY-0002ft-VR for ietf-http-wg@w3.org; Thu, 02 Feb 2012 06:04:33 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 2E6B7E6D60; Thu,  2 Feb 2012 19:03:55 +1300 (NZDT)
Message-ID: <4F2A2747.1020208@treenet.co.nz>
Date: Thu, 02 Feb 2012 19:03:51 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: ietf-http-wg@w3.org
References: <3DDD0BE655869D4EA506652B3803AEF6C3519BA5@PRISM.caffeine-it.net> <CACuKZqE+Vw80aZNzFSOp9bSFoAQa+OYa4Bg91uNrsyBu0CjwDA@mail.gmail.com> <3b442e89fa90dc06621b6a1a7fcb6916@treenet.co.nz> <CACuKZqExJTgxZeFFrvES5w-FNBFcTkcW+zxrzRO8mX9A+aWU4g@mail.gmail.com>
In-Reply-To: <CACuKZqExJTgxZeFFrvES5w-FNBFcTkcW+zxrzRO8mX9A+aWU4g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2002:3a1c:99e9:0:206:5bff:fe7c:b8a; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1RspmY-0002ft-VR 6e725e377c79c02a3adf07607dd9da65
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Confusion in preconditions
Archived-At: <http://www.w3.org/mid/4F2A2747.1020208@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12303
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>
Resent-Message-Id: <E1Rspmw-0006Hz-0G@frink.w3.org>
Resent-Date: Thu, 02 Feb 2012 06:04:54 +0000

On 2/02/2012 4:38 a.m., Zhong Yu wrote:
> On Wed, Feb 1, 2012 at 1:39 AM, Amos Jeffries<squid3@treenet.co.nz>  wrote:
>> On 01.02.2012 19:11, Zhong Yu wrote:
>> I am pushing to have the conditionals interpreted as a AND condition between
>> all present conditionals.
>>
>>   if anything needs a special status response ->  do that
>>   if any of the conditions is invalid =>  412 status
>>   if ( (If-Match x) AND (If-None-Match y or z) AND (if-modified-since T) AND
>> ... ) =>  2xx status
>>   otherwise 304 status
> I don't quite understand. According to the current draft -
>
> 1) If there's a single If-Match condition and it tests false, we
> should return 412.

That would be "special status....".

> 2) If there's a single If-None-Match condition and it tests false (and
> the method is GET/HEAD), we should return 304.

"otherwise ..."

>
> Your pseudo code doesn't seem to behave this way.
>
> Zhong yu



From ietf-http-wg-request@listhub.w3.org  Thu Feb  2 05:36:39 2012
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 3267021F889C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Feb 2012 05:36:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.011
X-Spam-Level: 
X-Spam-Status: No, score=-8.011 tagged_above=-999 required=5 tests=[AWL=2.588, 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 y0-YdTOaB+WQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Feb 2012 05:36:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B016821F8898 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Feb 2012 05:36:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rswou-0005tA-B3 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Feb 2012 13:35:24 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rswog-0005sC-KT for ietf-http-wg@listhub.w3.org; Thu, 02 Feb 2012 13:35:10 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by aji.keio.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rswoc-0004Ya-09 for ietf-http-wg@w3.org; Thu, 02 Feb 2012 13:35:09 +0000
Received: (qmail invoked by alias); 02 Feb 2012 13:34:32 -0000
Received: from p3EE278DD.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.120.221] by mail.gmx.net (mp069) with SMTP; 02 Feb 2012 14:34:32 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/ON2kL5/vOo9sJJMD8Pz75VFjHTs33uNbaohbTsN r45rW5VkmzpnVF
Message-ID: <4F2A90E0.1010909@gmx.de>
Date: Thu, 02 Feb 2012 14:34:24 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net>
In-Reply-To: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1Rswoc-0004Ya-09 0abb52d8ea92fff07baa5b9a54180147
X-Original-To: ietf-http-wg@w3.org
Subject: Security Properties, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/4F2A90E0.1010909@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12304
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>
Resent-Message-Id: <E1Rswou-0005tA-B3@frink.w3.org>
Resent-Date: Thu, 02 Feb 2012 13:35:24 +0000

On 2012-01-24 04:55, Mark Nottingham wrote:
> ...
>    Feb 2012    Working Group Last Call for HTTP Security Properties
> ...

Out of curiosity: this document hasn't changes since March 2010. Do we 
plan to do any additional work on it?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Feb  2 13:52:27 2012
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 6A9C721F84A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Feb 2012 13:52:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.44
X-Spam-Level: 
X-Spam-Status: No, score=-8.44 tagged_above=-999 required=5 tests=[BAYES_20=-0.74, MIME_8BIT_HEADER=0.3, 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 WnO68c7OEP-Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Feb 2012 13:52:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 67D2221F8528 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Feb 2012 13:52:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rt4Yp-0005Gg-DU for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Feb 2012 21:51:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <annevk@opera.com>) id 1Rt4YW-0005DF-1I for ietf-http-wg@listhub.w3.org; Thu, 02 Feb 2012 21:51:00 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <annevk@opera.com>) id 1Rt4YT-0004aO-Sn for ietf-http-wg@w3.org; Thu, 02 Feb 2012 21:50:59 +0000
Received: from annevk-macbookpro.local (a82-161-179-17.adsl.xs4all.nl [82.161.179.17]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q12LoO8b029717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 2 Feb 2012 21:50:25 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: =?utf-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "HTTP Working Group" <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de>
Date: Thu, 02 Feb 2012 22:50:24 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Anne van Kesteren" <annevk@opera.com>
Organization: Opera Software
Message-ID: <op.v82myadp64w2qv@annevk-macbookpro.local>
In-Reply-To: <4F285AB3.4090506@gmx.de>
User-Agent: Opera Mail/11.60 (MacIntel)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=annevk@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rt4YT-0004aO-Sn 897727b498ea52c7591ab49d261dd172
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/op.v82myadp64w2qv@annevk-macbookpro.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12305
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>
Resent-Message-Id: <E1Rt4Yp-0005Gg-DU@frink.w3.org>
Resent-Date: Thu, 02 Feb 2012 21:51:19 +0000

On Tue, 31 Jan 2012 22:18:43 +0100, Julian Reschke <julian.reschke@gmx.de>  
wrote:
> So overall, I think it's better to stick to
>
>    encoding="value"
>
> and hard-wire the value to "UTF-8". (I'm open to renaming the parameter  
> to "enc" or "charset")

Other than XML, is there a precedent for using "encoding"? Most places use  
"charset" I think (HTTP, CSS, HTML).


-- 
Anne van Kesteren
http://annevankesteren.nl/


From ietf-http-wg-request@listhub.w3.org  Thu Feb  2 17:01:15 2012
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 99A8011E8075 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Feb 2012 17:01:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.533
X-Spam-Level: 
X-Spam-Status: No, score=-8.533 tagged_above=-999 required=5 tests=[AWL=2.066, 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 OVYI7y5jwSm5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Feb 2012 17:01:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C1C3411E8071 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Feb 2012 17:01:14 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rt7VK-0006RE-Nv for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Feb 2012 00:59:54 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rt7V6-0006QH-6m for ietf-http-wg@listhub.w3.org; Fri, 03 Feb 2012 00:59:40 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rt7V1-0003N3-4S for ietf-http-wg@w3.org; Fri, 03 Feb 2012 00:59:39 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 254D722E258; Thu,  2 Feb 2012 19:59:04 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F2A90E0.1010909@gmx.de>
Date: Fri, 3 Feb 2012 11:58:59 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0B467AA9-B006-4400-89F5-AE4207C23C74@mnot.net>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net> <4F2A90E0.1010909@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1Rt7V1-0003N3-4S 831e68c79327119348fea2f009075ceb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Security Properties, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/0B467AA9-B006-4400-89F5-AE4207C23C74@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12306
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>
Resent-Message-Id: <E1Rt7VK-0006RE-Nv@frink.w3.org>
Resent-Date: Fri, 03 Feb 2012 00:59:54 +0000

On 03/02/2012, at 12:34 AM, Julian Reschke wrote:

> On 2012-01-24 04:55, Mark Nottingham wrote:
>> ...
>>   Feb 2012    Working Group Last Call for HTTP Security Properties
>> ...
>=20
> Out of curiosity: this document hasn't changes since March 2010. Do we =
plan to do any additional work on it?


That's a good question. Originally, this document was put into our =
charter to address the need for Mandatory-to-Implement security in HTTP; =
since we couldn't make it a hard requirement, it was thought that =
educating users / implementers / administrators was the next best thing.

In the meantime, it's been difficult to get forward momentum on the =
document (perhaps because it is so broad, and because for it to be =
useful, it needs to be detailed; however, if it's detailed, it will =
likely become stale quickly, IMO).=20

We should discuss this as part of re-chartering; if HTTP/2.0 has MTI =
security, it could change things.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Fri Feb  3 20:01:30 2012
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 1AC1711E80A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Feb 2012 20:01:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.499
X-Spam-Level: 
X-Spam-Status: No, score=-7.499 tagged_above=-999 required=5 tests=[AWL=0.500, BAYES_50=0.001, 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 0QL-uRNTfhHE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Feb 2012 20:01:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2E19E11E80A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Feb 2012 20:01:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RtWmP-000469-Dl for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Feb 2012 03:59:13 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1RtWlo-00044c-Lb for ietf-http-wg@listhub.w3.org; Sat, 04 Feb 2012 03:58:36 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1RtWll-0004YU-Rp for ietf-http-wg@w3.org; Sat, 04 Feb 2012 03:58:35 +0000
Received: (qmail invoked by alias); 04 Feb 2012 03:58:07 -0000
Received: from dslb-094-222-141-016.pools.arcor-ip.net (EHLO HIVE) [94.222.141.16] by mail.gmx.net (mp017) with SMTP; 04 Feb 2012 04:58:07 +0100
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1+VhWgcOlqVURmvnfGdRA2O2MEWgZYSCyT3M8cevU nxww7ztZp1ekjb
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: "Anne van Kesteren" <annevk@opera.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, "Julian Reschke" <julian.reschke@gmx.de>, "HTTP Working Group" <ietf-http-wg@w3.org>
Date: Sat, 04 Feb 2012 04:58:07 +0100
Message-ID: <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local>
In-Reply-To: <op.v82myadp64w2qv@annevk-macbookpro.local>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RtWll-0004YU-Rp c363ec1991418b7185a9b1cc548e5353
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12307
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>
Resent-Message-Id: <E1RtWmP-000469-Dl@frink.w3.org>
Resent-Date: Sat, 04 Feb 2012 03:59:13 +0000

* Anne van Kesteren wrote:
>Other than XML, is there a precedent for using "encoding"? Most places use  
>"charset" I think (HTTP, CSS, HTML).

DOM Level 3 Core uses xmlEncoding and inputEncoding, XSLT uses output-
encoding, .NET uses System.Text.Encoding.*, Google search uses "ie" and
"oe" parameters indicating "encoding", ... It seems unlikely you could
make a sensible argument about usage (outside the context of HTTP
headers, which includes "HTML") to choose one over the other here.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Fri Feb  3 23:15:47 2012
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 6B99A21F84E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Feb 2012 23:15:47 -0800 (PST)
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=[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 g8sFA6jesiLk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Feb 2012 23:15:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8568121F84E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Feb 2012 23:15:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RtZpI-0001kc-6c for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Feb 2012 07:14:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <annevk@opera.com>) id 1RtZoz-0001j8-Fu for ietf-http-wg@listhub.w3.org; Sat, 04 Feb 2012 07:14:05 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <annevk@opera.com>) id 1RtZow-00026e-Mj for ietf-http-wg@w3.org; Sat, 04 Feb 2012 07:14:04 +0000
Received: from annevk-macbookpro.local (a83-160-99-114.adsl.xs4all.nl [83.160.99.114]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q147DSIi024522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Feb 2012 07:13:29 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: =?utf-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>, "Julian Reschke" <julian.reschke@gmx.de>, "HTTP Working Group" <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de>
Date: Sat, 04 Feb 2012 08:13:31 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Anne van Kesteren" <annevk@opera.com>
Organization: Opera Software
Message-ID: <op.v847ottn64w2qv@annevk-macbookpro.local>
In-Reply-To: <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de>
User-Agent: Opera Mail/11.60 (MacIntel)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=annevk@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RtZow-00026e-Mj 5313edc2000dbec5fe9bd1183e73521c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/op.v847ottn64w2qv@annevk-macbookpro.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12308
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>
Resent-Message-Id: <E1RtZpI-0001kc-6c@frink.w3.org>
Resent-Date: Sat, 04 Feb 2012 07:14:24 +0000

On Sat, 04 Feb 2012 04:58:07 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>  
wrote:
> * Anne van Kesteren wrote:
>> Other than XML, is there a precedent for using "encoding"? Most places  
>> use "charset" I think (HTTP, CSS, HTML).
>
> DOM Level 3 Core uses xmlEncoding and inputEncoding, XSLT uses output-
> encoding, .NET uses System.Text.Encoding.*, Google search uses "ie" and
> "oe" parameters indicating "encoding", ... It seems unlikely you could
> make a sensible argument about usage (outside the context of HTTP
> headers, which includes "HTML") to choose one over the other here.

Well, CSS has @charset, and HTML has a charset attribute. And xmlEncoding  
and inputEncoding are on their way out. I think it would make more sense  
to keep using charset as a keyword.


-- 
Anne van Kesteren
http://annevankesteren.nl/


From ietf-http-wg-request@listhub.w3.org  Sat Feb  4 03:58:08 2012
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 1A5E121F85A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Feb 2012 03:58:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.658
X-Spam-Level: 
X-Spam-Status: No, score=-7.658 tagged_above=-999 required=5 tests=[AWL=2.941, 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 rDimRVNn9611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Feb 2012 03:58:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 819BD21F857F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Feb 2012 03:58:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RteEF-0006sj-6o for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Feb 2012 11:56:27 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RteE3-0006rk-52 for ietf-http-wg@listhub.w3.org; Sat, 04 Feb 2012 11:56:15 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RteDs-0001pI-2M for ietf-http-wg@w3.org; Sat, 04 Feb 2012 11:56:09 +0000
Received: (qmail invoked by alias); 04 Feb 2012 11:55:37 -0000
Received: from p5DCC2D12.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.45.18] by mail.gmx.net (mp012) with SMTP; 04 Feb 2012 12:55:37 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19W2b5QrFJWSdGMDFb1QtgYmg+7AyIdvzP3M5uVQr bIgVm9qGZzOaSk
Message-ID: <4F2D1CAE.4030509@gmx.de>
Date: Sat, 04 Feb 2012 12:55:26 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Anne van Kesteren <annevk@opera.com>
CC: Bjoern Hoehrmann <derhoermi@gmx.net>, =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xycw==?= =?UTF-8?B?dCI=?= <duerst@it.aoyama.ac.jp>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de> <op.v847ottn64w2qv@annevk-macbookpro.local>
In-Reply-To: <op.v847ottn64w2qv@annevk-macbookpro.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RteDs-0001pI-2M b21cd3a6c288370fdf278092c6afc776
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/4F2D1CAE.4030509@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12309
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>
Resent-Message-Id: <E1RteEF-0006sj-6o@frink.w3.org>
Resent-Date: Sat, 04 Feb 2012 11:56:27 +0000

On 2012-02-04 08:13, Anne van Kesteren wrote:
> On Sat, 04 Feb 2012 04:58:07 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>
> wrote:
>> * Anne van Kesteren wrote:
>>> Other than XML, is there a precedent for using "encoding"? Most
>>> places use "charset" I think (HTTP, CSS, HTML).
>>
>> DOM Level 3 Core uses xmlEncoding and inputEncoding, XSLT uses output-
>> encoding, .NET uses System.Text.Encoding.*, Google search uses "ie" and
>> "oe" parameters indicating "encoding", ... It seems unlikely you could
>> make a sensible argument about usage (outside the context of HTTP
>> headers, which includes "HTML") to choose one over the other here.
>
> Well, CSS has @charset, and HTML has a charset attribute. And
> xmlEncoding and inputEncoding are on their way out. I think it would
> make more sense to keep using charset as a keyword.

One thing that bothers me more is potential confusion with specifying 
the charset of parameters in WWW-Authenticate.

People who do not read specs might read the following

   WWW-Authenticate: Basic realm="something", charset="UTF-8"

as

   "something" is encoded in UTF-8.

Now there's not a lot we can do about people not reading specs, but how 
about:

   WWW-Authenticate: Basic realm="something", accept-charset="UTF-8"

? (Stolen from 
<http://www.w3.org/TR/html4/interact/forms.html#adef-accept-charset>)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 03:58:47 2012
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 C5C0B21F852B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 03:58:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.52
X-Spam-Level: 
X-Spam-Status: No, score=-9.52 tagged_above=-999 required=5 tests=[AWL=1.080, 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 A8d0b5TaUN5h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 03:58:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 602E521F853D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 03:58:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru0iD-0004pk-5v for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 11:56:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <annevk@opera.com>) id 1Ru0i0-0004mh-TF for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 11:56:40 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <annevk@opera.com>) id 1Ru0hy-0002S3-1S for ietf-http-wg@w3.org; Sun, 05 Feb 2012 11:56:40 +0000
Received: from annevk-macbookpro.local (a82-161-179-17.adsl.xs4all.nl [82.161.179.17]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q15Bu5es005631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 5 Feb 2012 11:56:07 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>, =?utf-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>, "HTTP Working Group" <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de> <op.v847ottn64w2qv@annevk-macbookpro.local> <4F2D1CAE.4030509@gmx.de>
Date: Sun, 05 Feb 2012 12:56:07 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Anne van Kesteren" <annevk@opera.com>
Organization: Opera Software
Message-ID: <op.v87fftq364w2qv@annevk-macbookpro.local>
In-Reply-To: <4F2D1CAE.4030509@gmx.de>
User-Agent: Opera Mail/11.60 (MacIntel)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=annevk@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ru0hy-0002S3-1S a5ae3ac912a53504588c009709ec8739
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/op.v87fftq364w2qv@annevk-macbookpro.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12310
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>
Resent-Message-Id: <E1Ru0iD-0004pk-5v@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 11:56:53 +0000

On Sat, 04 Feb 2012 12:55:26 +0100, Julian Reschke <julian.reschke@gmx.de>  
wrote:
> Now there's not a lot we can do about people not reading specs, but how  
> about:
>
>    WWW-Authenticate: Basic realm="something", accept-charset="UTF-8"

Works for me. It only accepts "UTF-8" (case-insensitive) as value right?


-- 
Anne van Kesteren
http://annevankesteren.nl/


From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 04:59:18 2012
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 DC4C321F84F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 04:59:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.864
X-Spam-Level: 
X-Spam-Status: No, score=-6.864 tagged_above=-999 required=5 tests=[AWL=3.735, 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 uUsHCAtEHoFE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 04:59:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C17E21F8474 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 04:59:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru1fR-0007ma-O8 for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 12:58:05 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <James.H.Manger@team.telstra.com>) id 1Ru1fD-0007lH-0h for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 12:57:51 +0000
Received: from ipxano.tcif.telstra.com.au ([203.35.82.200]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1Ru1ew-0005y4-8o for ietf-http-wg@w3.org; Sun, 05 Feb 2012 12:57:40 +0000
X-IronPort-AV: E=Sophos;i="4.73,364,1325422800";  d="scan'208";a="65801081"
Received: from unknown (HELO ipcani.tcif.telstra.com.au) ([10.97.216.200]) by ipoani.tcif.telstra.com.au with ESMTP; 05 Feb 2012 23:57:04 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6610"; a="50220423"
Received: from wsmsg3702.srv.dir.telstra.com ([172.49.40.170]) by ipcani.tcif.telstra.com.au with ESMTP; 05 Feb 2012 23:57:04 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3702.srv.dir.telstra.com ([172.49.40.170]) with mapi; Sun, 5 Feb 2012 23:57:03 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: "annevk@opera.com" <annevk@opera.com>, "julian.reschke@gmx.de" <julian.reschke@gmx.de>
CC: "derhoermi@gmx.net" <derhoermi@gmx.net>, "duerst@it.aoyama.ac.jp" <duerst@it.aoyama.ac.jp>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 5 Feb 2012 23:57:01 +1100
Thread-Topic: paramname in draft-reschke-basicauth-enc-04
Thread-Index: AczkBadVQMCvAObTS82uaaBrWwL85g==
Message-ID: <A6DF3E0A-40DA-4760-817B-2A517837457D@team.telstra.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.82.200; envelope-from=James.H.Manger@team.telstra.com; helo=ipxano.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Ru1ew-0005y4-8o 8550cd2ed00331ef8af545538f0c4b2d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/A6DF3E0A-40DA-4760-817B-2A517837457D@team.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12311
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>
Resent-Message-Id: <E1Ru1fR-0007ma-O8@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 12:58:05 +0000

PiBXV1ctQXV0aGVudGljYXRlOiBCYXNpYyByZWFsbT0ic29tZXRoaW5nIiwgYWNjZXB0LWNoYXJz
ZXQ9IlVURi04Ig0KDQoyNCBjaGFycyBmb3IgYSAxLWJpdCBmbGFnPw0KSG93IGFib3V0Og0KV1dX
LUF1dGhlbnRpY2F0ZTogQmFzaWMgcmVhbG09InNvbWV0aGluZyIsIHY9Mg0KDQotLQ0KSmFtZXMg
TWFuZ2VyDQo=


From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 05:18:21 2012
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 B8C1421F84A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:18:21 -0800 (PST)
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=[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 80kgTQdW-31D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:18:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EC28521F84A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 05:18:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru1yL-00039x-Qd for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 13:17:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stefan.eissing@greenbytes.de>) id 1Ru1y9-00038W-UK for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 13:17:25 +0000
Received: from mail.greenbytes.de ([217.91.35.233] helo=donbot.greenbytes.de) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stefan.eissing@greenbytes.de>) id 1Ru1y7-0007DP-B8 for ietf-http-wg@w3.org; Sun, 05 Feb 2012 13:17:25 +0000
Received: from [192.168.178.36] (unknown [188.100.249.218]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by donbot.greenbytes.de (Postfix) with ESMTPSA id 99B20C4CB4D; Sun,  5 Feb 2012 14:16:58 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset=iso-8859-1
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <op.v87fftq364w2qv@annevk-macbookpro.local>
Date: Sun, 5 Feb 2012 14:16:57 +0100
Cc: "Julian Reschke" <julian.reschke@gmx.de>, "Bjoern Hoehrmann" <derhoermi@gmx.net>, =?iso-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>, "HTTP Working Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D07DD322-C80B-40A8-B70E-13944E03EE94@greenbytes.de>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de> <op.v847ottn64w2qv@annevk-macbookpro.local> <4F2D1CAE.4030509@gmx.de> <op.v87fftq364w2qv@annevk-macbookpro.local>
To: "Anne van Kesteren" <annevk@opera.com>
X-Mailer: Apple Mail (2.1251.1)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=donbot.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ru1y7-0007DP-B8 889c20fae5e24b676709ba43510520f9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/D07DD322-C80B-40A8-B70E-13944E03EE94@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12312
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>
Resent-Message-Id: <E1Ru1yL-00039x-Qd@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 13:17:37 +0000

For "basic" that would be reasonable. Is this also intended to work
for Digest or NTLM?=20

If so, it would be useful for legacy systems that have stored password
hashes in other encodings to announce the encoding they need. (If I =
remember
implementation of digest and ntlm correctly)

//Stefan

Am 05.02.2012 um 12:56 schrieb Anne van Kesteren:

> On Sat, 04 Feb 2012 12:55:26 +0100, Julian Reschke =
<julian.reschke@gmx.de> wrote:
>> Now there's not a lot we can do about people not reading specs, but =
how about:
>>=20
>>   WWW-Authenticate: Basic realm=3D"something", accept-charset=3D"UTF-8"=

>=20
> Works for me. It only accepts "UTF-8" (case-insensitive) as value =
right?
>=20
>=20
> --=20
> Anne van Kesteren
> http://annevankesteren.nl/
>=20

<green/>bytes GmbH
Hafenweg 16, 48155 M=FCnster, Germany
Phone: +49 251 2807760. Amtsgericht M=FCnster: HRB5782





From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 05:36:43 2012
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 EF3E621F8507 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:36:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.675
X-Spam-Level: 
X-Spam-Status: No, score=-7.675 tagged_above=-999 required=5 tests=[AWL=2.924, 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 WhK3Qfi-sMHt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:36:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EA37621F84F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 05:36:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru2Fx-0005W0-R7 for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 13:35:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ru2Fm-0005V6-KY for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 13:35:38 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ru2Fi-0008Jr-8Z for ietf-http-wg@w3.org; Sun, 05 Feb 2012 13:35:37 +0000
Received: (qmail invoked by alias); 05 Feb 2012 13:35:07 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp031) with SMTP; 05 Feb 2012 14:35:07 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Z8RgAJqfZgfL13F9wQ49/rK2PzRdfBlBRoe8kA6 KTtTgAJmRfIxHj
Message-ID: <4F2E8584.4000905@gmx.de>
Date: Sun, 05 Feb 2012 14:35:00 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Anne van Kesteren <annevk@opera.com>
CC: Bjoern Hoehrmann <derhoermi@gmx.net>, =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xycw==?= =?UTF-8?B?dCI=?= <duerst@it.aoyama.ac.jp>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de> <op.v847ottn64w2qv@annevk-macbookpro.local> <4F2D1CAE.4030509@gmx.de> <op.v87fftq364w2qv@annevk-macbookpro.local>
In-Reply-To: <op.v87fftq364w2qv@annevk-macbookpro.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ru2Fi-0008Jr-8Z d5c825b4d2bfb997bec7e472e45b022a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/4F2E8584.4000905@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12313
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>
Resent-Message-Id: <E1Ru2Fx-0005W0-R7@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 13:35:49 +0000

On 2012-02-05 12:56, Anne van Kesteren wrote:
> On Sat, 04 Feb 2012 12:55:26 +0100, Julian Reschke
> <julian.reschke@gmx.de> wrote:
>> Now there's not a lot we can do about people not reading specs, but
>> how about:
>>
>> WWW-Authenticate: Basic realm="something", accept-charset="UTF-8"
>
> Works for me. It only accepts "UTF-8" (case-insensitive) as value right?

Yes. that's the plan.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 05:37:20 2012
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 6462321F847D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:37:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.735
X-Spam-Level: 
X-Spam-Status: No, score=-7.735 tagged_above=-999 required=5 tests=[AWL=2.864, 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 OvjqojXWYvKc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:37:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7518A21F84FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 05:37:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru2H1-0005c9-3y for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 13:36:55 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ru2Gp-0005ZX-F7 for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 13:36:43 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by aji.keio.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ru2Gl-0005Uo-IY for ietf-http-wg@w3.org; Sun, 05 Feb 2012 13:36:42 +0000
Received: (qmail invoked by alias); 05 Feb 2012 13:36:05 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp041) with SMTP; 05 Feb 2012 14:36:05 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19WTvxuKGhWnjPVs0lIKS6m3CF7ZXSF2AAKKuTEP0 jXZGjLzCd8qkpI
Message-ID: <4F2E85BE.3070908@gmx.de>
Date: Sun, 05 Feb 2012 14:35:58 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Stefan Eissing <stefan.eissing@greenbytes.de>
CC: Anne van Kesteren <annevk@opera.com>,  Bjoern Hoehrmann <derhoermi@gmx.net>, =?ISO-8859-1?Q?=22Martin_J=2E_D=FCrst=22?= <duerst@it.aoyama.ac.jp>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <20120129152840.10536.93223.idtracker@ietfa.amsl.com> <4F2567DA.3060608@gmx.de> <visci75v85ndepsfib5qfpdqvsb84m8piu@hive.bjoern.hoehrmann.de> <4F26D337.1020507@gmx.de> <4F279977.1080705@it.aoyama.ac.jp> <4F285AB3.4090506@gmx.de> <op.v82myadp64w2qv@annevk-macbookpro.local> <hsapi7pkbff0ok1loepbbbgnetrtp17ogr@hive.bjoern.hoehrmann.de> <op.v847ottn64w2qv@annevk-macbookpro.local> <4F2D1CAE.4030509@gmx.de> <op.v87fftq364w2qv@annevk-macbookpro.local> <D07DD322-C80B-40A8-B70E-13944E03EE94@greenbytes.de>
In-Reply-To: <D07DD322-C80B-40A8-B70E-13944E03EE94@greenbytes.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1Ru2Gl-0005Uo-IY 4fe23023d4d2d1edf8dc152f25e3037e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/4F2E85BE.3070908@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12314
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>
Resent-Message-Id: <E1Ru2H1-0005c9-3y@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 13:36:55 +0000

On 2012-02-05 14:16, Stefan Eissing wrote:
> For "basic" that would be reasonable. Is this also intended to work
> for Digest or NTLM?

It might, but I haven't checked. Let's start with something simple.

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 05:45:20 2012
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 BE8A021F8508 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:45:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.792
X-Spam-Level: 
X-Spam-Status: No, score=-7.792 tagged_above=-999 required=5 tests=[AWL=2.807, 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 aDsEjXej-u2x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 05:45:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DE63E21F8507 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 05:45:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru2Ob-00067z-Hs for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 13:44:45 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ru2OQ-0005zz-M8 for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 13:44:34 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ru2OO-0000KH-Nl for ietf-http-wg@w3.org; Sun, 05 Feb 2012 13:44:34 +0000
Received: (qmail invoked by alias); 05 Feb 2012 13:37:25 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp024) with SMTP; 05 Feb 2012 14:37:25 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+hjXdOuGChxT3omRZ575jyVGCjgFrNYJDLyAPkG9 7JDVD1nQy9baVM
Message-ID: <4F2E860F.3090107@gmx.de>
Date: Sun, 05 Feb 2012 14:37:19 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: "Manger, James H" <James.H.Manger@team.telstra.com>
CC: "annevk@opera.com" <annevk@opera.com>,  "derhoermi@gmx.net" <derhoermi@gmx.net>, "duerst@it.aoyama.ac.jp" <duerst@it.aoyama.ac.jp>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <A6DF3E0A-40DA-4760-817B-2A517837457D@team.telstra.com>
In-Reply-To: <A6DF3E0A-40DA-4760-817B-2A517837457D@team.telstra.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ru2OO-0000KH-Nl ea4d76fddebfd4ae099d374477529d6a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: paramname in draft-reschke-basicauth-enc-04
Archived-At: <http://www.w3.org/mid/4F2E860F.3090107@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12315
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>
Resent-Message-Id: <E1Ru2Ob-00067z-Hs@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 13:44:45 +0000

On 2012-02-05 13:57, Manger, James H wrote:
>> WWW-Authenticate: Basic realm="something", accept-charset="UTF-8"
>
> 24 chars for a 1-bit flag?
> How about:
> WWW-Authenticate: Basic realm="something", v=2

Too terse. Does the size of a 401 response matter in any way?

Another alternative is of course:

   WWW-Authenticate: Basic2 realm="something"

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 09:03:37 2012
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 1FC5021F8468 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 09:03:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.847
X-Spam-Level: 
X-Spam-Status: No, score=-7.847 tagged_above=-999 required=5 tests=[AWL=2.752, 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 SdKSrPDSvGBJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 09:03:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CED4421F8547 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 09:03:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru5TP-0003df-E4 for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 17:01:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ru5TC-0003aa-Ox for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 17:01:42 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ru5T9-0005Nl-Aw for ietf-http-wg@w3.org; Sun, 05 Feb 2012 17:01:42 +0000
Received: (qmail invoked by alias); 05 Feb 2012 17:01:11 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp004) with SMTP; 05 Feb 2012 18:01:11 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+P2l1Z4pyPOpus+BvP848WEmwL++hvol8Uw//2Wa PWg4UpFbObM+2y
Message-ID: <4F2EB5CE.3080300@gmx.de>
Date: Sun, 05 Feb 2012 18:01:02 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: James Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <CABP7RbeCuXbrp+w0wX1F-YyOFjKn7NDif2Ye+EaymVi3Nv7-qQ@mail.gmail.com>
In-Reply-To: <CABP7RbeCuXbrp+w0wX1F-YyOFjKn7NDif2Ye+EaymVi3Nv7-qQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ru5T9-0005Nl-Aw 48d767a7eeec6201645a528e451a9ee8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Informal Last Call for HTTP Preference Header
Archived-At: <http://www.w3.org/mid/4F2EB5CE.3080300@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12316
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>
Resent-Message-Id: <E1Ru5TP-0003df-E4@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 17:01:55 +0000

On 2012-01-31 22:28, James Snell wrote:
> I just posted an update for the HTTP Prefer Header altering the
> intended status from "Informational" to "Standards Track". No
> additional changes were made. As I have not received any further
> technical input on the specification, I am issuing an *Informal* Last
> Call for comments before I request that it be kicked up the chain for
> review.
>
> Mark Nottingham has agreed to serve as the document shepherd for
> helping to move it forward.
>
> Current Draft: http://www.ietf.org/id/draft-snell-http-prefer-11.txt
>
> - James

I think we're almost there. Some notes:

s/2. The Prefer Request Header/2. The Prefer Request Header Field/



   Prefer     = "Prefer" ":" 1#preference
   preference = token [ BWS "=" BWS value ]
                *( OWS ";" [ OWS parameter ] )
   parameter  = token [ BWS "=" BWS value ]
   value      = token / quoted-string

Could use <word> instead of value 
(<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest.html#rfc.section.3.2.4>)



s/Registry of Preferences (Section 9.1))/Registry of Preferences 
(Section 9.1)/



s/In various situations, A proxy may/In various situations, a proxy may/

Also: is this MAY? If not say "can". Same in other places.



2.2 Examples: end the descriptions with a colon (":").

If "strict" and "lenient" are described as a mutually exclusive pair, 
shouldn't this also be the case for return-minimal vs return-representation?



/This specification establishes an IANA registry of such relation types 
see Section 9.1./This specification establishes an IANA registry of such 
relation types (see Section 9.1)./



9.1:

"Application Data: [optional]" -- copied from RFC 5988 (?) but doesn't 
make sense here...



The httpbis references need an update.


Finally, I notice that most registry considerations are cloned from RFC 
5988. I'm not totally sure that this is a good idea; Mark has been 
discussing this in a different context for some time now, so I guess 
he'll have something to say :-)

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 11:46:47 2012
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 5D03C21F8530 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 11:46:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.9
X-Spam-Level: 
X-Spam-Status: No, score=-7.9 tagged_above=-999 required=5 tests=[AWL=2.699, 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 QicqShKrbutp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 11:46:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D679321F8489 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 11:46:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru81j-0000f9-C0 for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 19:45:31 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ru81T-0000dm-Sj for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 19:45:16 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by aji.keio.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ru81Q-0007FR-4l for ietf-http-wg@w3.org; Sun, 05 Feb 2012 19:45:14 +0000
Received: (qmail invoked by alias); 05 Feb 2012 19:37:58 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp030) with SMTP; 05 Feb 2012 20:37:58 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/o9gE57dvoxrIHx5l8YtiddsUhmjbvRBX5tBJ/6H GdguqHgKoeTaIG
Message-ID: <4F2EDA82.5010105@gmx.de>
Date: Sun, 05 Feb 2012 20:37:38 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <E7DE53B9-C374-4C9B-81D2-1F35BFCC174F@mnot.net> <F0C6395C-9555-49AB-BEE9-055B41DC0160@mnot.net>
In-Reply-To: <F0C6395C-9555-49AB-BEE9-055B41DC0160@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1Ru81Q-0007FR-4l e7ab5bc80c7675625f0815b1d0a9729c
X-Original-To: ietf-http-wg@w3.org
Subject: #302, was: #303: Generic semantics for the 400 status code (also  #302)
Archived-At: <http://www.w3.org/mid/4F2EDA82.5010105@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12317
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>
Resent-Message-Id: <E1Ru81j-0000f9-C0@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 19:45:31 +0000

On 2011-07-17 02:54, Mark Nottingham wrote:
> ...
>> * Why is the "If the client is sending data..." section in p2 8.4? Seems like this belongs in p1...
>
> This is now #302<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/302>  (editorial)
> ...

Proposal: move into "6.2.4 Closing Connections on Error".

See 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/302/302.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 13:23:37 2012
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 C115921F8478 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 13:23:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.535
X-Spam-Level: 
X-Spam-Status: No, score=-8.535 tagged_above=-999 required=5 tests=[AWL=2.064, 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 7PzYbdAl7DKB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 13:23:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3CD021F8471 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 13:23:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ru9XU-0002Se-0g for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Feb 2012 21:22:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Ru9XH-0002R0-Uw for ietf-http-wg@listhub.w3.org; Sun, 05 Feb 2012 21:22:11 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ru9XF-00042v-KD for ietf-http-wg@w3.org; Sun, 05 Feb 2012 21:22:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7E6F422E247; Sun,  5 Feb 2012 16:21:46 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F2EDA82.5010105@gmx.de>
Date: Mon, 6 Feb 2012 08:21:43 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <907315FC-AE96-43DF-8823-D7C03C259728@mnot.net>
References: <E7DE53B9-C374-4C9B-81D2-1F35BFCC174F@mnot.net> <F0C6395C-9555-49AB-BEE9-055B41DC0160@mnot.net> <4F2EDA82.5010105@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ru9XF-00042v-KD b117ba584e10341c8ea374037641218e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #302, was: #303: Generic semantics for the 400 status code (also #302)
Archived-At: <http://www.w3.org/mid/907315FC-AE96-43DF-8823-D7C03C259728@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12318
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>
Resent-Message-Id: <E1Ru9XU-0002Se-0g@frink.w3.org>
Resent-Date: Sun, 05 Feb 2012 21:22:24 +0000

Works for me.

On 06/02/2012, at 6:37 AM, Julian Reschke wrote:

> On 2011-07-17 02:54, Mark Nottingham wrote:
>> ...
>>> * Why is the "If the client is sending data..." section in p2 8.4? =
Seems like this belongs in p1...
>>=20
>> This is now =
#302<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/302>  (editorial)
>> ...
>=20
> Proposal: move into "6.2.4 Closing Connections on Error".
>=20
> See =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/302/302.diff=
>
>=20
> Best regards, Julian

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





From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 19:50:08 2012
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 CA35C21F852B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 19:50:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 7hkVMVkw0K50 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 19:50:08 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4D6B721F84F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 19:50:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuFZM-0005JL-NN for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 03:48:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuFZE-0005Id-Cs for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 03:48:36 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuFZB-0001OG-GF for ietf-http-wg@w3.org; Mon, 06 Feb 2012 03:48:35 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q163jeBN003136; Mon, 6 Feb 2012 03:45:41 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q163j3w7008650; Mon, 6 Feb 2012 04:45:03 +0100
Message-ID: <1328499903.16728.116.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 04:45:03 +0100
In-Reply-To: <4F23D30C.1040406@gmx.de>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 03:45:41 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q163jeBN003136
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuFZB-0001OG-GF 07ace82b94328880faa800431339c525
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328499903.16728.116.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12319
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>
Resent-Message-Id: <E1RuFZM-0005JL-NN@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 03:48:44 +0000

l=C3=B6r 2012-01-28 klockan 11:50 +0100 skrev Julian Reschke:

> I *agree* with improving the layering, and maybe giving the transport=20
> layer a specific name, but "HTTP/2.0" it can't be.

My vision of HTTP/2.0 is

- HTTP message definition, defined largely by what we have today minus
anything transport related, and trowing out any special cases. No
definition of message delimiting, no chunking, no connection management,
no folding, etc. That's all transport defined.

- Definition of required transport properties/interface for HTTP message
exchanges.

- Definition of suitable transports ontop of TCP, TLS, UDP, DTLS, SCTP.
Each separate, mapping the requirements of the above. Completely
ignorant of any semanitcs of HTTP beyond the most basic structure.

- Mapping guidelines how to map relations bewteen transport identity
assosciations and messages, i.e. how transport level authentication fits
with messages.

- Defined upgrade paths from HTTP/1 to HTTP/2. I.e. HTTP Upgrade, TLS
negotiation, SRV records, etc...


I do not see a great need for a new semantic model. But several things
that need to change on the wire to provide a robust & efficient protocol
that can be built upon for the next several decades.


Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 20:04:28 2012
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 94B3321F8543 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 20:04:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 1+FJAcUui1+Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 20:04:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E98921F853A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 20:04:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuFo5-0007uf-MQ for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 04:03:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuFnx-0007tx-Fi for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 04:03:49 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuFnv-00039F-Gf for ietf-http-wg@w3.org; Mon, 06 Feb 2012 04:03:48 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1642ads009584; Mon, 6 Feb 2012 04:02:36 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q1641uIN015083; Mon, 6 Feb 2012 05:01:56 +0100
Message-ID: <1328500916.16728.123.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 05:01:56 +0100
In-Reply-To: <4F23AE3F.3030004@gmx.de>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net> <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net> <20120128000447.GC22945@1wt.eu> <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net> <20120128002233.GD22945@1wt.eu> <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net> <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 04:02:36 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q1642ads009584
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuFnv-00039F-Gf 6594658951acfd5c7601b369383f4d58
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328500916.16728.123.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12320
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>
Resent-Message-Id: <E1RuFo5-0007uf-MQ@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 04:03:57 +0000

l=C3=B6r 2012-01-28 klockan 09:13 +0100 skrev Julian Reschke:

> > I would apply a lossy conversion (reverse-mapping between UTF-8 and 8=
859-1).
> > So whatever fits 8859-1 would correctly be mapped, and the rest would=
 be lost
> > or quoted. I don't think it's that big an issue if this is a well-kno=
wn
>=20
> There is no quoting we can use, unless we define a new one...

Or we just accept that HTTP/1.1 implementations do not follow HTTP/1.1
encoding specifications anyway for non-ascii data and simply say that
when I18N  field values need to be gatewayed to HTTP/1.1 then send them
as UTF-8 even if HTTP/1.1 specifications says otherwise, intentionally
overriding HTTP/1.1 specifications.

Sure it will break some to fix some (and mainly authentication), but
it's not really such a big deal. In the end it's about the same amount
of breakage as today, only different and more consistent.

But it's a bad idea to open for I18N in field names.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 20:12:23 2012
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 0931221F8456 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 20:12:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 mjPHpI4Valvy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 20:12:22 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7769121F8422 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 20:12:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuFvt-0000Di-GN for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 04:12:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuFvp-0000Cz-1W for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 04:11:57 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuFvn-00048P-6S for ietf-http-wg@w3.org; Mon, 06 Feb 2012 04:11:56 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q164BHQT030300; Mon, 6 Feb 2012 04:11:17 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q164AevN025035; Mon, 6 Feb 2012 05:10:40 +0100
Message-ID: <1328501440.16728.127.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Date: Mon, 06 Feb 2012 05:10:40 +0100
In-Reply-To: <4F25DD9D.3000503@treenet.co.nz>
References: <20120126155637.GA11227@1wt.eu> <4F25DD9D.3000503@treenet.co.nz>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 04:11:21 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q164BHQT030300
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.5
X-W3C-Hub-Spam-Report: BAYES_05=-0.5, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuFvn-00048P-6S 100a93c6d854d70e4e19bfe04d9039a1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misc review notes for draft-18 p1
Archived-At: <http://www.w3.org/mid/1328501440.16728.127.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12321
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>
Resent-Message-Id: <E1RuFvt-0000Di-GN@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 04:12:01 +0000

m=C3=A5n 2012-01-30 klockan 13:00 +1300 skrev Amos Jeffries:

> I have a client in a situation which requires relaying CONNECT requests=
=20
> between proxies. We can safely negotiate chunking between two 1.1=20
> proxies to enable keep-alive optimizations on these, if it were to be=20
> defined as having no body at all that would break.
>=20
> The same problem may also apply to Upgrade for unknown protocols. When=20
> the upgraded protocol is completed, having the handlers close the=20
> connection and cycle through TCP TIME_WAIT instead of cleanly releasing=
=20
> it for re-use by the outer layer protocol again would be a major annoya=
nce.

CONNECT and Upgrade is both in the same boat of making tunnels, not
proxying as such.

Try avoid abusing CONNECT (or Upgrade) for uses it's not intented for.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 20:27:23 2012
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 803A221F8469 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 20:27:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 nxoymQ2zp1Td for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 20:27:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDB7921F8468 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 20:27:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuGAG-0002HG-HR for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 04:26:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuGA8-0002FZ-6T for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 04:26:44 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuGA6-0005n2-DO for ietf-http-wg@w3.org; Mon, 06 Feb 2012 04:26:43 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q164QJvq031851; Mon, 6 Feb 2012 04:26:19 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q164PfX3027789; Mon, 6 Feb 2012 05:25:41 +0100
Message-ID: <1328502341.16728.133.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Sebastien Lambla <seb@serialseb.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 05:25:41 +0100
In-Reply-To: <3DDD0BE655869D4EA506652B3803AEF6C3519BA5@PRISM.caffeine-it.net>
References: <3DDD0BE655869D4EA506652B3803AEF6C3519BA5@PRISM.caffeine-it.net>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 04:26:19 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuGA6-0005n2-DO ed5e6171fa18a3f4169db45606156209
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Confusion in preconditions
Archived-At: <http://www.w3.org/mid/1328502341.16728.133.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12322
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>
Resent-Message-Id: <E1RuGAG-0002HG-HR@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 04:26:52 +0000

ons 2012-02-01 klockan 02:35 +0000 skrev Sebastien Lambla:

> I *think* the specification does define partially a behavior when
> multiple conditional headers are present in the scenario leading to a
> 304, or am I misunderstanding the definition?

Not really. If does not define what the response should be in that case,
only that it can not be 304 unless.... 2.4 is just a safety guard
restricting the undefinedness by a forbidding response class which would
otherwise break caches.

The reason why the sencence about "undefined" is there is to point out
the headers can easily conflict and it's non-obvious to say how such
conflicts should be resolved.

Regards
Henrik




From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 22:30:19 2012
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 B703A21F851C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 22:30:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level: 
X-Spam-Status: No, score=-9.619 tagged_above=-999 required=5 tests=[AWL=0.680, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 YK8J6MjYXEqu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 22:30:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2E0D521F851B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 22:30:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuI4e-0006gO-En for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 06:29:12 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RuI4J-0006dk-Qz for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 06:28:52 +0000
Received: from 1wt.eu ([62.212.114.60]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RuI4F-0000te-2P for ietf-http-wg@w3.org; Mon, 06 Feb 2012 06:28:50 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q166S87Q017395; Mon, 6 Feb 2012 07:28:08 +0100
Date: Mon, 6 Feb 2012 07:28:08 +0100
From: Willy Tarreau <w@1wt.eu>
To: Henrik =?iso-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120206062808.GH8334@1wt.eu>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net> <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net> <20120128000447.GC22945@1wt.eu> <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net> <20120128002233.GD22945@1wt.eu> <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net> <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de> <1328500916.16728.123.camel@home.henriknordstrom.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <1328500916.16728.123.camel@home.henriknordstrom.net>
User-Agent: Mutt/1.4.2.3i
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by 1wt.eu id q166S8Hl032633
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: aji.keio.w3.org 1RuI4F-0000te-2P 7a48614dc5f3596ca3a585f3c70ff4c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/20120206062808.GH8334@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12323
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>
Resent-Message-Id: <E1RuI4e-0006gO-En@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 06:29:12 +0000

On Mon, Feb 06, 2012 at 05:01:56AM +0100, Henrik Nordstr=F6m wrote:
> l=F6r 2012-01-28 klockan 09:13 +0100 skrev Julian Reschke:
>=20
> > > I would apply a lossy conversion (reverse-mapping between UTF-8 and=
 8859-1).
> > > So whatever fits 8859-1 would correctly be mapped, and the rest wou=
ld be lost
> > > or quoted. I don't think it's that big an issue if this is a well-k=
nown
> >=20
> > There is no quoting we can use, unless we define a new one...
>=20
> Or we just accept that HTTP/1.1 implementations do not follow HTTP/1.1
> encoding specifications anyway for non-ascii data and simply say that
> when I18N  field values need to be gatewayed to HTTP/1.1 then send them
> as UTF-8 even if HTTP/1.1 specifications says otherwise, intentionally
> overriding HTTP/1.1 specifications.
>=20
> Sure it will break some to fix some (and mainly authentication), but
> it's not really such a big deal. In the end it's about the same amount
> of breakage as today, only different and more consistent.

+1

> But it's a bad idea to open for I18N in field names.

+1. For me i18n should only appear in values. Otherwise we'll be dealing
with a big new can of worms caused by UTF-8 to anything conversion (eg:
multiple ways to write "Content-Length" because you can have a number of
UTF-8 hyphens which translate into "-").

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sun Feb  5 23:53:13 2012
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 E281F21F85C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 23:53:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.776
X-Spam-Level: 
X-Spam-Status: No, score=-7.776 tagged_above=-999 required=5 tests=[AWL=2.523, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 ObE-iyn1q6mA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Feb 2012 23:53:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 61B0A21F85BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Feb 2012 23:53:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuJMs-0004K2-Bj for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 07:52:06 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RuJMd-0004J5-RG for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 07:51:51 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RuJMb-00039P-P6 for ietf-http-wg@w3.org; Mon, 06 Feb 2012 07:51:50 +0000
Received: (qmail invoked by alias); 06 Feb 2012 07:51:22 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp019) with SMTP; 06 Feb 2012 08:51:22 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/xzxlpIdTxM7ogumIUBu+QhJAJqfdAfOSDFhk3tx iKoeYbCw8UgK+9
Message-ID: <4F2F8678.10908@gmx.de>
Date: Mon, 06 Feb 2012 08:51:20 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net>  <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net>  <20120128000447.GC22945@1wt.eu>  <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net>  <20120128002233.GD22945@1wt.eu>  <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net>  <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de> <1328500916.16728.123.camel@home.henriknordstrom.net>
In-Reply-To: <1328500916.16728.123.camel@home.henriknordstrom.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuJMb-00039P-P6 632b9c73332669186287d224bdf44e5e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/4F2F8678.10908@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12324
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>
Resent-Message-Id: <E1RuJMs-0004K2-Bj@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 07:52:06 +0000

On 2012-02-06 05:01, Henrik NordstrÃ¶m wrote:
> lÃ¶r 2012-01-28 klockan 09:13 +0100 skrev Julian Reschke:
>
>>> I would apply a lossy conversion (reverse-mapping between UTF-8 and 8859-1).
>>> So whatever fits 8859-1 would correctly be mapped, and the rest would be lost
>>> or quoted. I don't think it's that big an issue if this is a well-known
>>
>> There is no quoting we can use, unless we define a new one...
>
> Or we just accept that HTTP/1.1 implementations do not follow HTTP/1.1
> encoding specifications anyway for non-ascii data and simply say that
> when I18N  field values need to be gatewayed to HTTP/1.1 then send them
> as UTF-8 even if HTTP/1.1 specifications says otherwise, intentionally
> overriding HTTP/1.1 specifications.
>
> Sure it will break some to fix some (and mainly authentication), but
> it's not really such a big deal. In the end it's about the same amount
> of breakage as today, only different and more consistent.

It will break some uses of Content-Disposition. It will not fix 
authentication.

> But it's a bad idea to open for I18N in field names.

Sure. Did anybody propose that?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 00:32:43 2012
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 5522421F84F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 00:32:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.972
X-Spam-Level: 
X-Spam-Status: No, score=-7.972 tagged_above=-999 required=5 tests=[AWL=2.627, 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 FGSsy69LU9ad for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 00:32:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C641721F84D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 00:32:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuJzb-0005hg-Ht for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 08:32:07 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RuJzL-0005gn-3K for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 08:31:51 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by aji.keio.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RuJzH-00052G-5E for ietf-http-wg@w3.org; Mon, 06 Feb 2012 08:31:49 +0000
Received: (qmail invoked by alias); 06 Feb 2012 08:24:34 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp027) with SMTP; 06 Feb 2012 09:24:34 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19W1j5aiTRWBvcTjalZH7IlL/9TW+ATK+qX2uxORv vRqF9KJg29AY3K
Message-ID: <4F2F8E39.4070100@gmx.de>
Date: Mon, 06 Feb 2012 09:24:25 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <E7DE53B9-C374-4C9B-81D2-1F35BFCC174F@mnot.net> <F0C6395C-9555-49AB-BEE9-055B41DC0160@mnot.net> <4F2EDA82.5010105@gmx.de> <907315FC-AE96-43DF-8823-D7C03C259728@mnot.net>
In-Reply-To: <907315FC-AE96-43DF-8823-D7C03C259728@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1RuJzH-00052G-5E 87fd15d7bdc29bf009efbfadc9651ab4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #302, was: #303: Generic semantics for the 400 status code (also  #302)
Archived-At: <http://www.w3.org/mid/4F2F8E39.4070100@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12325
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>
Resent-Message-Id: <E1RuJzb-0005hg-Ht@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 08:32:07 +0000

On 2012-02-05 22:21, Mark Nottingham wrote:
> Works for me.

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1526>


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 00:45:40 2012
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 AC79D21F85ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 00:45:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 aWAN7oAuAPeQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 00:45:40 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 228D421F85EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 00:45:40 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuKCG-0008UE-I7 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 08:45:12 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuKCC-0008Sq-Qi for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 08:45:09 +0000
Received: from vps1.henriknordstrom.net ([2a02:750:7::d0a]) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuKC4-0005oP-CI for ietf-http-wg@w3.org; Mon, 06 Feb 2012 08:45:07 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q168hZoZ029835; Mon, 6 Feb 2012 08:43:35 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q168gvaK015639; Mon, 6 Feb 2012 09:42:57 +0100
Message-ID: <1328517777.15204.3.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 09:42:57 +0100
In-Reply-To: <4F2F8678.10908@gmx.de>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net> <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net> <20120128000447.GC22945@1wt.eu> <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net> <20120128002233.GD22945@1wt.eu> <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net> <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de> <1328500916.16728.123.camel@home.henriknordstrom.net> <4F2F8678.10908@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 08:43:35 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q168hZoZ029835
Received-SPF: none client-ip=2a02:750:7::d0a; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: aji.keio.w3.org 1RuKC4-0005oP-CI 4ddaee4a1533a7cafbb3d1d5d4200324
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328517777.15204.3.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12326
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>
Resent-Message-Id: <E1RuKCG-0008UE-I7@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 08:45:12 +0000

m=C3=A5n 2012-02-06 klockan 08:51 +0100 skrev Julian Reschke:

> It will break some uses of Content-Disposition. It will not fix=20
> authentication.

Sorry bad wording from my part. I meant that it breaks some and fix
some, mainly affecting authentication. But yes, the same reasoning also
applies to Content-Disposition. But I do not think that I have seen
non-ascii characters ever work well in Content-Disposition..

> But it's a bad idea to open for I18N in field names.
>=20
> Sure. Did anybody propose that?

I do not think so. Only mentioned it in case someone had doubts.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 01:31:33 2012
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 1872E21F8600 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 01:31:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.869
X-Spam-Level: 
X-Spam-Status: No, score=-7.869 tagged_above=-999 required=5 tests=[AWL=2.430, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 QgeCEYxuOuoD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 01:31:32 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9A49D21F85CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 01:31:32 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuKuK-0005ix-6e for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 09:30:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RuKu4-0004OS-8t for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 09:30:28 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RuKf2-00046s-K1 for ietf-http-wg@w3.org; Mon, 06 Feb 2012 09:15:00 +0000
Received: (qmail invoked by alias); 06 Feb 2012 09:07:49 -0000
Received: from p5DCC2AE9.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.233] by mail.gmx.net (mp027) with SMTP; 06 Feb 2012 10:07:49 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/m4ActSBPmgNLPcvkLDC8wc1Tao0hR2RSL11NZ4S 6YKtsxLSyZMk11
Message-ID: <4F2F9860.2060109@gmx.de>
Date: Mon, 06 Feb 2012 10:07:44 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net>   <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net>   <20120128000447.GC22945@1wt.eu>   <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net>   <20120128002233.GD22945@1wt.eu>   <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net>   <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de>  <1328500916.16728.123.camel@home.henriknordstrom.net>  <4F2F8678.10908@gmx.de> <1328517777.15204.3.camel@home.henriknordstrom.net>
In-Reply-To: <1328517777.15204.3.camel@home.henriknordstrom.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuKf2-00046s-K1 45490931b820c9af5b333f11ce786ff7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/4F2F9860.2060109@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12327
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>
Resent-Message-Id: <E1RuKuK-0005ix-6e@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 09:30:44 +0000

On 2012-02-06 09:42, Henrik NordstrÃ¶m wrote:
> mÃ¥n 2012-02-06 klockan 08:51 +0100 skrev Julian Reschke:
>
>> It will break some uses of Content-Disposition. It will not fix
>> authentication.
>
> Sorry bad wording from my part. I meant that it breaks some and fix
> some, mainly affecting authentication. But yes, the same reasoning also

It doesn't affect Basic auth at all, because Basic uses plain-ASCII (so 
the encoding happens on a different layer).

> applies to Content-Disposition. But I do not think that I have seen
> non-ascii characters ever work well in Content-Disposition..

Check the issue trackers for Firefox and Chrome, or browse StackOverflow :-)

>> But it's a bad idea to open for I18N in field names.
>>
>> Sure. Did anybody propose that?
>
> I do not think so. Only mentioned it in case someone had doubts.

ok!


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 10:05:56 2012
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 1372421F86E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 10:05:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 0bmxX79lPQsI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 10:05:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0892121F86DE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 10:05:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuSvY-0004JZ-4M for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 18:04:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuSvR-0004Im-NI for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 18:04:25 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuSvO-0005oU-Hg for ietf-http-wg@w3.org; Mon, 06 Feb 2012 18:04:24 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q16I3UxC013637; Mon, 6 Feb 2012 18:03:30 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q16I2pMo021930; Mon, 6 Feb 2012 19:02:51 +0100
Message-ID: <1328551371.21018.1.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 19:02:51 +0100
In-Reply-To: <4F2F9860.2060109@gmx.de>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net> <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net> <20120128000447.GC22945@1wt.eu> <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net> <20120128002233.GD22945@1wt.eu> <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net> <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de> <1328500916.16728.123.camel@home.henriknordstrom.net> <4F2F8678.10908@gmx.de> <1328517777.15204.3.camel@home.henriknordstrom.net> <4F2F9860.2060109@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 18:03:31 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q16I3UxC013637
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuSvO-0005oU-Hg a698311a5f2fd58b731814e8f543cef3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328551371.21018.1.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12328
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>
Resent-Message-Id: <E1RuSvY-0004JZ-4M@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 18:04:32 +0000

m=C3=A5n 2012-02-06 klockan 10:07 +0100 skrev Julian Reschke:

> It doesn't affect Basic auth at all, because Basic uses plain-ASCII (so=
=20
> the encoding happens on a different layer).

True. But it does affect Digest auth, and can't be recoded there without
breaking the digest. Plus that browsers vary greatly in what encoding
they use within basic auth before base64-encoding so in a sense it does
affect basic auth as well.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 11:27:54 2012
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 A93D221F86B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 11:27:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.579
X-Spam-Level: 
X-Spam-Status: No, score=-10.579 tagged_above=-999 required=5 tests=[AWL=0.020, 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 6HKzJafsAFrM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 11:27:54 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2AF8121F86B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 11:27:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuUDM-0007dQ-CM for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 19:27:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1RuUDA-0007cX-AC for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 19:26:48 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1RuUD7-0000T6-JG for ietf-http-wg@w3.org; Mon, 06 Feb 2012 19:26:47 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id EC0575DBC; Mon,  6 Feb 2012 19:26:23 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q16JQMFC005298; Mon, 6 Feb 2012 19:26:22 GMT (envelope-from phk@phk.freebsd.dk)
To: Ted Hardie <ted.ietf@gmail.com>
cc: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>, Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Feb 2012 11:03:13 PST." <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 06 Feb 2012 19:26:22 +0000
Message-ID: <5297.1328556382@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuUD7-0000T6-JG 1b5aaa1cb45f13bf8585ce0a05fd5712
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/5297.1328556382@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12329
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>
Resent-Message-Id: <E1RuUDM-0007dQ-CM@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 19:27:00 +0000

In message <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
, Ted Hardie writes:
>2012/2/5 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:

>So, two of the transports you list above (UDP and DTLS) are unreliable; is
>reliability not a transport property you expect for HTTP message exchanges?
>[...]
>Of course you can build reliability on top of unreliable transports,

Lets try to be a bit more exacting with our vocabulary, shall we ?

TCP is not "reliable" any more than UDP is, many TCP connections
fail, both during establishment and later.

What TCP offers is "we'll hide all the retransmissions and pretend
to be much more reliable than the underlying network" which is often
convenient.

But for many HTTP-purposes, UDP would be good enough:  You send the
request and either you get a reply or you do not.  That isn't very
different from a TCP connection breaking.

Obviously, HTTP over UDP would be very exposed to DoS, so it should
probably be confined to behind firewalls and other walled gardens,
but I can certainly see the utility for a number of cases.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 11:29:53 2012
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 0936521F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 11:29:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.895
X-Spam-Level: 
X-Spam-Status: No, score=-7.895 tagged_above=-999 required=5 tests=[AWL=2.404, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 fttQNRGl7GG8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 11:29:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 347FB21F8733 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 11:29:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuUFx-0007zG-5F for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 19:29:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RuUFl-0007we-Kd for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 19:29:29 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RuUFj-0000mt-7c for ietf-http-wg@w3.org; Mon, 06 Feb 2012 19:29:28 +0000
Received: (qmail invoked by alias); 06 Feb 2012 18:29:01 -0000
Received: from p3EE277B7.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.119.183] by mail.gmx.net (mp016) with SMTP; 06 Feb 2012 19:29:01 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19Ce8VkcPJCG5KnelnL7jbMVZVtDVjdhSAIZiweln g9YINQOguWIxIB
Message-ID: <4F301BE9.5080107@gmx.de>
Date: Mon, 06 Feb 2012 19:28:57 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net>    <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net>    <20120128000447.GC22945@1wt.eu>    <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net>    <20120128002233.GD22945@1wt.eu>    <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net>    <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de>   <1328500916.16728.123.camel@home.henriknordstrom.net>   <4F2F8678.10908@gmx.de>  <1328517777.15204.3.camel@home.henriknordstrom.net>  <4F2F9860.2060109@gmx.de> <1328551371.21018.1.camel@home.henriknordstrom.net>
In-Reply-To: <1328551371.21018.1.camel@home.henriknordstrom.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuUFj-0000mt-7c b63683da6ae3368933755f004c6c4f73
X-Original-To: ietf-http-wg@w3.org
Subject: header field value character encoding, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/4F301BE9.5080107@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12330
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>
Resent-Message-Id: <E1RuUFx-0007zG-5F@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 19:29:41 +0000

On 2012-02-06 19:02, Henrik NordstrÃ¶m wrote:
> mÃ¥n 2012-02-06 klockan 10:07 +0100 skrev Julian Reschke:
>
>> It doesn't affect Basic auth at all, because Basic uses plain-ASCII (so
>> the encoding happens on a different layer).
>
> True. But it does affect Digest auth, and can't be recoded there without
> breaking the digest. Plus that browsers vary greatly in what encoding
> they use within basic auth before base64-encoding so in a sense it does
> affect basic auth as well.

I agree that Basic auth has a problem, but it's not going to be fixed by 
changing the encoding default for field values.

See 
<http://greenbytes.de/tech/webdav/draft-reschke-basicauth-enc-latest.html>.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:06:28 2012
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 E64DE21F873E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:06:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level: 
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[AWL=3.680, 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 dUWmadB46HQL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:06:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6564C21F8739 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:06:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuUp8-0002C6-7h for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:06:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ted.ietf@gmail.com>) id 1RuUov-0002BF-8S for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:05:49 +0000
Received: from mail-vw0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1RuUot-0007EI-4s for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:05:48 +0000
Received: by vbbfq11 with SMTP id fq11so5469467vbb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 12:05:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LUGXPeFJJ/eUeoZlGPL22zbyF8JoVLHxovgUf260yvQ=; b=nCQkTzp8rd1RBGNH2ShSF+fU2YpNlKhY3Mzeq4cZYope+51AuwMS+3AkqyyVyrgyK4 Pa31p7rkiHk0JlmjfvKf7QjRGOTon3DGhZRDI1UxLf4hbI2ji9OQbQm7CL4f5SYHoqiu +E8MSn+gmoB3I1ndHfp0qLpiTdndeb1chqOT4=
MIME-Version: 1.0
Received: by 10.52.88.235 with SMTP id bj11mr9289054vdb.119.1328558721736; Mon, 06 Feb 2012 12:05:21 -0800 (PST)
Received: by 10.52.176.40 with HTTP; Mon, 6 Feb 2012 12:05:21 -0800 (PST)
In-Reply-To: <5297.1328556382@critter.freebsd.dk>
References: <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com> <5297.1328556382@critter.freebsd.dk>
Date: Mon, 6 Feb 2012 12:05:21 -0800
Message-ID: <CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>,  Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=ted.ietf@gmail.com; helo=mail-vw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1RuUot-0007EI-4s cb8b7c9fa70a169325ebb84ffc72a37a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12331
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>
Resent-Message-Id: <E1RuUp8-0002C6-7h@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:06:02 +0000

On Mon, Feb 6, 2012 at 11:26 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>
> TCP is not "reliable" any more than UDP is, many TCP connections
> fail, both during establishment and later.
>
> What TCP offers is "we'll hide all the retransmissions and pretend
> to be much more reliable than the underlying network" which is often
> convenient.
>

"reliable transport" is a term of art for what you describe above;
I see no reason to redefine commonly understood terms.  At best,
that is going to add time for explanation and at worst, it will add confusion.


>But for many HTTP-purposes, UDP would be good enough:  You send the
>request and either you get a reply or you do not.  That isn't very
>different from a TCP connection breaking.

Personally, I see this as pretty different, but your mileage clearly
varies on that point.

Would you propose different method names for this mode, so that they
were distinguishable
to intermediaries, or would propose that the semantics of the method
be determined by
the transport on which it arrived?

regards,

Ted


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:08:15 2012
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 77AD621F86D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:08:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.916
X-Spam-Level: 
X-Spam-Status: No, score=-6.916 tagged_above=-999 required=5 tests=[AWL=3.383, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 9POh4GfiqJjW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:08:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AEBBF21F8568 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:08:11 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuUr2-0002Sz-Rq for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:08:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ted.ietf@gmail.com>) id 1RuUqr-0002Ok-5c for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:07:49 +0000
Received: from mail-vw0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1RuUpi-0001y4-27 for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:07:13 +0000
Received: by vbbfq11 with SMTP id fq11so5467768vbb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 12:03:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=XrgPEOzg1NFMXPW2FcLMBJKs10Cv+JSXtWLslRdTOeY=; b=crNs4bY0Ihw+lLMlqLc3DFSy1Bo2VLSJW/PAh6ijtZ0tflT/pyiQ0o75rtr4tRHzrL tM+7M0ulvyvjAq/vDfBKCzwHVcZYdS7Uu0PIZEWbcQHbvxr4mduD6Bkn9XRjW+mLKHOv X3dzVrDuyK2i0hNw1uyy/6iNH0EVbAcbSNknQ=
MIME-Version: 1.0
Received: by 10.52.172.241 with SMTP id bf17mr6734116vdc.102.1328554993447; Mon, 06 Feb 2012 11:03:13 -0800 (PST)
Received: by 10.52.176.40 with HTTP; Mon, 6 Feb 2012 11:03:13 -0800 (PST)
In-Reply-To: <1328499903.16728.116.camel@home.henriknordstrom.net>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de> <1328499903.16728.116.camel@home.henriknordstrom.net>
Date: Mon, 6 Feb 2012 11:03:13 -0800
Message-ID: <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=ted.ietf@gmail.com; helo=mail-vw0-f43.google.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, FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RuUpi-0001y4-27 cd395f7cfad02ec3d649ffc458412826
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12332
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>
Resent-Message-Id: <E1RuUr2-0002Sz-Rq@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:08:00 +0000

2012/2/5 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
>
> - Definition of required transport properties/interface for HTTP message
> exchanges.
>
> - Definition of suitable transports ontop of TCP, TLS, UDP, DTLS, SCTP.
> Each separate, mapping the requirements of the above. Completely
> ignorant of any semanitcs of HTTP beyond the most basic structure.
>


So, two of the transports you list above (UDP and DTLS) are unreliable; is
reliability not a transport property you expect for HTTP message exchanges?

Of course you can build reliability on top of unreliable transports,
but that seems
to go against the idea of clean layering (since it is usually the app
the recreates
the reliability).  Can you provide some clarification of your thinking here=
?

regards,

Ted


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:17:57 2012
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 3621521F8752 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:17:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 F+7ALTV8Bn3V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:17:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AF43A21F874F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:17:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuV0A-0007NM-Cs for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:17:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuV06-0007Me-Ue for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:17:22 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuV04-0007sc-EE for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:17:22 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q16K8Yp9011781; Mon, 6 Feb 2012 20:08:35 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q16K7o4f031025; Mon, 6 Feb 2012 21:07:50 +0100
Message-ID: <1328558870.30100.11.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Ted Hardie <ted.ietf@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 21:07:50 +0100
In-Reply-To: <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de> <1328499903.16728.116.camel@home.henriknordstrom.net> <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 20:16:58 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q16K8Yp9011781
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuV04-0007sc-EE 3c733572e97b46a8dfab10e351377b58
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328558870.30100.11.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12333
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>
Resent-Message-Id: <E1RuV0A-0007NM-Cs@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:17:26 +0000

m=C3=A5n 2012-02-06 klockan 11:03 -0800 skrev Ted Hardie:

> So, two of the transports you list above (UDP and DTLS) are unreliable;=
 is
> reliability not a transport property you expect for HTTP message exchan=
ges?

Depends on the message and application. The point here is that there is
no reason to confine HTTP to TCP. You obviously only use the UDP
transport when you know the network is in a good shape and when loosing
a message here and there is not a big deal, and there is several such
applications.

And DTLS is not by definition unreliable. It may be used alike over
unreliable transports such as UDP or over reliable message transports
such as SCTP. The reliability of the delivery in DTLS is a property of
it's underlying transport, not the DTLS protocol as such.

HTTP is a request/response message exchange protocol. At the high level
message level it's pretty ignorant about the transport.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:18:05 2012
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 8516821F8758 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:18:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.827
X-Spam-Level: 
X-Spam-Status: No, score=-9.827 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, 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 n25BThnRaZ8V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:18:05 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F01EB21F8757 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:18:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuV0e-0007Sx-HZ for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:17:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <robertc@robertcollins.net>) id 1RuV0S-0007Ny-A0 for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:17:44 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1RuV0P-0007tv-Tz for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:17:43 +0000
Received: by damc16 with SMTP id c16so5989321dam.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 12:17:15 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.134.228 with SMTP id pn4mr49888472pbb.52.1328559435739; Mon, 06 Feb 2012 12:17:15 -0800 (PST)
Sender: robertc@robertcollins.net
Received: by 10.68.218.133 with HTTP; Mon, 6 Feb 2012 12:17:15 -0800 (PST)
X-Originating-IP: [122.58.129.196]
In-Reply-To: <1328499903.16728.116.camel@home.henriknordstrom.net>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de> <1328499903.16728.116.camel@home.henriknordstrom.net>
Date: Tue, 7 Feb 2012 09:17:15 +1300
X-Google-Sender-Auth: nEP_gUQz7o4-V7X90GR7ORFvNaY
Message-ID: <CAJ3HoZ3q+d-ZW6tFt6yrksrwP8OoogCPRKQVwCjT9VQgktHfOw@mail.gmail.com>
From: Robert Collins <robertc@squid-cache.org>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: none client-ip=209.85.210.43; envelope-from=robertc@robertcollins.net; helo=mail-pz0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1RuV0P-0007tv-Tz 0524b15c531b218b238704a91aea84d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/CAJ3HoZ3q+d-ZW6tFt6yrksrwP8OoogCPRKQVwCjT9VQgktHfOw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12334
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>
Resent-Message-Id: <E1RuV0e-0007Sx-HZ@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:17:56 +0000

2012/2/6 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> l=F6r 2012-01-28 klockan 11:50 +0100 skrev Julian Reschke:
>
>> I *agree* with improving the layering, and maybe giving the transport
>> layer a specific name, but "HTTP/2.0" it can't be.
>
> My vision of HTTP/2.0 is
..
> I do not see a great need for a new semantic model. But several things
> that need to change on the wire to provide a robust & efficient protocol
> that can be built upon for the next several decades.

FWIW - this is pretty much exactly what I'd like to see as well, both
wearing my squid hat, and my 'runs a complex web environment with
stacked accelerators, caches, heterogeneous appservers etc' hat on.

-Rob


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:20:00 2012
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 ED68F21F8757 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:20:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.78
X-Spam-Level: 
X-Spam-Status: No, score=-9.78 tagged_above=-999 required=5 tests=[AWL=0.819, 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 QIgvAVtBj8nK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:20:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EB87321F86F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:19:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuV2S-0007mU-4e for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:19:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RuV2G-0007la-UZ for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:19:36 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RuV1A-0002kn-Ho for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:19:01 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q16KG7Wv022728; Mon, 6 Feb 2012 21:16:07 +0100
Date: Mon, 6 Feb 2012 21:16:07 +0100
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Ted Hardie <ted.ietf@gmail.com>, Henrik =?iso-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>, Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120206201607.GE18059@1wt.eu>
References: <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com> <5297.1328556382@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5297.1328556382@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RuV1A-0002kn-Ho beed845be35498e40d07cd0da06853aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/20120206201607.GE18059@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12336
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>
Resent-Message-Id: <E1RuV2S-0007mU-4e@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:19:48 +0000

On Mon, Feb 06, 2012 at 07:26:22PM +0000, Poul-Henning Kamp wrote:
> In message <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com>
> , Ted Hardie writes:
> >2012/2/5 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> 
> >So, two of the transports you list above (UDP and DTLS) are unreliable; is
> >reliability not a transport property you expect for HTTP message exchanges?
> >[...]
> >Of course you can build reliability on top of unreliable transports,
> 
> Lets try to be a bit more exacting with our vocabulary, shall we ?
> 
> TCP is not "reliable" any more than UDP is, many TCP connections
> fail, both during establishment and later.
> 
> What TCP offers is "we'll hide all the retransmissions and pretend
> to be much more reliable than the underlying network" which is often
> convenient.

I'd say there are different classes of problems with TCP. It's more
reliable under most common conditions and can be worse than UDP sometimes
(eg: high loss rate, multiple congestion controls stacked on top of each
other etc). But FWIW TCP is generally known as a "reliable" transport
mechanism.

> But for many HTTP-purposes, UDP would be good enough:  You send the
> request and either you get a reply or you do not.  That isn't very
> different from a TCP connection breaking.

I think this is what UPNP looks like, I've already caught many HTTP-looking
requests over UDP multicasts.

> Obviously, HTTP over UDP would be very exposed to DoS, so it should
> probably be confined to behind firewalls and other walled gardens,
> but I can certainly see the utility for a number of cases.

For small static files (eg: favicon.ico), UDP is much better suited than
TCP, one packet in each direction and let the client retry if it does not
get the response. You can extend the principle with content ranges where
the client asks to retransmit what it did not get. For the server it's
very convenient, no state to keep, everything runs at wire speed, no timeout
issues, no SYN_RECV nor CLOSE_WAIT states, etc... It's simply limited to a
very specific usage which might still cover most of the web's requests.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:58:19 2012
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 75F5121F86C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.046
X-Spam-Level: 
X-Spam-Status: No, score=-7.046 tagged_above=-999 required=5 tests=[AWL=3.253, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 jcuX-I2f3woj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EE8FF21F85A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:58:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuVdI-0003Wl-M6 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:57:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ted.ietf@gmail.com>) id 1RuVd7-0003PD-1m for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:57:41 +0000
Received: from mail-vw0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1RuVc9-0004mn-3l for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:57:05 +0000
Received: by vbbfq11 with SMTP id fq11so5513896vbb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 12:53:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=2CfETISJ9i1u5ax4vFxMVKVBLVjXPV6sVjvSppc8tk4=; b=MGb2CP2XIN7ATjPRDuAQ7ekaM7DpxG+4TgP1Q3y7KyVPLLFslDON0FmUyWTdMTCUOe e5QyHh2QSic53UzG7eou4kawqFn0CmIXAx0PerQmg/p9Bn+pOHtLleQsD1ElIsWDOT+w DjAYRcDwsIBLHdvKXPB0dHRjrsnkx8t0tahE8=
MIME-Version: 1.0
Received: by 10.52.91.196 with SMTP id cg4mr9341791vdb.68.1328561620300; Mon, 06 Feb 2012 12:53:40 -0800 (PST)
Received: by 10.52.176.40 with HTTP; Mon, 6 Feb 2012 12:53:40 -0800 (PST)
In-Reply-To: <1328560127.30100.21.camel@home.henriknordstrom.net>
References: <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com> <5297.1328556382@critter.freebsd.dk> <CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com> <1328560127.30100.21.camel@home.henriknordstrom.net>
Date: Mon, 6 Feb 2012 12:53:40 -0800
Message-ID: <CA+9kkMCAXvENZPs8+soppwFM8OqkEZfYJAiY3kXXFc1_xKUM+Q@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=ted.ietf@gmail.com; helo=mail-vw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1RuVc9-0004mn-3l cc1bd1b12b2e1f5ff977e76ef212c820
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/CA+9kkMCAXvENZPs8+soppwFM8OqkEZfYJAiY3kXXFc1_xKUM+Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12341
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>
Resent-Message-Id: <E1RuVdI-0003Wl-M6@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:57:52 +0000

2012/2/6 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> m=E5n 2012-02-06 klockan 12:05 -0800 skrev Ted Hardie:
>
>> Would you propose different method names for this mode, so that they
>> were distinguishable
>> to intermediaries, or would propose that the semantics of the method
>> be determined by
>> the transport on which it arrived?
>
> I would simply state that there is no guaranteed delivery status when
> HTTP/UDP is used. Messages MAY be silently lost when using such
> transport and it's up to to the application to handle it gracefully.

There's also no guarantee that all messages will fit into a single UDP pack=
et,
so you may get partial messages that need to be discarded.

>How
> is outside of the specification. There is also other very noticeable
> limitations of HTTP/UDP such as maximum message size which is fairly
> small. I.e. 64KB on a good day.
>
> If reliable datagram transport is desired then use HTTP/SCTP.  It's a
> very real alternative in the environments and for the applications where
> HTTP/UPD is interesting and provide much the same properties in
> unordered (but well defined) delivery of interleaved messages and other
> nice properties.
>
Note that many of the deployments of SCTP currently run over UDP.

regards,

Ted



> Regards
> Henrik
>


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:58:19 2012
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 CCDB421F86C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.076
X-Spam-Level: 
X-Spam-Status: No, score=-8.076 tagged_above=-999 required=5 tests=[AWL=2.523, 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 TNB0qkyTho1A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 32DB421F85E9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuVFb-00046g-7o for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:33:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RuVFP-00045o-Pc for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:33:11 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RuVEL-0003md-Ng for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:32:36 +0000
Received: (qmail invoked by alias); 06 Feb 2012 20:29:53 -0000
Received: from p3EE277B7.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.119.183] by mail.gmx.net (mp027) with SMTP; 06 Feb 2012 21:29:53 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18ocR4/1KkoBZYcVcNaSr35PydOuBam4MNYgZMEoQ Bv8V/ICbgE4viY
Message-ID: <4F30383F.6020208@gmx.de>
Date: Mon, 06 Feb 2012 21:29:51 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <20120206181123.29907.50281.idtracker@ietfa.amsl.com>
In-Reply-To: <20120206181123.29907.50281.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20120206181123.29907.50281.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RuVEL-0003md-Ng 0ef575a6a84b263e35da694ab6a5bb30
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: Protocol Action: 'Additional HTTP Status Codes' to Proposed  Standard (draft-nottingham-http-new-status-04.txt)
Archived-At: <http://www.w3.org/mid/4F30383F.6020208@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12340
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>
Resent-Message-Id: <E1RuVFb-00046g-7o@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:33:23 +0000

(FYI)

-------- Original Message --------
Subject: Protocol Action: 'Additional HTTP Status Codes' to Proposed 
Standard (draft-nottingham-http-new-status-04.txt)
Date: Mon, 06 Feb 2012 10:11:23 -0800
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
CC: RFC Editor <rfc-editor@rfc-editor.org>

The IESG has approved the following document:
- 'Additional HTTP Status Codes'
   (draft-nottingham-http-new-status-04.txt) as a Proposed Standard

This document has been reviewed in the IETF but is not the product of an
IETF Working Group.

The IESG contact person is Peter Saint-Andre.

A URL of this Internet Draft is:
http://datatracker.ietf.org/doc/draft-nottingham-http-new-status/




Technical Summary

    This document specifies additional HyperText Transfer Protocol
    (HTTP) status codes for a variety of common situations, to improve
    interoperability and avoid confusion when other, less precise status
    codes are used.

    This work has been completed outside the HTTPBIS WG because
    the HTTPBIS charter was scoped tightly to avoid distractions, such
    as new status codes.

Working Group Summary

    This document is not the product of a working groups, although it
    has been reviewed by participants in the HTTPBIS WG and
    APPSAWG WG.

    There has been some controversy about the practice of intercepting
    proxies in HTTP, which caused the need for status code 511 ("Network
    Authentication Required").  However, there is agreement that a code
    is needed so that clients can react appropriately to requests for
    authentication that they receive from intermediaries.

Document Quality

    The document has been reviewed by participants in the HTTPBIS WG
    and APPSAWG WG.  It is deemed to be of good quality.

    The status of implementation is unknown, however these codes are
    are relatively straightforward to implement and deploy because they
    are consistent with the default handling of 4xx and 5xx series codes
    in HTTP.

Personnel

    The Document Shepherd is Julian Reschke.

    The Responsible Area Director is Peter Saint-Andre.
_______________________________________________
IETF-Announce mailing list
IETF-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/ietf-announce



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:58:19 2012
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 E5BA821F85E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 4hXCHW2joJx3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6BA2721F85EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuVCC-0000ui-RU for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:29:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuVC9-0000u2-DF for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:29:49 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuVC7-0000Gf-Gp for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:29:48 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q16KTP5B024164; Mon, 6 Feb 2012 20:29:25 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q16KSlgk000312; Mon, 6 Feb 2012 21:28:47 +0100
Message-ID: <1328560127.30100.21.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Ted Hardie <ted.ietf@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 21:28:47 +0100
In-Reply-To: <CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com>
References:  <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com> <5297.1328556382@critter.freebsd.dk> <CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 20:29:26 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q16KTP5B024164
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuVC7-0000Gf-Gp 86a1ad11b923a5196475c7a5b303bbac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328560127.30100.21.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12339
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>
Resent-Message-Id: <E1RuVCC-0000ui-RU@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:29:52 +0000

m=C3=A5n 2012-02-06 klockan 12:05 -0800 skrev Ted Hardie:

> Would you propose different method names for this mode, so that they
> were distinguishable
> to intermediaries, or would propose that the semantics of the method
> be determined by
> the transport on which it arrived?

I would simply state that there is no guaranteed delivery status when
HTTP/UDP is used. Messages MAY be silently lost when using such
transport and it's up to to the application to handle it gracefully. How
is outside of the specification. There is also other very noticeable
limitations of HTTP/UDP such as maximum message size which is fairly
small. I.e. 64KB on a good day.

If reliable datagram transport is desired then use HTTP/SCTP. It's a
very real alternative in the environments and for the applications where
HTTP/UPD is interesting and provide much the same properties in
unordered (but well defined) delivery of interleaved messages and other
nice properties.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:58:20 2012
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 3713A21F85EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.579
X-Spam-Level: 
X-Spam-Status: No, score=-10.579 tagged_above=-999 required=5 tests=[AWL=0.020, 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 Cl3GpI9NLB4B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A48BD21F85A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuVBf-0000lv-O3 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:29:19 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1RuVBU-0000il-OQ for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:29:08 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1RuVBS-0000F9-ND for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:29:07 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id A86DE5DA5; Mon,  6 Feb 2012 20:28:45 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q16KSifu006214; Mon, 6 Feb 2012 20:28:44 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Robert Collins <robertc@squid-cache.org>, Henrik =?iso-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>, Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Feb 2012 21:26:39 +0100." <20120206202639.GF18059@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 06 Feb 2012 20:28:43 +0000
Message-ID: <6213.1328560123@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuVBS-0000F9-ND 16f68d8fa6286020a29db3bc65ed58f6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/6213.1328560123@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12338
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>
Resent-Message-Id: <E1RuVBf-0000lv-O3@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:29:19 +0000

In message <20120206202639.GF18059@1wt.eu>, Willy Tarreau writes:
>On Tue, Feb 07, 2012 at 09:17:15AM +1300, Robert Collins wrote:
>> 2012/2/6 Henrik Nordström <henrik@henriknordstrom.net>:
>> > lör 2012-01-28 klockan 11:50 +0100 skrev Julian Reschke:
>> >
>> >> I *agree* with improving the layering, and maybe giving the transport
>> >> layer a specific name, but "HTTP/2.0" it can't be.
>> >
>> > My vision of HTTP/2.0 is
>> ..
>> 
>> FWIW - this is pretty much exactly what I'd like to see as well, [...]
>
>I too agree on this. [...]

+1

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:58:20 2012
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 8795321F85A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.793
X-Spam-Level: 
X-Spam-Status: No, score=-9.793 tagged_above=-999 required=5 tests=[AWL=0.806, 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 2iIzQgcc3Yeq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E670221F86C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:58:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuV9n-0000Tb-Gn for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:27:23 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RuV9c-0000Sk-Rq for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:27:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RuV9a-0000A9-Gu for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:27:11 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q16KQd4G022791; Mon, 6 Feb 2012 21:26:39 +0100
Date: Mon, 6 Feb 2012 21:26:39 +0100
From: Willy Tarreau <w@1wt.eu>
To: Robert Collins <robertc@squid-cache.org>
Cc: Henrik =?iso-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>, Julian Reschke <julian.reschke@gmx.de>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120206202639.GF18059@1wt.eu>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de> <1328499903.16728.116.camel@home.henriknordstrom.net> <CAJ3HoZ3q+d-ZW6tFt6yrksrwP8OoogCPRKQVwCjT9VQgktHfOw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <CAJ3HoZ3q+d-ZW6tFt6yrksrwP8OoogCPRKQVwCjT9VQgktHfOw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by 1wt.eu id q16KQemd024895
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuV9a-0000A9-Gu be7aa2d7c71ea5e3083a0674a1cc8447
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/20120206202639.GF18059@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12337
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>
Resent-Message-Id: <E1RuV9n-0000Tb-Gn@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:27:23 +0000

On Tue, Feb 07, 2012 at 09:17:15AM +1300, Robert Collins wrote:
> 2012/2/6 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> > l=F6r 2012-01-28 klockan 11:50 +0100 skrev Julian Reschke:
> >
> >> I *agree* with improving the layering, and maybe giving the transpor=
t
> >> layer a specific name, but "HTTP/2.0" it can't be.
> >
> > My vision of HTTP/2.0 is
> ..
> > I do not see a great need for a new semantic model. But several thing=
s
> > that need to change on the wire to provide a robust & efficient proto=
col
> > that can be built upon for the next several decades.
>=20
> FWIW - this is pretty much exactly what I'd like to see as well, both
> wearing my squid hat, and my 'runs a complex web environment with
> stacked accelerators, caches, heterogeneous appservers etc' hat on.

I too agree on this. In my opinion, what made HTTP succeed so well is
that there are places for any sort of new component that can fit a given
application's usage. Almost everything can be inserted between two ends
to extend features, performance, security, filtering, etc...

We clearly need some polishing on the semantics to avoid interoperability
issues we have all been facing from time to time, but I think the model
is fine.

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 12:58:20 2012
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 ACD9621F85A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.58
X-Spam-Level: 
X-Spam-Status: No, score=-10.58 tagged_above=-999 required=5 tests=[AWL=0.019, 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 mnMWQCTEJIJk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 12:58:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2E52221F85E9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 12:58:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuV1H-0007aM-5t for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 20:18:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1RuV16-0007Y5-4h for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 20:18:24 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1RuV14-0007wI-2n for ietf-http-wg@w3.org; Mon, 06 Feb 2012 20:18:23 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 4F7725DC4; Mon,  6 Feb 2012 20:18:01 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q16KI0MN006149; Mon, 6 Feb 2012 20:18:00 GMT (envelope-from phk@phk.freebsd.dk)
To: Ted Hardie <ted.ietf@gmail.com>
cc: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>, Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Feb 2012 12:05:21 PST." <CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 06 Feb 2012 20:18:00 +0000
Message-ID: <6148.1328559480@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RuV14-0007wI-2n 657ee0800d2533f808cfd5211868c0fe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/6148.1328559480@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12335
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>
Resent-Message-Id: <E1RuV1H-0007aM-5t@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 20:18:35 +0000

In message <CA+9kkMDSfPhwc37Ohy_=dO7+rkPBT9bYGYQRNJ=u7uLuYb4jyA@mail.gmail.com>
, Ted Hardie writes:
>On Mon, Feb 6, 2012 at 11:26 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

>"reliable transport" is a term of art for what you describe above;


Yes, but people seem to leave the "transport" bit off and just say
"TCP is reliable" which leads to sloppy thinking and invalid
conclusions.

>Would you propose different method names for this mode, [...]

No, that would be missing the point about separating transport
from interpretation.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 13:12:39 2012
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 D3CDE21F86C8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 13:12:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.166
X-Spam-Level: 
X-Spam-Status: No, score=-7.166 tagged_above=-999 required=5 tests=[AWL=3.133, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 s14RNRMhEsZ3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 13:12:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D189421F853E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 13:12:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuVr4-0002kS-60 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 21:12:06 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ted.ietf@gmail.com>) id 1RuVqs-0002dx-P0 for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 21:11:54 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1RuVpi-0005Td-4o for ietf-http-wg@w3.org; Mon, 06 Feb 2012 21:11:19 +0000
Received: by vcbfo11 with SMTP id fo11so5370300vcb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 13:07:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=K6L2olpAGmbbzA6+fhMaWQuZcSn/P2SRwgzOb+wSV58=; b=Uf70OeU3PJpGch2YWacfiv+A9+ADEf0NK0sBlwLac2SMQHgMiJjxxUT3m0SK3QIxd/ ADV8qJlxatOI5IZ+wEKkQMWwuexioNMehklf0uT/Ps5ptwgfgHvi+uGFZZXSdf39EfF4 x9FHO3LA5m2Jvo6FegQvKlXOrDT4sebjGDPyE=
MIME-Version: 1.0
Received: by 10.220.148.196 with SMTP id q4mr10998738vcv.42.1328562461419; Mon, 06 Feb 2012 13:07:41 -0800 (PST)
Received: by 10.52.176.40 with HTTP; Mon, 6 Feb 2012 13:07:41 -0800 (PST)
In-Reply-To: <1328558870.30100.11.camel@home.henriknordstrom.net>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de> <1328499903.16728.116.camel@home.henriknordstrom.net> <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com> <1328558870.30100.11.camel@home.henriknordstrom.net>
Date: Mon, 6 Feb 2012 13:07:41 -0800
Message-ID: <CA+9kkMBL=fm-BQu3=7+ewhRJR0HA6T3=pNsaEOge+DxAXQ6U2g@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=ted.ietf@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: lisa.w3.org 1RuVpi-0005Td-4o 3c989086c232d329dbd692b2d34faf6e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/CA+9kkMBL=fm-BQu3=7+ewhRJR0HA6T3=pNsaEOge+DxAXQ6U2g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12342
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>
Resent-Message-Id: <E1RuVr4-0002kS-60@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 21:12:06 +0000

2012/2/6 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> m=E5n 2012-02-06 klockan 11:03 -0800 skrev Ted Hardie:

> And DTLS is not by definition unreliable. It may be used alike over
> unreliable transports such as UDP or over reliable message transports
> such as SCTP. The reliability of the delivery in DTLS is a property of
> it's underlying transport, not the DTLS protocol as such.
>

"Datagram transport does not require or provide reliable or in-order
   delivery of data.  The DTLS protocol preserves this property for
   payload data.  "

The major point of DTLS is that it works without a reliable transport; its
advantages over TLS are there.  At least as I understand it, it also does n=
ot
guarantee this property when run over any transport.   It might, for exampl=
e,
deliver data out of order even when the underlying transport will re-transm=
it
to get in-order delivery; it depends on the implementation to determine whe=
n
the data is passed up.

> HTTP is a request/response message exchange protocol. At the high level
> message level it's pretty ignorant about the transport.
>

I suspect it gets to be ignorant about the transport in part because it get=
s
to assume certain things about the transport.  If you change those things,
I think the applications that are built on top of HTTP may want new tools f=
rom
HTTP (or they will each have to build those same tools for themselves).  Th=
is
is particularly the case for applications where non-idempotent methods are
used.

regards,

Ted


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 14:05:57 2012
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 B432211E8096 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 14:05:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.424
X-Spam-Level: 
X-Spam-Status: No, score=-8.424 tagged_above=-999 required=5 tests=[AWL=2.175, 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 9TLVED9jLdbU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 14:05:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 282CA11E8099 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 14:05:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuWgE-0004YT-JB for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 22:04:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1RuWfv-0004Ss-Ly for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 22:04:39 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1RuWfR-0004EZ-0d for ietf-http-wg@w3.org; Mon, 06 Feb 2012 22:04:38 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q16M2Eu9019963; Mon, 6 Feb 2012 23:02:15 +0100 (CET)
Received: from [192.168.217.103] (p5489B566.dip.t-dialin.net [84.137.181.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 64A7BF61; Mon,  6 Feb 2012 23:02:14 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <5297.1328556382@critter.freebsd.dk>
Date: Mon, 6 Feb 2012 23:02:13 +0100
Cc: Ted Hardie <ted.ietf@gmail.com>, =?iso-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>, Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E2E208A8-0E8A-43EC-BAC0-A50A35BEFFE5@tzi.org>
References: <5297.1328556382@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuWfR-0004EZ-0d 37c290a25c01b04f444c8170181788ab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/E2E208A8-0E8A-43EC-BAC0-A50A35BEFFE5@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12343
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>
Resent-Message-Id: <E1RuWgE-0004YT-JB@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 22:04:58 +0000

On Feb 6, 2012, at 20:26, Poul-Henning Kamp wrote:

> Obviously, HTTP over UDP would be very exposed to DoS, so it should
> probably be confined to behind firewalls and other walled gardens,
> but I can certainly see the utility for a number of cases.

If you are interested in a REST-style transfer protocol that runs over =
datagram transports (such as UDP and DTLS) at a low level, you may want =
to look at CoAP.

http://tools.ietf.org/html/draft-ietf-core-coap-08

CoAP might work well for favicon.ico :-)
(It is designed for constrained node/networks.)

Also have a look at coap-block (for payloads larger than what you like =
to have in a single datagram) and coap-observe (for going beyond =
original REST).

CoAP is different enough from HTTP that it may not be a drop-in, but if =
all you need is a back-end protocol behind, say, varnish, that runs on =
datagrams, it may be worth a look.

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 14:33:36 2012
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 ED42721F86DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 14:33:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 SmzQQskjMUMH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 14:33:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 48EA121F86D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 14:33:23 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuX7F-0004tt-Q7 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Feb 2012 22:32:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RuX76-0004sb-Qn for ietf-http-wg@listhub.w3.org; Mon, 06 Feb 2012 22:32:44 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RuX63-0000YX-2B for ietf-http-wg@w3.org; Mon, 06 Feb 2012 22:32:09 +0000
Received: from home.henriknordstrom.net (183.159.216.81.static.tb.siw.siwnet.net [81.216.159.183]) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q16MTOK0030237; Mon, 6 Feb 2012 22:29:25 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.henriknordstrom.net (8.14.5/8.14.5) with ESMTP id q16MSiUb009977; Mon, 6 Feb 2012 23:28:44 +0100
Message-ID: <1328567324.6558.20.camel@home.henriknordstrom.net>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Ted Hardie <ted.ietf@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 06 Feb 2012 23:28:44 +0100
In-Reply-To: <CA+9kkMBL=fm-BQu3=7+ewhRJR0HA6T3=pNsaEOge+DxAXQ6U2g@mail.gmail.com>
References: <1839.1327747527@critter.freebsd.dk> <4F23D30C.1040406@gmx.de> <1328499903.16728.116.camel@home.henriknordstrom.net> <CA+9kkMAj1vnTsxe7OLRVHSMZmDF5F=u1MQ8oniLgd_TppXiQ1g@mail.gmail.com> <1328558870.30100.11.camel@home.henriknordstrom.net> <CA+9kkMBL=fm-BQu3=7+ewhRJR0HA6T3=pNsaEOge+DxAXQ6U2g@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [195.20.207.177]); Mon, 06 Feb 2012 22:29:30 +0000 (UTC)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by vps1.henriknordstrom.net id q16MTOK0030237
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RuX63-0000YX-2B 6ce9325e36525647915a0eb55e273697
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTbis spec size, was: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/1328567324.6558.20.camel@home.henriknordstrom.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12344
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>
Resent-Message-Id: <E1RuX7F-0004tt-Q7@frink.w3.org>
Resent-Date: Mon, 06 Feb 2012 22:32:53 +0000

m=C3=A5n 2012-02-06 klockan 13:07 -0800 skrev Ted Hardie:

> "Datagram transport does not require or provide reliable or in-order
>    delivery of data.  The DTLS protocol preserves this property for
>    payload data.  "

This is a property of the underlying transport, not DTLS itself. DTLS
preserves the same guarantees (or lack thereof) as the underlying
transport.

> The major point of DTLS is that it works without a reliable transport; =
its
> advantages over TLS are there.

Yes.

> At least as I understand it, it also does not
> guarantee this property when run over any transport.

That's not my understanding. If the transport is reliable then DTLS is
as well.

> It might, for example,
> deliver data out of order even when the underlying transport will re-tr=
ansmit
> to get in-order delivery; it depends on the implementation to determine=
 when
> the data is passed up.

Not sure what you talk about here. in-order transports do not provide
DTLS out-of-order access to the data.

> I suspect it gets to be ignorant about the transport in part because it=
 gets
> to assume certain things about the transport.  If you change those thin=
gs,
> I think the applications that are built on top of HTTP may want new too=
ls from
> HTTP (or they will each have to build those same tools for themselves).=
  This
> is particularly the case for applications where non-idempotent methods =
are
> used.

Well, to be honest those problems are there already even with TCP. Just
slightly different.

Please note that I do not say that HTTP/UDP is universally applicable to
all applications or even makes sense at all times. Only that UDP is one
of many transports HTTP may operate over and which makes sense for some
applications.

There is applications using HTTP/UDP today even if not part of any HTTP
standard. Not because it's cool, but because it makes sense for those
specific applications.

Regards
Henirk



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 16:02:13 2012
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 E2FAF11E8080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 16:02:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.538
X-Spam-Level: 
X-Spam-Status: No, score=-8.538 tagged_above=-999 required=5 tests=[AWL=2.061, 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 jPuf0LaFW49D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 16:02:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EADDA11E80BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 16:02:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuYUk-00068S-9e for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 00:01:14 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RuYUT-00066q-7M for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 00:00:57 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuYTO-0008AK-Uc for ietf-http-wg@w3.org; Tue, 07 Feb 2012 00:00:21 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id F28262FDBEC for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 18:58:06 -0500 (EST)
Received: from mnot-mini.mnot.net (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DBCAA22E247 for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 18:55:35 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 7 Feb 2012 10:55:33 +1100
Message-Id: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuYTO-0008AK-Uc f5362cccd669b477597be5326844d3c9
X-Original-To: ietf-http-wg@w3.org
Subject: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12345
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>
Resent-Message-Id: <E1RuYUk-00068S-9e@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 00:01:14 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>

> The redirect status codes define requirements for user intervention; =
e.g.,
>=20
> If the 301 status code is received in response to a request method =
that is known to be "safe", as defined in Section 7.1.1, then the =
request MAY be automatically redirected by the user agent without =
confirmation. Otherwise, the user agent MUST NOT automatically redirect =
the request unless it can be confirmed by the user, since this might =
change the conditions under which the request was issued.
>=20
> However, this requirement is not often implemented by UAs.


I'm now wondering if we should consider removing this requirement =
altogether.

The way it's structured now, the requirement associates intent with a =
URI, when in reality intent is associated with the UI; the user is =
blissfully unaware of the actual resource being manipulated.

More to the point, there's little to no difference between an HTML form =
POSTing somewhere and getting redirected somewhere else to the form just =
using the second URI in the first place.

I think this requirement is well-intentioned, but the threat model of =
the Web has changed significantly since it was written.

Thoughts?


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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 16:15:15 2012
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 198F511E80C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 16:15:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.828
X-Spam-Level: 
X-Spam-Status: No, score=-7.828 tagged_above=-999 required=5 tests=[AWL=2.772, 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 IBpmrziObKYa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 16:15:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9B99711E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 16:15:14 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuYhV-0007ky-W7 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 00:14:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1RuYhK-0007jo-PQ for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 00:14:14 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1RuYg4-000059-Mj for ietf-http-wg@w3.org; Tue, 07 Feb 2012 00:13:39 +0000
Received: by bkbzv3 with SMTP id zv3so6567984bkb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 16:10:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zOaJsaqoV5TnOTAsgmXMm54MCkNiTG3lB0Yu6IkkmWc=; b=riTfFxW2ysG6fplLKE9sTjAjqKh8vPh1ImtDA8RxtkwUgJJ+Ne9M3DPy6wVJjEZi5/ /GI7glXdDYTPu4/37vqJk658F6oWNAsiPNa073hDBtVEE7JOVfZhYYjUSdDR54MiPneu PeWAI1hTIupU39AAh/bLqRjN7shkjFwRd/5ek=
MIME-Version: 1.0
Received: by 10.204.150.78 with SMTP id x14mr9705339bkv.0.1328573400728; Mon, 06 Feb 2012 16:10:00 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Mon, 6 Feb 2012 16:10:00 -0800 (PST)
In-Reply-To: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
Date: Mon, 6 Feb 2012 16:10:00 -0800
Message-ID: <CABkgnnXh4JUMXn+x5PLtkR-_wmvnJJP5n=eiWxz=AM5UEGF5Bw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuYg4-000059-Mj f66b7a035b2102867cb59fb3ff441444
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CABkgnnXh4JUMXn+x5PLtkR-_wmvnJJP5n=eiWxz=AM5UEGF5Bw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12346
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>
Resent-Message-Id: <E1RuYhV-0007ky-W7@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 00:14:25 +0000

On 6 February 2012 15:55, Mark Nottingham <mnot@mnot.net> wrote:
> I'm now wondering if we should consider removing this requirement altogether.

Remove it.  I imagine that the original idea was that you might want
to prevent a server that from getting you to pass your secrets to some
other server.  Or that it might do a bait and switch.

In a world with clickjacking, this sort of measure just seems naive.


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 17:11:54 2012
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 5120F21F86D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:11:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.59
X-Spam-Level: 
X-Spam-Status: No, score=-8.59 tagged_above=-999 required=5 tests=[AWL=2.009, 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 2-p6+ZpERurX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:11:53 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6A4621F869A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 17:11:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuZZN-0004q1-S9 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 01:10:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RuZZA-0004nt-Vd for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 01:09:52 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuZY8-0006OV-76 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 01:09:17 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 8B35A2FDBEE for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 20:06:12 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3733622E25C for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 20:03:40 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 7 Feb 2012 12:03:38 +1100
Message-Id: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RuZY8-0006OV-76 3f5b1651ef8900df40fef1a3d2d81eec
X-Original-To: ietf-http-wg@w3.org
Subject: chunk-extensions
Archived-At: <http://www.w3.org/mid/99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12347
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>
Resent-Message-Id: <E1RuZZN-0004q1-S9@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 01:10:05 +0000

Right now, this is all we say about chunk-extensions (beyond the BNF, =
etc.):

>    All HTTP/1.1 applications MUST be able to receive and decode the
>    "chunked" transfer-coding and MUST ignore chunk-ext extensions they
>    do not understand.

Since this is an extensibility point, we should give guidance on how it =
should be used.=20

I can't really see establishing a chunk-extension registry; they don't =
have any semantic, and AFAIK haven't really been used in anger.

What do people think about adding advice along these lines:

"""
Use of chunk-extensions by senders is deprecated; they SHOULD NOT be =
sent and definition of new chunk-extensions is discouraged.
"""

?

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 17:24:25 2012
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 DC92D11E809D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:24:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.955
X-Spam-Level: 
X-Spam-Status: No, score=-7.955 tagged_above=-999 required=5 tests=[AWL=2.644, 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 IJR8emnNMJce for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:24:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5E19711E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 17:24:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuZma-0000Wc-Tn for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 01:23:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1RuZmM-0000UR-6D for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 01:23:30 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1RuZl8-0002Ca-4t for ietf-http-wg@w3.org; Tue, 07 Feb 2012 01:22:54 +0000
Received: by bkbzv3 with SMTP id zv3so6605816bkb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 17:19:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NTrPrZLWOVvDEMg1vsflgaJ0br+HWatUaVD/AHL8ftk=; b=WWZ34rI5KIo9B6jQt4m50hbHecDQLk4FgImmjP05H7R/5WmY46/uwRW+ewHJZHftew Lh0ZoDax4aaXEfR+KijrtQjKT6bRUTSspwjNXb2YnR025nVe6vqNZgzVXlcj2R5oG4E2 1Bbw16Cs7NBGlezXOmxznA5+UFWgbs8V6lrEQ=
MIME-Version: 1.0
Received: by 10.204.150.78 with SMTP id x14mr9781857bkv.0.1328577548262; Mon, 06 Feb 2012 17:19:08 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Mon, 6 Feb 2012 17:19:08 -0800 (PST)
In-Reply-To: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
Date: Mon, 6 Feb 2012 17:19:08 -0800
Message-ID: <CABkgnnVt3vSJSOOXd1M=YK+pm4pdhengwMDDqTLkW6XcNNOy5Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuZl8-0002Ca-4t a9b59417ec4c26e02eb25af7b8cfc9f2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/CABkgnnVt3vSJSOOXd1M=YK+pm4pdhengwMDDqTLkW6XcNNOy5Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12348
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>
Resent-Message-Id: <E1RuZma-0000Wc-Tn@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 01:23:44 +0000

On 6 February 2012 17:03, Mark Nottingham <mnot@mnot.net> wrote:
> """
> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be sent and definition of new chunk-extensions is discouraged.
> """

+1

Do you want to provide advice for someone receiving one?  I can't see
any option other than drop the connection.  Is that obvious enough
that text is unnecessary?

--Martin


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 17:24:39 2012
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 B176111E809D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:24:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.639
X-Spam-Level: 
X-Spam-Status: No, score=-8.639 tagged_above=-999 required=5 tests=[AWL=1.960, 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 JvoJvx1FK235 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:24:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 13B3811E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 17:24:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuZn7-0000b9-RK for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 01:24:17 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RuZmw-0000aF-7m for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 01:24:06 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuZlo-0002Gw-Qh for ietf-http-wg@w3.org; Tue, 07 Feb 2012 01:23:30 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id D1D932FDBF1 for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 20:21:08 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9918B22E1EB; Mon,  6 Feb 2012 20:18:34 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F285685.6000803@gmx.de>
Date: Tue, 7 Feb 2012 12:18:31 +1100
Cc: Zhong Yu <zhong.j.yu@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <09E48240-7BCF-4F9F-B994-B1E285C54EB2@mnot.net>
References: <CACuKZqG1em8bAQa564Srd3OA+H-vBzbiwOfiE8UoNcWrTX_jCw@mail.gmail.com> <4F285685.6000803@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuZlo-0002Gw-Qh ec5d45c24eeab89f94f7bd6cb277f731
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #335, was: obs-fold
Archived-At: <http://www.w3.org/mid/09E48240-7BCF-4F9F-B994-B1E285C54EB2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12349
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>
Resent-Message-Id: <E1RuZn7-0000b9-RK@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 01:24:17 +0000

I think "field-value" would work...


On 01/02/2012, at 8:00 AM, Julian Reschke wrote:

> On 2012-01-30 01:14, Zhong Yu wrote:
>> p1 section 3.2.1.
>>=20
>>    HTTP senders MUST NOT produce messages that include
>>    line folding (i.e., that contain any #field-content# that matches =
the
>>    obs-fold rule)
>>=20
>> shouldn't that be
>>=20
>>    HTTP senders MUST NOT produce messages that include
>>    line folding (i.e., that contain any #header-field# that matches =
the
>>    obs-fold rule)
>>=20
>> instead?
>>=20
>>      OWS            =3D *( SP / HTAB / obs-fold )
>>      BWS            =3D OWS
>>=20
>>      header-field   =3D field-name ":" OWS field-value BWS
>>      field-name     =3D token
>>      field-value    =3D *( field-content / obs-fold )
>>      field-content  =3D *( HTAB / SP / VCHAR / obs-text )
>=20
> Minimally, this is phrased confusingly. Not being sure what the best =
fix is, I opened a ticket: =
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/335>
>=20
> Best regards, Julian
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 17:27:29 2012
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 CB87421F8562 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:27:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.686
X-Spam-Level: 
X-Spam-Status: No, score=-8.686 tagged_above=-999 required=5 tests=[AWL=1.913, 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 lb2riDVPDzAB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:27:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 14E5521F84CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 17:27:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuZpf-0000zh-Nz for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 01:26:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RuZpU-0000ul-GN for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 01:26:44 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuZoS-0002KJ-SN for ietf-http-wg@w3.org; Tue, 07 Feb 2012 01:26:11 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 862042FDBFD for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 20:22:13 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 39D6E22E1F4; Mon,  6 Feb 2012 20:19:51 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABkgnnVt3vSJSOOXd1M=YK+pm4pdhengwMDDqTLkW6XcNNOy5Q@mail.gmail.com>
Date: Tue, 7 Feb 2012 12:19:49 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <079E3A3E-9086-4C00-981F-8D4AE414A600@mnot.net>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <CABkgnnVt3vSJSOOXd1M=YK+pm4pdhengwMDDqTLkW6XcNNOy5Q@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuZoS-0002KJ-SN 8bf96b93c649ff10f76e4df8826571b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/079E3A3E-9086-4C00-981F-8D4AE414A600@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12350
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>
Resent-Message-Id: <E1RuZpf-0000zh-Nz@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 01:26:55 +0000

It already says they should ignore them...


On 07/02/2012, at 12:19 PM, Martin Thomson wrote:

> On 6 February 2012 17:03, Mark Nottingham <mnot@mnot.net> wrote:
>> """
>> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be =
sent and definition of new chunk-extensions is discouraged.
>> """
>=20
> +1
>=20
> Do you want to provide advice for someone receiving one?  I can't see
> any option other than drop the connection.  Is that obvious enough
> that text is unnecessary?
>=20
> --Martin

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 17:32:47 2012
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 4621821F8606 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:32:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.185
X-Spam-Level: 
X-Spam-Status: No, score=-10.185 tagged_above=-999 required=5 tests=[AWL=0.414, 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 Ehg0tsiw2tQJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 17:32:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBC1621F856F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 17:32:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuZup-0002f7-CF for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 01:32:15 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RuZue-0002eG-3t for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 01:32:04 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RuZtc-0002Tq-F9 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 01:31:30 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id F37B7E724D; Tue,  7 Feb 2012 14:28:49 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Date: Tue, 07 Feb 2012 14:28:49 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <1328551371.21018.1.camel@home.henriknordstrom.net>
References: <4429D3C2-9696-4110-B5BE-60DFB8A3101F@mnot.net> <4F1E72E0.70905@gmx.de> <EC463243-A3B0-4E35-BE92-95B35F3DE067@mnot.net> <20120128000447.GC22945@1wt.eu> <79AE838C-DA8E-4A22-954E-97D12D1B3BA4@mnot.net> <20120128002233.GD22945@1wt.eu> <B2E04CF8-E2A3-476B-A601-CCB324812CE1@mnot.net> <20120128064900.GE22945@1wt.eu> <4F23AE3F.3030004@gmx.de> <1328500916.16728.123.camel@home.henriknordstrom.net> <4F2F8678.10908@gmx.de> <1328517777.15204.3.camel@home.henriknordstrom.net> <4F2F9860.2060109@gmx.de> <1328551371.21018.1.camel@home.henriknordstrom.net>
Message-ID: <90c56a200db99923b4def5a577230e8e@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuZtc-0002Tq-F9 b1ceffa3b586689ae015239f6701b0e8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Rechartering HTTPbis
Archived-At: <http://www.w3.org/mid/90c56a200db99923b4def5a577230e8e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12351
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>
Resent-Message-Id: <E1RuZup-0002f7-CF@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 01:32:15 +0000

On 07.02.2012 07:02, Henrik Nordstr=C3=B6m wrote:
> m=C3=A5n 2012-02-06 klockan 10:07 +0100 skrev Julian Reschke:
>
>> It doesn't affect Basic auth at all, because Basic uses plain-ASCII=20
>> (so
>> the encoding happens on a different layer).
>
> True. But it does affect Digest auth, and can't be recoded there=20
> without
> breaking the digest. Plus that browsers vary greatly in what encoding
> they use within basic auth before base64-encoding so in a sense it=20
> does
> affect basic auth as well.
>
> Regards
> Henrik


I thought that pre-base64 representation was what this draft was about.
To label the "user:pass" string as being in UTF-8 before base-64=20
encoding was applied converting it to ASCII for the HTTP transfer.

So that the decoder at the other end know what the base64-decoded=20
octets arriving were.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 18:27:04 2012
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 076FF21F871C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:27:04 -0800 (PST)
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=[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 br811A-J3XbM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:27:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1EC6321F871E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 18:27:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuakS-0003KT-2D for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 02:25:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1RuakG-0003JD-5q for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 02:25:24 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Ruaj8-00041b-2Q for ietf-http-wg@w3.org; Tue, 07 Feb 2012 02:24:48 +0000
Received: by vcbfo11 with SMTP id fo11so5575115vcb.2 for <ietf-http-wg@w3.org>; Mon, 06 Feb 2012 18:21:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UBqNm10x3Y55bFPLcSugrUKlEjo+WH3fI72ApZZhBAg=; b=RWto10chYvTQ9jIlVHEwUd5QpVLO5tZEnEA0J267uOuWGBfot7azamNBtg9Ehnou35 F9N+8aM72w8aamWY36bSmpLCzws3n7+WhbbW6+pk2nDbfBcLQJEDUd8bFAptPrYtT55A EULKyDb204Hrf0QYOAPnN+dtO1YqQYNLqEBEw=
MIME-Version: 1.0
Received: by 10.52.173.79 with SMTP id bi15mr9463048vdc.31.1328581271548; Mon, 06 Feb 2012 18:21:11 -0800 (PST)
Received: by 10.220.192.137 with HTTP; Mon, 6 Feb 2012 18:21:11 -0800 (PST)
In-Reply-To: <09E48240-7BCF-4F9F-B994-B1E285C54EB2@mnot.net>
References: <CACuKZqG1em8bAQa564Srd3OA+H-vBzbiwOfiE8UoNcWrTX_jCw@mail.gmail.com> <4F285685.6000803@gmx.de> <09E48240-7BCF-4F9F-B994-B1E285C54EB2@mnot.net>
Date: Mon, 6 Feb 2012 20:21:11 -0600
Message-ID: <CACuKZqF73FJ1prjvOsYuCrLeOGsiFZgqx-DM-n4zvx=d4_nn5g@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ruaj8-00041b-2Q 7d26d86ea96cca8a9b71e8db8f950fa6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #335, was: obs-fold
Archived-At: <http://www.w3.org/mid/CACuKZqF73FJ1prjvOsYuCrLeOGsiFZgqx-DM-n4zvx=d4_nn5g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12352
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>
Resent-Message-Id: <E1RuakS-0003KT-2D@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 02:25:36 +0000

Since OWS and BWS include obs-fold, that would allow generation of

1  GET / HTTP/1.1
2  Host:
3
4    www.example.com
5
6  Accept: *
7

where line 3 and 5 contain spaces.

The intention seems to be to forbid line folding anywhere in the
message head. CR/LF are already forbidden in request/response
line(specifically mentioned in RFC 2616). What's left is
'header-field'.

On Mon, Feb 6, 2012 at 7:18 PM, Mark Nottingham <mnot@mnot.net> wrote:
> I think "field-value" would work...
>
>
> On 01/02/2012, at 8:00 AM, Julian Reschke wrote:
>
>> On 2012-01-30 01:14, Zhong Yu wrote:
>>> p1 section 3.2.1.
>>>
>>> =A0 =A0HTTP senders MUST NOT produce messages that include
>>> =A0 =A0line folding (i.e., that contain any #field-content# that matche=
s the
>>> =A0 =A0obs-fold rule)
>>>
>>> shouldn't that be
>>>
>>> =A0 =A0HTTP senders MUST NOT produce messages that include
>>> =A0 =A0line folding (i.e., that contain any #header-field# that matches=
 the
>>> =A0 =A0obs-fold rule)
>>>
>>> instead?
>>>
>>> =A0 =A0 =A0OWS =A0 =A0 =A0 =A0 =A0 =A0=3D *( SP / HTAB / obs-fold )
>>> =A0 =A0 =A0BWS =A0 =A0 =A0 =A0 =A0 =A0=3D OWS
>>>
>>> =A0 =A0 =A0header-field =A0 =3D field-name ":" OWS field-value BWS
>>> =A0 =A0 =A0field-name =A0 =A0 =3D token
>>> =A0 =A0 =A0field-value =A0 =A0=3D *( field-content / obs-fold )
>>> =A0 =A0 =A0field-content =A0=3D *( HTAB / SP / VCHAR / obs-text )
>>
>> Minimally, this is phrased confusingly. Not being sure what the best fix=
 is, I opened a ticket: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/=
335>
>>
>> Best regards, Julian
>>
>>
>
> --
> Mark Nottingham =A0 http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 18:43:04 2012
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 C764F21F85B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:43:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.73
X-Spam-Level: 
X-Spam-Status: No, score=-8.73 tagged_above=-999 required=5 tests=[AWL=1.869, 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 CIPW3YnCTEQj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:43:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 81B5D21F85B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 18:43:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rub0e-0006g2-9E for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 02:42:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rub0S-0006fB-UI for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 02:42:08 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuazO-0001KL-D0 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 02:41:33 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id D174A2FDBEB for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 21:38:26 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9BA5D22E247; Mon,  6 Feb 2012 21:35:54 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4E70FA07BAF76943AAF86F5F6368607803B6958F25@ITUPC-EX1MBOX.UniNet.unisa.edu.au>
Date: Tue, 7 Feb 2012 13:35:51 +1100
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Sonya Arnold <sonya.arnold@unisa.edu.au>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AADC5A1A-B838-44A4-86D4-4938E85F78D4@mnot.net>
References: <4E70FA07BAF76943AAF86F5F6368607803B6958F25@ITUPC-EX1MBOX.UniNet.unisa.edu.au>
To: Jonathan Billington <Jonathan.Billington@unisa.edu.au>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RuazO-0001KL-D0 3fa6238224d0b5fd8dd327a878178619
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Comments on Section 6.1 (Persistent Connections) of HTTPbis Part 1,  version 17
Archived-At: <http://www.w3.org/mid/AADC5A1A-B838-44A4-86D4-4938E85F78D4@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12353
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>
Resent-Message-Id: <E1Rub0e-0006g2-9E@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 02:42:20 +0000

Hello Jonathan,

Thank you for your efforts. I'll let the editors take items 1-4 as =
feedback to incorporate at their discretion; see =
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/339>.

Regarding #5, the intent of the requirement is to avoid abuse of servers =
by retry algorithms that are not well-considered; its precise =
specification doesn't affect interoperability (hence the SHOULD).=20

Kind regards,



On 20/12/2011, at 1:22 PM, Jonathan Billington wrote:

> We are currently working on developing a model of HTTP=92s operation =
over TCP based on Part 1 of HTTPbis. This has led us to make the =
following 5 comments on section 6.1 of draft 17. We have also included =
possible replacement text to help clarify section 6.1 of Part 1, where =
we thought it may be useful. The final comment may touch on design, and =
we are not confident about our assumptions, but we set out some issues =
that we feel need to be resolved, and are willing to prepare replacement =
text if the issues can be resolved.
> =20
> Regards
> =20
> Jonathan Billington
> Professor of Computer Systems Engineering
> University of South Australia
> =20
> Sonya Arnold
> Research Student
> University of South Australia
> =20
> ------------------
> Comments on Section 6.1 (Persistent Connections) of HTTPbis Part 1, =
version 17, 31 October 2011
> Input to: HTTPbis Working Group.
> 20 December 2011
> J. Billington and S. Arnold
> =20
> 1.  Section 6.1.1 Purpose
> Change Type: Editorial clarification
> Rationale: This section includes a list of advantages of using =
persistent HTTP connections. The third and fourth points state:
> =93Network congestion is reduced by reducing the number of packets =
caused by TCP opens, and by allowing TCP sufficient time to determine =
the congestion state of the network.=94
> =93Latency on subsequent requests is reduced since there is no time =
spent in TCP's connection opening handshake.=94
> =20
> These points concentrate on the opening phase of TCP causing delay, =
because of the 3 way handshake, but equally important is the graceful =
closing phase, which requires handshakes in both directions (FIN =
followed by ACK for each side), and the holding of the TIMEWAIT state, =
causing further delay. Because it is equally important to the closing =
phase, we feel it is useful to include this point in the list of =
advantages.
> =20
> Proposed Replacement text:
> Third point:
> =93Network congestion is reduced by eliminating the packets associated =
with TCP=92s three way handshake and graceful close procedures, and by =
allowing TCP sufficient time to determine the congestion state of the =
network.=94
> Fourth Point:
> =93Latency on subsequent requests is reduced since there is no time =
spent in the double handshakes required for gracefully closing TCP =
connections and holding the TIMEWAIT state, and in TCP's connection =
opening handshake, when reopening the connection.=94
> =20
> 2. Section 6.1.2 Overall Operation, second paragraph
> =20
> Change Type: Editorial clarification
> Rationale: The second paragraph of this section states:
>   =93 Persistent connections provide a mechanism by which a client and =
a
>    server can signal the close of a TCP connection.  This signaling
>    takes place using the Connection header field (Section 8.1).  Once =
a
>    close has been signaled, the client MUST NOT send any more requests
>   on that connection.=94
> =20
> The last sentence contains a mandatory requirement that may not be =
able to be met by a client using pipelining. If the client signals the =
close, then it is OK. However, if the server signals the close in a =
response, further pipelined requests may be sent by the client until it =
receives the response with the close token. Hence we need to rephrase =
the requirement so that the client can meet it.
> =20
> Proposed Replacement text:
> Replace the last sentence by:
> =93Once a close has been signaled by the client in a request, or the =
close token has been received by the client in a response, the client =
MUST NOT send any more requests on that connection.=94
> =20
> 3. Section 6.1.2.1 Negotiation, second paragraph
> =20
> Change Type: Editorial clarification
> Rationale: The second paragraph of this section states:
>   =93 An HTTP/1.1 client MAY expect a connection to remain open, but =
would
>    decide to keep it open based on whether the response from a server
>    contains a Connection header field with the connection-token =
close.=94
> =20
> It is not clear what the intent of this sentence is. Does it imply =
that on the receipt of a response with a close token, the client will =
close the connection? Does it also imply that if the response did not =
contain the close token, then the client would keep the connection open? =
If this is the intent, then a clearer statement of it would help to =
exclude other interpretations, as the current text seems to allow the =
client latitude to close or not on either of these events.
> =20
> Proposed Additional text if the above interpretation is the intent:
> Add a sentence to clarify the intent at the end of the above quoted =
sentence:
> =93If the response does not contain the close token the client will =
keep the connection open, otherwise, on receipt of the close token in =
the response, the client will close the connection.=94
> =20
> 4. Section 6.1.2.1 Negotiation, third paragraph (second paragraph on =
page 42)
> =20
> Change Type: Editorial clarification
> Rationale: The paragraph states:
>   =93If either the client or the server sends the close token in the
>    Connection header field, that request becomes the last one for the
>    connection.=94
> =20
> This is similar to item 2 above. The problem is knowing what =93that =
request=94 is in the case when the server includes the close token and =
pipelining occurs, and what is intended by the phrase =93becomes the =
last one for the connection=94. We expect that the following is the =
intent:
> A. If the client receives a response with the close token, it will not =
send any more requests (as in item 2 above); and
> B. Once the server has sent a response with the close token, it will =
discard any further requests it receives.
> =20
> Proposed Replacement text, given that previous items 2 and 3 are =
accepted
> Replace this sentence by:
> =93Once the server has sent a response with the close token, it will =
discard any further requests it receives.=94
> =20
> 5. Section 6.1.5 (page 46)
> =20
> Change Type: Design/Editorial clarification
> Rationale: The section states:
>    =93Senders can close the transport connection at any time.  =
Therefore,
>    clients, servers, and proxies MUST be able to recover from
>    asynchronous close events.  Client software MAY reopen the =
transport
>    connection and retransmit the aborted sequence of requests without
>    user interaction so long as the request sequence is idempotent (see
>    Section 6.1.2 of [Part2]).  Non-idempotent request methods or
>    sequences MUST NOT be automatically retried, although user agents =
MAY
>    offer a human operator the choice of retrying the request(s).
>    Confirmation by user-agent software with semantic understanding of
>    the application MAY substitute for user confirmation.  The =
automatic
>    retry SHOULD NOT be repeated if the second sequence of requests
>    fails.=94
> =20
> We believe it is useful to define terms associated with =93sequence of =
requests=94. We think it is clear that "the second sequence of requests" =
refers to "the aborted sequence of requests" mentioned earlier in the =
paragraph. Thus we need to understand and define what an =93aborted =
sequence of requests=94 is. To make a start on this we consider the =
following example:
> =20
> We begin with the premise that all sequences are idempotent. Consider =
that the client has pipelined 5 requests and has received 2 responses =
when the transport connection is closed by the server. It seems clear at =
this stage that the aborted sequence comprises the remaining 3 requests =
(that have not received responses). Now we think the following occurs, =
where we have numbered the requests from 1 to 5 in the order they were =
sent.
> =20
> The client automatically reopens the transport connection and resends =
request 3. (It cannot pipeline until it receives the response to request =
3 =96 see paragraph 2 of section 6.1.2.2 Pipelining.) The following =
scenarios are possible:
> a) If the server closes the transport connection before the response =
is received, then =93the second sequence of requests has failed=94. The =
HTTP client closes its half of the transport connection, the remaining 3 =
requests are removed from the HTTP client, and the HTTP client user is =
informed of the failure. The connection could be reopened by the client =
user and the requests resent. In this case the HTTP client would =
consider the sending of these requests to be a new sequence, and hence =
retry them if the server prematurely closed.
> b) If the response is received without the close token, then the =
client can resume pipelining, and could send requests 4 and 5 (and =
further requests). Let=92s say it sends requests 4, 5 and 6. This is a =
new sequence of requests (no longer [3,4,5]). Now if the server closes =
the connection before sending a response, then the automatic retry is =
allowed because this is now a new sequence, rather than an aborted =
sequence (or second sequence), even though it includes requests 4 and 5 =
that have been sent twice. Further, if only requests 4 and 5 were sent =
and the server closed, it would still be a new sequence [4,5],  rather =
than [3,4,5], and hence the retry would be invoked. Is this the intended =
meaning of section 6.1.5?
> c) If the response is received with the close token, then the =
connection is no longer persistent and must be closed without any =
further requests being sent. In this case, request 4 will be sent over a =
new connection, initially without pipelining to align with the spirit of =
the approach expressed in paragraph 2 of section 6.1.2.2. If the HTTP =
client receives a response without the close token, then pipelining can =
recommence, starting with request 5. If the response does include the =
close token, then request 5 is treated the same way as request 4. As in =
a), on reopening a connection HTTP considers any sequence of requests to =
be new, and hence will retry if the server closes prematurely.
> =20
> Proposed Additional text: We are not sure if the assumptions made =
above are correct or not. Once the intended meaning has been ascertained =
we are willing to prepare additional text to clarify the retry =
operation.
> =20
> -------------------------------end of comments on HTTP Part 1 section =
6.1--------------------------

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 18:47:08 2012
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 B834821F85CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:47:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.773
X-Spam-Level: 
X-Spam-Status: No, score=-8.773 tagged_above=-999 required=5 tests=[AWL=1.826, 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 1xxJ3N1XzM6K for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:47:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB75B21F85C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 18:47:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rub4q-0008Vi-7h for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 02:46:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rub4e-0008TS-V9 for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 02:46:28 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rub3Z-0004hM-SH for ietf-http-wg@w3.org; Tue, 07 Feb 2012 02:45:53 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 5F5942FDBEB for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 21:43:21 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A867222E247; Mon,  6 Feb 2012 21:40:59 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <9atei71svotg4cqkm3h59i83cgeg0m6vc5@hive.bjoern.hoehrmann.de>
Date: Tue, 7 Feb 2012 13:40:56 +1100
Cc: Dave Bordoley <bordoley@gmail.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <BE1296DF-24AF-4337-BD22-72085482582E@mnot.net>
References: <CAL4Fp5pT3WvYP3a-RJ7oxM00U-JZ2dypVUwC7JdpDD1kBSj9_w@mail.gmail.com> <9atei71svotg4cqkm3h59i83cgeg0m6vc5@hive.bjoern.hoehrmann.de>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rub3Z-0004hM-SH ea347d77c9022fc4c0f7d0a9e4d0ab40
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Case sensitivity of Transfer-Codings
Archived-At: <http://www.w3.org/mid/BE1296DF-24AF-4337-BD22-72085482582E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12354
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>
Resent-Message-Id: <E1Rub4q-0008Vi-7h@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 02:46:40 +0000

We're working on a generic syntax for parameters; see =
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/266>.


On 31/01/2012, at 4:02 PM, Bjoern Hoehrmann wrote:

> * Dave Bordoley wrote:
>> In version 18 of the draft spec it states that "All transfer-coding
>> values are case-insensitive." Its a little unclear whether this also
>> applies to the attribute/value pairs that make up a
>> transfer-parameter. In similar key/value pairs, attribute values tend
>> to be case insensitive while values are not. For instance, the spec
>> for media types states: "The type, subtype, and parameter attribute
>> names are case-insensitive.  Parameter values might or might not be
>> case-sensitive." It would be nice for the spec to state this
>> explicitly as well transfer-codings.
>=20
> (FWIW, I thought this would be already very clear and looked up the
> section Dave Bordoley was missing, but upon further inspection, I do
> agree that there should be some text to this effect, or this should
> be organized differently, like having a generic definition that says
> parameter names are case-insensitive, for values see the individual
> parameter definition.)
> --=20
> Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 =
http://bjoern.hoehrmann.de
> Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 =
http://www.bjoernsworld.de
> 25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 =
http://www.websitedev.de/=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 18:56:16 2012
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 CFF2E11E80BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:56:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.213
X-Spam-Level: 
X-Spam-Status: No, score=-10.213 tagged_above=-999 required=5 tests=[AWL=0.386, 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 icdeRT2P3mEu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 18:56:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4420811E80B0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 18:56:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RubDT-00011F-T1 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 02:55:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RubDI-0000y5-7M for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 02:55:24 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RubCD-00050P-Hg for ietf-http-wg@w3.org; Tue, 07 Feb 2012 02:54:48 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id EAAE1E724D; Tue,  7 Feb 2012 15:52:06 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Date: Tue, 07 Feb 2012 15:52:06 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CACuKZqF73FJ1prjvOsYuCrLeOGsiFZgqx-DM-n4zvx=d4_nn5g@mail.gmail.com>
References: <CACuKZqG1em8bAQa564Srd3OA+H-vBzbiwOfiE8UoNcWrTX_jCw@mail.gmail.com> <4F285685.6000803@gmx.de> <09E48240-7BCF-4F9F-B994-B1E285C54EB2@mnot.net> <CACuKZqF73FJ1prjvOsYuCrLeOGsiFZgqx-DM-n4zvx=d4_nn5g@mail.gmail.com>
Message-ID: <fef871372395668d9b3504a383188736@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RubCD-00050P-Hg 210be0926aaff5719fb3147d4d5f6d6d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #335, was: obs-fold
Archived-At: <http://www.w3.org/mid/fef871372395668d9b3504a383188736@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12355
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>
Resent-Message-Id: <E1RubDT-00011F-T1@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 02:55:35 +0000

On 07.02.2012 15:21, Zhong Yu wrote:
> Since OWS and BWS include obs-fold, that would allow generation of
>
> 1  GET / HTTP/1.1
> 2  Host:
> 3
> 4    www.example.com
> 5
> 6  Accept: *
> 7
>
> where line 3 and 5 contain spaces.
>
> The intention seems to be to forbid line folding anywhere in the
> message head. CR/LF are already forbidden in request/response
> line(specifically mentioned in RFC 2616). What's left is
> 'header-field'.
>
> On Mon, Feb 6, 2012 at 7:18 PM, Mark Nottingham wrote:
>> I think "field-value" would work...
>>
>>
>> On 01/02/2012, at 8:00 AM, Julian Reschke wrote:
>>
>>> On 2012-01-30 01:14, Zhong Yu wrote:
>>>> p1 section 3.2.1.
>>>>
>>>> =C2=A0 =C2=A0HTTP senders MUST NOT produce messages that include
>>>> =C2=A0 =C2=A0line folding (i.e., that contain any #field-content# th=
at=20
>>>> matches the
>>>> =C2=A0 =C2=A0obs-fold rule)
>>>>
>>>> shouldn't that be
>>>>
>>>> =C2=A0 =C2=A0HTTP senders MUST NOT produce messages that include
>>>> =C2=A0 =C2=A0line folding (i.e., that contain any #header-field# tha=
t=20
>>>> matches the
>>>> =C2=A0 =C2=A0obs-fold rule)
>>>>
>>>> instead?
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0OWS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D=
 *( SP / HTAB / obs-fold )
>>>> =C2=A0 =C2=A0 =C2=A0BWS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D=
 OWS
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0header-field =C2=A0 =3D field-name ":" OWS field=
-value BWS
>>>> =C2=A0 =C2=A0 =C2=A0field-name =C2=A0 =C2=A0 =3D token
>>>> =C2=A0 =C2=A0 =C2=A0field-value =C2=A0 =C2=A0=3D *( field-content / =
obs-fold )
>>>> =C2=A0 =C2=A0 =C2=A0field-content =C2=A0=3D *( HTAB / SP / VCHAR / o=
bs-text )
>>>
>>> Minimally, this is phrased confusingly. Not being sure what the=20
>>> best fix is, I opened a ticket:=20
>>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/335>
>>>


I'm getting Deja Vu all over again on this thread. Didn't we cover=20
these same details with some specific header just last year?

It looks to me like this is a simple case of the draft ABNF not being=20
kept up with the WG syntax goal decisions.

These seem to be the intended ABNF the text clauses are describing:

  OWS            =3D *( SP / HTAB )
  RWS            =3D 1*( SP / HTAB )
  BWS            =3D *( OWS / obs-fold )


Accepting that we could make these:

  header-field   =3D field-name ":" OWS BWS field-value
  field-name     =3D token
  field-value    =3D *( field-content BWS )
  field-content  =3D *( HTAB / SP / VCHAR )


Yes, there seems to be an overlap with the "OWS BWS" productions on=20
header-field. But IMO its not a huge problem since its *optional*=20
whitespace and does not matter whether the interpreter leaves the=20
initial SP/HTAB as OWS or discards it as part of BWS.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 19:00:03 2012
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 D5F0811E80BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 19:00:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.813
X-Spam-Level: 
X-Spam-Status: No, score=-8.813 tagged_above=-999 required=5 tests=[AWL=1.786, 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 LYtZcsONeAmt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 19:00:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5474921F85EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 19:00:01 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RubHE-0001PI-6K for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 02:59:28 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RubH2-0001OQ-RQ for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 02:59:16 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RubFz-00023p-Jh for ietf-http-wg@w3.org; Tue, 07 Feb 2012 02:58:43 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 2BC292FDBE3 for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 21:55:40 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 729A022E1EB; Mon,  6 Feb 2012 21:53:07 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F050EF2.7080403@qbik.com>
Date: Tue, 7 Feb 2012 13:53:05 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <DBB37FBF-F6FD-4950-BBC8-800482C779E6@mnot.net>
References: <alpine.DEB.1.10.1201040855590.2163@wnl.j3.bet> <900baf69b7a31814f99cb40158785a52@treenet.co.nz> <alpine.DEB.1.10.1201041912110.23131@wnl.j3.bet> <9fc7c7bc34ff534905f69a220831a289@treenet.co.nz> <4F050EF2.7080403@qbik.com>
To: Adrien de Croy <adrien@qbik.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RubFz-00023p-Jh b50facac4330463cb283d094d71452e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #311 Add limitations to Range to reduce its use as a  denial-of-service   tool
Archived-At: <http://www.w3.org/mid/DBB37FBF-F6FD-4950-BBC8-800482C779E6@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12356
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>
Resent-Message-Id: <E1RubHE-0001PI-6K@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 02:59:28 +0000

The Introduction already says:

> The protocol for range requests
>    is an OPTIONAL feature of HTTP, designed so resources or recipients
>    that do not implement this feature can respond as if it is a normal
>    GET request without impacting interoperability.


Cheers,


On 05/01/2012, at 1:46 PM, Adrien de Croy wrote:

>=20
> while we're on the topic of range requests, there are an increasing =
number of agents that fail when range requests are responded to with a =
200 and full content.
>=20
> Things like
>=20
> * MS Windows update
> * iTunes
> * AppleTV client
> * various other updaters
> * anything relying on BITS in Windows.
>=20
> etc.
>=20
> This is a conflict with any gateway AV scanning which requires the =
entire entity in order to scan it and which therefore removes Range =
headers from requests.
>=20
> Could/should we add language to send a stronger message to agent =
authors to deter them from such behaviour?  It makes little or no sense =
to post an error about a misconfigured gateway simply because it =
downgrades all range requests to full requests.  The entire entity is =
still available to be sent back to the client, it just refuses to play =
if it can't get its way.
>=20
> it should be clear that it's entirely valid for a server to respond to =
a Range request with 200 and full content, and entirely valid for a =
server to supply a single range response to even a multiple range =
request, and that range may or may not even cover all the ranges =
requested.  It should be entirely up to any client which wishes to use =
ranges to sort out what bits it gets out of what it asked for and make =
subsequent requests accordingly.
>=20
> Adrien
>=20
>=20
> On 5/01/2012 2:24 p.m., Amos Jeffries wrote:
>> On Wed, 4 Jan 2012 19:18:59 -0500 (EST), Yves Lafon wrote:
>>> On Thu, 5 Jan 2012, Amos Jeffries wrote:
>>>=20
>>>> On Wed, 4 Jan 2012 09:00:38 -0500 (EST), Yves Lafon wrote:
>>>>> Here is a proposal to clarify a few things to help mitigating the
>>>>> overlapping range DoS issue:
>>>>> 1/ split section 4 in Combining Range in Caches (the actual =
content)
>>>>>   and add a specific section about combining ranges in responses.
>>>>>   (with a link to security considerations, and link back from =
security
>>>>>   section to this newly created section.
>>>>> 2/ Responses to single and multiple range requests / Combining =
Ranges
>>>>> in a response.
>>>>> Add:
>>>>> <<
>>>>>   Servers have liability to combine requested ranges when those =
ranges
>>>>>   are ovelapping.
>>>>>>>=20
>>>>=20
>>>> Is the phrasing "have liability" defined somewhere? I may have =
missed it, but it still took me a few minutes to realise what this =
sentence meant despite being part of the discussions earlier around =
Range.
>>>=20
>>> Hum, I will rewrite that, but you got the spirit of it.
>>>=20
>>=20
>> Yes. Cheers. :)
>>=20
>>>>> [Move this part of 5.2 here]
>>>>> <<
>>>>>   When an HTTP message includes the content of a single range (for
>>>>>   example, a response to a request for a single range, or to a =
request
>>>>>   for a set of ranges that overlap without any holes), this =
content is
>>>>>   transmitted with a Content-Range header field, and a =
Content-Length
>>>>>   header field showing the number of bytes actually transferred.  =
For
>>>>>   example,
>>>>>=20
>>>>>     HTTP/1.1 206 Partial Content
>>>>>     Date: Wed, 15 Nov 1995 06:25:24 GMT
>>>>>     Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
>>>>>     Content-Range: bytes 21010-47021/47022
>>>>>     Content-Length: 26012
>>>>>     Content-Type: image/gif
>>>>>=20
>>>>>   When an HTTP message includes the content of multiple ranges =
(for
>>>>>   example, a response to a request for multiple non-overlapping
>>>>>   ranges), these are transmitted as a multipart message.  The =
multipart
>>>>>   media type used for this purpose is "multipart/byteranges" as =
defined
>>>>>   in Appendix A.
>>>>>=20
>>>>>   A response to a request for a single range MUST NOT be sent =
using the
>>>>>   multipart/byteranges media type.  A response to a request for
>>>>>   multiple ranges, whose result is a single range, MAY be sent as =
a
>>>>>   multipart/byteranges media type with one part.  A client that =
cannot
>>>>>   decode a multipart/byteranges message MUST NOT ask for multiple
>>>>>   ranges in a single request.
>>>>>=20
>>>>>   When a client requests multiple ranges in one request, the =
server
>>>>>   SHOULD return them in the order that they appeared in the =
request.
>>>>>>>>=20
>>>>=20
>>>> This last part seems to contradict my understanding of the last =
discussion consensus. That ranges could be combined to reduce DoS =
footprint.
>>>>=20
>>>> Did I get that completely out of place? or is this use of SHOULD a =
downgrade intended to permit it?
>>>=20
>>> I don't see a contradiction there, it just says that the ranges =
should be
>>> sent in order, however when ranges are combined, ordering can become
>>> invalid (if the combined ranges were not directly following each
>>=20
>> invalid? I don't see that in the new texts. single-part "multipart" =
is MAY, which should at most solve any validity issue on merging.
>>=20
>>> other), so yes, it's the use of a SHOULD isntead of a MUST that =
allows
>>> that, while giving general guidelines for the general "normal" case.
>>>=20
>>=20
>> Thanks. That answers the initial Q.
>>=20
>> AYJ
>>=20
>=20
> --=20
> Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
> WinGate 7 is released! - http://www.wingate.com/getlatest/
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 19:25:10 2012
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 4A01D11E80B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 19:25:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.852
X-Spam-Level: 
X-Spam-Status: No, score=-8.852 tagged_above=-999 required=5 tests=[AWL=1.747, 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 XmQA8wj0Y+rD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 19:25:08 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B4CC211E80BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 19:25:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RubfF-000861-Mr for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 03:24:17 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rubf2-000849-Q1 for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 03:24:04 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rubdy-000620-2O for ietf-http-wg@w3.org; Tue, 07 Feb 2012 03:23:29 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id A9CA52FD7C0 for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 22:21:07 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8705C22E247; Mon,  6 Feb 2012 22:18:34 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120126155637.GA11227@1wt.eu>
Date: Tue, 7 Feb 2012 14:18:31 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Julian F. Reschke" <julian.reschke@gmx.de>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net>
References: <20120126155637.GA11227@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rubdy-000620-2O 6ce2c80183e92479eb80bddc588f1b9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misc review notes for draft-18 p1
Archived-At: <http://www.w3.org/mid/7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12357
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>
Resent-Message-Id: <E1RubfF-000861-Mr@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 03:24:17 +0000

On 27/01/2012, at 2:56 AM, Willy Tarreau wrote:

> Hi,
>=20
> I haven't finished reading p1 but I already have some comments, so
> I'm sending them here and will proceed with what remains.

Hi Willy,

Thanks for that. I'll add a few comments below.

> 2.1. Client/Server Messaging, page 11
>=20
>>  Note that 1xx responses (Section 7.1 of [Part2]) are not final;
>>  therefore, a server can send zero or more 1xx responses, followed by
>>  exactly one final response (with any other status code).
>=20
> This parts falls here quite out of context in my opinion. Neither
> responses nor status core nor messaging has been defined yet and all
> of a sudden we get this. I suggest we move this to P2 7.1 and replace
> it with a small note such as :
>=20
>  Note that sometimes a server may send multiple responses, see Section
>  7.1 of [Part2] for more details about interim responses.

I'll leave it to the editors to take this as input.


> 2.4. Intermediaries, page 13
>=20
> Context :
>>>>>>=20
>>      UA =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D A =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D B =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D C =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D O
>>                 <             <             <             <
> ...
>=20
>>  For example, B might be receiving
>>  requests from many clients other than A, and/or forwarding requests
>>  to servers other than C, at the same time that it is handling A's
>>  request.
>=20
> I'd underline that there is no single path between a UA and an =
intermediary,
> and that sometimes direct and indirect communications are possible. It =
helps
> remind people that rewriting URLs along the path is not always a good =
idea.
> I'd suggest this then :
>=20
>    For example, B might be receiving requests from many clients other =
than A
>    including UA/C/O, and/or forwarding requests to servers other than =
C, at
>    the same time that it is handling A's request.

To the editors (generally, I agree).


> Later :
>=20
>>  An HTTP-to-HTTP proxy is called a "transforming proxy" if it is
>>  designed or configured to modify request or response messages in a
>>  semantically meaningful way (i.e., modifications, beyond those
>>  required by normal HTTP processing, that change the message in a way
>>  that would be significant to the original sender or potentially
>>  significant to downstream recipients).
>=20
> It is not totally clear to me if a compressing proxy is a transforming
> proxy, nor if one that rewrites Location headers to normalize them is
> a transforming proxy.

There's always going to be a fuzzy line here, I think.


> 2.7.1. http URI scheme
>=20
>>   If the host identifier is provided as an IP literal or IPv4 =
address,
>=20
> I did not find a clear definition of the term "IP literal". Also, does =
it
> cover the bracketed format of IPv6 ?
>=20
>=20
> 3.3. Message Body
>=20
>>  The length of the message-body is determined by one of the following
>>  (in order of precedence):
>>=20
>>  1.  Any response to a HEAD request and any response with a status
>>      code of 100-199, 204, or 304 is always terminated by the first
>>      empty line after the header fields, regardless of the header
>>      fields present in the message, and thus cannot contain a =
message-
>>      body.
>=20
> Now that we've included the CONNECT method in the spec, I think it =
makes
> sense to define whether it has a body or not in case of success. I've
> found myself sometimes adding "Content-length: 0" as well as huge =
values
> in the past on some CONNECT requests to help interoperability with =
broken
> proxies, as well as "Connection: close" on these similar requests. =
Obviously
> the implementations were faulty but a faulty implementation often =
results
> from ambiguous specs.
>=20
> Could we suggest that as a first rule, a 200 response to a CONNECT =
request
> implies an infinite content length (I don't like that very much since =
it's
> false), or that it has no message body and that the connection is =
immediately
> switched to a tunnel ?
>=20
>   0. Any response with a status code of 200 to a CONNECT request does =
not
>      contain any message-body and immediately switches to a tunnel =
(Section
>      6.9 of [Part2]).
>=20
> Also, since I've seen some implementations send "Content-length: 0" on
> CONNECT requests (which I happened to mimmick once), I'm realizing =
that
> it's not always obvious what to send on responses where no content is
> expected. Would it make sense to insist on the fact that it is not
> necessary to send "Content-length: 0" on messages which do not have a
> body by the rules above ?

This should be covered by =
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/250>.


> 3.5. Message Parsing Robustness
>=20
>>  Likewise, although the line terminator for the start-line and header
>>  fields is the sequence CRLF, we recommend that recipients recognize =
a
>>  single LF as a line terminator and ignore any CR.
>=20
> Does this mean that CR CR CR CR CR CR LF should be interpreted as a =
single
> LF ? It kinds of scares me on the risk of smuggling attacks. I'd =
rather
> suggest :
>=20
>    ... we recommend that recipients recognize a single LF as a line
>    terminator and ignore the optional preceeding CR. Messages =
containing
>    a CR not followed by an LF MUST be rejected.

I've created <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/340>.


>>  When a server listening only for HTTP request messages, or =
processing
>>  what appears from the start-line to be an HTTP request message,
>>  receives a sequence of octets that does not match the HTTP-message
>=20
> Wouldn't "does not *exactly* match" be better ? I'm used to find
> crappy requests in my logs which are blocked but which some =
not-so-lazy
> implementations would let pass (eg: multiple SP).

I don't think that adding a word here is going to change those =
implementations behaviour, unfortunately.=20


>>  grammar aside from the robustness exceptions listed above, the =
server
>>  MUST respond with an HTTP/1.1 400 (Bad Request) response.
>=20
> I would also suggest that clients and proxies protect themselves =
against
> malformed response messages, which are problematic in shared hosting
> environments. This could be summarized like this :
>=20
>    In general, any agent which receives a malformed message MUST NOT =
try
>    to fix it if there is any possibility that any other implementation
>    along the chain understands it differently. In such conditions, the
>    message MUST be rejected.

This will make too many implementations non-conformant.


> 4.1. Types of Request Target
>=20
>> Note: The "no rewrite" rule prevents the proxy from changing the
>=20
> I did not find reference to this "no rewrite" rule.
>=20
>=20
> 4.2. The Resource Identified by a Request
>=20
>>  1.  If request-target is an absolute-URI, the host is part of the
>>      request-target.  Any Host header field value in the request MUST
>>      be ignored.
>>=20
>>  2.  If the request-target is not an absolute-URI, and the request
>>      includes a Host header field, the host is determined by the Host
>>      header field value.
>>=20
>>  3.  If the host as determined by rule 1 or 2 is not a valid host on
>>      the server, the response MUST be a 400 (Bad Request) error
>>      message.
>=20
> Rule 3 might be difficult to apply in massively hosted environments, =
as
> I easily imagine that there could be a large "vhosts" directory with
> all the hosts roots presented by their names there. The server would
> then simply try to "cd $host" to check for the host's validity, which
> might seem appropriate at first. But using a host of ".." or a host
> containing a slash would have dramatic effects.
>=20
> I don't know what recommendation we could add here because we can't
> add boring long sentences, but avoiding such simple traps would be
> nice. Maybe we should just add :
>=20
>    For instance, a host should never be ".." nor contain a slash.

That's an implementation-specific security concern, not a general HTTP =
one.


> 7.4. Use of HTTP by other protocols
>=20
> It would make sense to list WebSocket here too since it's the first =
large
> scale user of the Upgrade mechanism.
>=20
>=20
> 8.4. TE
>=20
>>  The presence of the keyword "trailers" indicates that the client is
>>  willing to accept trailer fields in a chunked transfer-coding, as
>=20
> Is it only limited to the client ? Nowhere it's said that a server =
cannot
> advertise "TE: trailers" in responses so that a client knows it can =
emit
> chunked-encoded messages with trailers in further requests (eg: =
backups
> with SHA1 at the end). Replace "client" with "sender" maybe ?

The current wording doesn't prohibit other uses (or users) in the =
future...=20

That said, Julian is right, we need to clarify this.



> 8.5. Trailer
>=20
>>  If no Trailer header field is present, the trailer SHOULD NOT =
include
>>  any header fields.  See Section 5.1.1 for restrictions on the use of
>>  trailer fields in a "chunked" transfer-coding.
>=20
> in 5.1.1 p37, it's said :
>=20
>>  A server using chunked transfer-coding in a response MUST NOT use =
the
>>  trailer for any header fields unless at least one of the following =
is
>>  true:
>=20
> Is the SHOULD NOT vs MUST NOT difference on purpose ? It seems to =
indicate
> that there should be a tolerance when parsing unadvertised trailers =
(I'm
> fine with this, just checking whether the wording is expected).

I think so.


> A.1.2 Keep-Alive Connections
>=20
>>  Clients are also encouraged to consider the use of Connection: keep-
>>  alive in requests carefully; while they can enable persistent
>>  connections with HTTP/1.0 servers, clients using them need will need
>>  to monitor the connection for "hung" requests (which indicate that
>>  the client ought stop sending the header),
>=20
> I know a number of people who use the term "the header" to designate =
all
> the headers section. I must say that when I read this sentence, it was
> unclear to me upon first reading that the intent was in fact to stop
> sending "Connection: keep-alive" in subsequent requests, as it can =
also
> be understood as "stop sending the headers as long as the connection
> hangs" (which does not make sense).
>=20
> I'd suggest the following change :
>=20
> -   the client ought stop sending the header),
> +   the client ought stop using this header in further communications =
with
> +   the server),

.. or just "in future requests."=20

To the editors.


> At a number of places it is suggested to "close the connection". I
> think we could add an annex such as the following one, with references
> everywhere we suggest closing the connection, as well as one pointer
> in "6.1.2.2 Pipelining" :
>=20
>    A.x.x Closing a Connection
>=20
>    When a server needs to close a connection, it must ensure that =
doing so
>    will not risk prematurely terminate any previous response. When TCP
>    segments are still in flight during a socket close, operating =
systems
>    generally turn the socket to orphaned state, during which lingering =
data
>    will still be emitted but any received data would cause an =
immediate
>    connection abort. The connection may also be aborted when the =
system
>    is getting low on orphaned sockets. This means that a close before =
all
>    lingering data are acknowledged by the client might result in a =
loss of
>    unacknowledged data. This is a very common issue when performing a
>    redirect upon a POST request before all the client's body has been =
read.
>    While this is not always an issue when a server wants to abort a =
current
>    request, it becomes a real issue when the client tries to pipeline =
requests,
>    because aborting the current request may also result in destroying =
previous
>    unacknowledged response too, possibly causing a client to retry =
already
>    processed requests that it believes were ignored.
>=20
>    The proper way for a server to close a connection without risking =
issues
>    described above is the following :
>=20
>       1) shutdown the transmit channel, usually using the shutdown() =
system
>          call.
>       2) drain any incoming data and (if possible) check for any =
lingering
>          data in the transmit queue.
>       3) when the receive channel reports a shutdown, or when all =
transmitted
>          data have been acknowledged, or when enough time has elapsed, =
perform
>          the close() on the socket.
>=20
>    Operating systems do not always easily report the amount of =
lingering data
>    and will not always wake up when the queue is empty. A tradeoff has =
to be
>    found between keeping connections alive for too long a time and =
risking
>    closing too early and having some clients get truncated or empty =
responses.


My .02 - this seems more like implementation-specific advice; there are =
cases where this will not be the case. What do others think?


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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 19:28:24 2012
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 47A0611E80BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 19:28:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.889
X-Spam-Level: 
X-Spam-Status: No, score=-8.889 tagged_above=-999 required=5 tests=[AWL=1.710, 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 8FfoLXkGacPU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 19:28:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7829C11E80B0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 19:28:23 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RubiL-0008WU-S3 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 03:27:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rubi9-0008TO-QB for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 03:27:17 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rubh5-00067e-H2 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 03:26:41 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 60EAA2FDBDD for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 22:24:01 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1D30922E1F4; Mon,  6 Feb 2012 22:21:39 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F25E19C.9090700@treenet.co.nz>
Date: Tue, 7 Feb 2012 14:21:37 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rubh5-00067e-H2 d6588e6e9cedc6170e8433e863757a95
X-Original-To: ietf-http-wg@w3.org
Subject: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12358
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>
Resent-Message-Id: <E1RubiL-0008WU-S3@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 03:27:29 +0000

Ticket: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/341>

Cheers,

On 30/01/2012, at 11:17 AM, Amos Jeffries wrote:

> On 27/01/2012 8:36 a.m., Willy Tarreau wrote:
>>=20
>> (...)
>>>>>   When a server listening only for HTTP request messages, or =
processing
>>>>>   what appears from the start-line to be an HTTP request message,
>>>>>   receives a sequence of octets that does not match the =
HTTP-message
>>>> Wouldn't "does not *exactly* match" be better ? I'm used to find
>>>> crappy requests in my logs which are blocked but which some =
not-so-lazy
>>>> implementations would let pass (eg: multiple SP).
>>> "match" means "match"; I don't think there's any ambiguity here...
>> There's no ambiguity, it's just to emphasize on the need to perform
>> strict matching. A large number of HTTP parsers are much too lazy,
>> causing nightmares when trying to filter undesired communications,
>> or even to define new protocol extensions. For instance on my old
>> Apache 1.3 here :
>>=20
>>     $ telnet www 60080
>>     Connected to www.
>>     Escape character is '^]'.
>>     HEAD     /           HTTP/1.1     ergeargoaejgoiejgaoeg
>>     Host:   ,,,,
>>     Invalid/header name: blah
>>=20
>>     HTTP/1.1 200 OK
>>     Date: Thu, 26 Jan 2012 19:07:02 GMT
>>     Server: Apache
>>     Last-Modified: Mon, 01 Jun 2009 16:47:12 GMT
>>     ETag: "47038-3ad7-46b4c2d81a400"
>>     Accept-Ranges: bytes
>>     Content-Length: 15063
>>     Connection: close
>>     Content-Type: text/html
>>=20
>>     Connection closed by foreign host.
>>=20
>> "SP" is *one* SP, still multiple SPs are accepted in the request
>> line. Same for forbidden chars in the header name. And I'm not
>> specifically targeting Apache here, I just took the first example
>> I had handy, it's far from being alone. It looks like strchr(),
>> strtok(), sscanf() or split() depending on the language and
>> implementation are common ways to parse requests. This is part
>> of what caused all the mess in the hybi WG, delaying it by one
>> year trying to find solutions against various implementations.
>=20
>=20
> FWIW: we argued this out in Squid a while back.
> The conclusion was to accept any series of non-wrapping BWS =
before/after the method and URL. Ignoring the BWS. All other formats and =
garbage to be treated as HTTP/0.9 mess and 400 the result if the =
suspected URL(+garbage) fails to parse as a usable URI in its entirety.
>=20
> A few vendors have hit it with their SP padding practices so far. But =
by and large it works.
>=20
> AYJ
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 20:11:43 2012
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 29C2821F85E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 20:11:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.925
X-Spam-Level: 
X-Spam-Status: No, score=-8.925 tagged_above=-999 required=5 tests=[AWL=1.674, 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 RRG8sjgRDyqA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 20:11:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 75BBE21F85CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 20:11:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RucOE-00020c-Qs for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 04:10:47 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RucNb-0001um-6n for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 04:10:07 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RucMX-0005AN-Ku for ietf-http-wg@w3.org; Tue, 07 Feb 2012 04:09:31 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id 1B12B2FDBEF for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 23:06:25 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A3CE222E1EB for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 23:03:59 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 7 Feb 2012 15:03:56 +1100
Message-Id: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RucMX-0005AN-Ku 36a73b8e93933fa5d53ca6122bab6270
X-Original-To: ietf-http-wg@w3.org
Subject: #227: HEAD and Caches
Archived-At: <http://www.w3.org/mid/82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12359
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>
Resent-Message-Id: <E1RucOE-00020c-Qs@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 04:10:46 +0000

I've been bothered by this text (p2 6.4 HEAD) for a while:

>    The response to a HEAD request is cacheable and MAY be used to
>    satisfy a subsequent HEAD request; see [Part6].  It also MAY be =
used
>    to update a previously cached representation from that resource; if
>    the new field values indicate that the cached representation =
differs
>    from the current representation (as would be indicated by a change =
in
>    Content-Length, ETag or Last-Modified), then the cache MUST treat =
the
>    cache entry as stale.

A few problems:

1. Since it specifies required cache behaviour, it really should be in =
p6
2. The second MAY seems to conflict with the MUST
3. Caches can store multiple representations for a resource, so there is =
no "current representation."

Part of the problem here really is that it's not "updating" any =
response, but it is potentially invalidating an old one.

To resolve this, we could construct a requirement that refers to p6 2.7 =
("Caching Negotiated Responses") to identify the correct response to =
compare to and (potentially) invalidate.=20

However, I wonder if a) this is widely implemented, and b) the =
complexity is worth it.=20

I.e., we could alternatively just remove everything after the first =
sentence (i.e., treat the second MAY as primary, and therefore make the =
whole thing redundant).

Thoughts?


<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/227>


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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 20:16:36 2012
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 6F77011E8086 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 20:16:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.637
X-Spam-Level: 
X-Spam-Status: No, score=-9.637 tagged_above=-999 required=5 tests=[AWL=0.962, 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 O4oFXMrFFu-u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 20:16:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1110E11E80AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 20:16:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RucTL-0002iu-2s for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 04:16:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RucSi-0002aX-09 for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 04:15:24 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RucRf-0007t2-BJ for ietf-http-wg@w3.org; Tue, 07 Feb 2012 04:14:48 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id BE7D5E724C for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 17:12:05 +1300 (NZDT)
Message-ID: <4F30A490.10100@treenet.co.nz>
Date: Tue, 07 Feb 2012 17:12:00 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <CABkgnnXh4JUMXn+x5PLtkR-_wmvnJJP5n=eiWxz=AM5UEGF5Bw@mail.gmail.com>
In-Reply-To: <CABkgnnXh4JUMXn+x5PLtkR-_wmvnJJP5n=eiWxz=AM5UEGF5Bw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RucRf-0007t2-BJ d592b32420f03e8312f062a30e97c9d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F30A490.10100@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12360
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>
Resent-Message-Id: <E1RucTL-0002iu-2s@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 04:16:03 +0000

On 7/02/2012 1:10 p.m., Martin Thomson wrote:
> On 6 February 2012 15:55, Mark Nottingham wrote:
>> I'm now wondering if we should consider removing this requirement altogether.
> Remove it.  I imagine that the original idea was that you might want
> to prevent a server that from getting you to pass your secrets to some
> other server.  Or that it might do a bait and switch.
>
> In a world with clickjacking, this sort of measure just seems naive.
>

Clickjacking as a whole is still very much relevant to this redirection 
capability.
BUT, given that the client UA is where the redirect is done anyway makes 
little sense to prohibit it entirely.

IMO move it from the protocol spec to the security threat model as 
instruction that UA should take care before following redirects 
automatically.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 20:28:05 2012
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 2AC2411E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 20:27:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.92
X-Spam-Level: 
X-Spam-Status: No, score=-7.92 tagged_above=-999 required=5 tests=[AWL=0.602, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_ALL_CAPS=2.077]
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 J+HM9MMkFVyj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 20:27:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B36A11E80C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 20:27:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rucdf-0006Xs-L3 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 04:26:43 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RucdN-0006Rq-VK for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 04:26:26 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuccJ-0008IX-SS for ietf-http-wg@w3.org; Tue, 07 Feb 2012 04:25:50 +0000
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by fallback-in1.mxes.net (Postfix) with ESMTP id D49F32FDBE3 for <ietf-http-wg@w3.org>; Mon,  6 Feb 2012 23:23:32 -0500 (EST)
Received: from [192.168.1.74] (unknown [118.209.240.235]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0342022E1F4; Mon,  6 Feb 2012 23:21:00 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net>
Date: Tue, 7 Feb 2012 15:20:57 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, "Julian F. Reschke" <julian.reschke@gmx.de>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3DCE72EA-D295-4C1B-B4F2-AC658CAE7A1D@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-0.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, NO_DNS_FOR_FROM=0.001, SUBJ_ALL_CAPS=1.506, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuccJ-0008IX-SS 1bdf8f2e4770930f85993bc62fbf136e
X-Original-To: ietf-http-wg@w3.org
Subject: #340: CR CR LF
Archived-At: <http://www.w3.org/mid/3DCE72EA-D295-4C1B-B4F2-AC658CAE7A1D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12361
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>
Resent-Message-Id: <E1Rucdf-0006Xs-L3@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 04:26:43 +0000

My .02 - I'm +1 on everything except the last sentence; read literally, =
it prohibits a CR not followed by a LF *anywhere* in the message, and =
even if that's fixed, it's too prohibitive (the ABNF already requires =
CRLF).=20

That makes it:

>    Likewise, although the line terminator for the start-line and =
header
>    fields is the sequence CRLF, we recommend that recipients recognize =
a
>    single LF as a line terminator and ignore the preceding CR, if =
present.


BTW, I think we're getting to wordsmithing here, does anyone disagree =
with the general sentiment?

Regards,


On 07/02/2012, at 2:18 PM, Mark Nottingham wrote:

>> 3.5. Message Parsing Robustness
>>=20
>>> Likewise, although the line terminator for the start-line and header
>>> fields is the sequence CRLF, we recommend that recipients recognize =
a
>>> single LF as a line terminator and ignore any CR.
>>=20
>> Does this mean that CR CR CR CR CR CR LF should be interpreted as a =
single
>> LF ? It kinds of scares me on the risk of smuggling attacks. I'd =
rather
>> suggest :
>>=20
>>   ... we recommend that recipients recognize a single LF as a line
>>   terminator and ignore the optional preceeding CR. Messages =
containing
>>   a CR not followed by an LF MUST be rejected.
>=20
> I've created <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/340>.

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 21:03:36 2012
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 DFAC411E80E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 21:03:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.665
X-Spam-Level: 
X-Spam-Status: No, score=-9.665 tagged_above=-999 required=5 tests=[AWL=0.934, 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 uAlxVUXoY3b0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 21:03:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CF6C611E80E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 21:03:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RudCN-0006LP-H6 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 05:02:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RudC2-0006KR-GE for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 05:02:14 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RudB2-0001Ab-R2 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 05:01:43 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id F058CE724C for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 17:58:59 +1300 (NZDT)
Message-ID: <4F30AF92.4000700@treenet.co.nz>
Date: Tue, 07 Feb 2012 17:58:58 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120126155637.GA11227@1wt.eu> <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net>
In-Reply-To: <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RudB2-0001Ab-R2 71a6e2c7e2ca72d87b5d08ac7728f76c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misc review notes for draft-18 p1
Archived-At: <http://www.w3.org/mid/4F30AF92.4000700@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12362
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>
Resent-Message-Id: <E1RudCN-0006LP-H6@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 05:02:35 +0000

On 7/02/2012 4:18 p.m., Mark Nottingham wrote:
> On 27/01/2012, at 2:56 AM, Willy Tarreau wrote:
>
>> Hi,
>>
>> I haven't finished reading p1 but I already have some comments, so
>> I'm sending them here and will proceed with what remains.
> Hi Willy,
>
> Thanks for that. I'll add a few comments below.
>
>> 2.1. Client/Server Messaging, page 11
>>
>>>   Note that 1xx responses (Section 7.1 of [Part2]) are not final;
>>>   therefore, a server can send zero or more 1xx responses, followed by
>>>   exactly one final response (with any other status code).
>> This parts falls here quite out of context in my opinion. Neither
>> responses nor status core nor messaging has been defined yet and all
>> of a sudden we get this. I suggest we move this to P2 7.1 and replace
>> it with a small note such as :
>>
>>   Note that sometimes a server may send multiple responses, see Section
>>   7.1 of [Part2] for more details about interim responses.
> I'll leave it to the editors to take this as input.
>
>
>> 2.4. Intermediaries, page 13
>>
>> Context :
>>>       UA =========== A =========== B =========== C =========== O
>>>                  <              <              <              <
>> ...
>>
>>>   For example, B might be receiving
>>>   requests from many clients other than A, and/or forwarding requests
>>>   to servers other than C, at the same time that it is handling A's
>>>   request.
>> I'd underline that there is no single path between a UA and an intermediary,
>> and that sometimes direct and indirect communications are possible. It helps
>> remind people that rewriting URLs along the path is not always a good idea.
>> I'd suggest this then :
>>
>>     For example, B might be receiving requests from many clients other than A
>>     including UA/C/O, and/or forwarding requests to servers other than C, at
>>     the same time that it is handling A's request.
> To the editors (generally, I agree).
>
>
>> Later :
>>
>>>   An HTTP-to-HTTP proxy is called a "transforming proxy" if it is
>>>   designed or configured to modify request or response messages in a
>>>   semantically meaningful way (i.e., modifications, beyond those
>>>   required by normal HTTP processing, that change the message in a way
>>>   that would be significant to the original sender or potentially
>>>   significant to downstream recipients).
>> It is not totally clear to me if a compressing proxy is a transforming
>> proxy, nor if one that rewrites Location headers to normalize them is
>> a transforming proxy.
> There's always going to be a fuzzy line here, I think.

The emphasis on *semantic* changes is clear. The fuzziness only happens 
when HTTP intracacies make you loose sight of what is semantic vs 
transport or syntax details.

I'm inclined to consider it in the form of whether the change is limited 
in its effects.
  * if the client were to base its next request on this response and go 
straight to the origin would it matter?
  * if the client were also passing this request via another path would 
it matter?

So normalizing and fixing headers to conform to spec is non-transforming 
(usually). The upstream is required to to have produced such in the 
first place.

Compressing the body changes the representation with effects cascading 
down into ETag. Conditional and range requests to the origin will not 
succeed as intended. So is transforming.

Transfer-encoding compressions should not be altering the end-to-end 
representation so should be considered non-transforming.

>> 2.7.1. http URI scheme
>>
>>>    If the host identifier is provided as an IP literal or IPv4 address,
>> I did not find a clear definition of the term "IP literal". Also, does it
>> cover the bracketed format of IPv6 ?
>>
>>
>> 3.3. Message Body
>>
>>>   The length of the message-body is determined by one of the following
>>>   (in order of precedence):
>>>
>>>   1.  Any response to a HEAD request and any response with a status
>>>       code of 100-199, 204, or 304 is always terminated by the first
>>>       empty line after the header fields, regardless of the header
>>>       fields present in the message, and thus cannot contain a message-
>>>       body.
>> Now that we've included the CONNECT method in the spec, I think it makes
>> sense to define whether it has a body or not in case of success. I've
>> found myself sometimes adding "Content-length: 0" as well as huge values
>> in the past on some CONNECT requests to help interoperability with broken
>> proxies, as well as "Connection: close" on these similar requests. Obviously
>> the implementations were faulty but a faulty implementation often results
>> from ambiguous specs.
>>
>> Could we suggest that as a first rule, a 200 response to a CONNECT request
>> implies an infinite content length (I don't like that very much since it's
>> false), or that it has no message body and that the connection is immediately
>> switched to a tunnel ?
>>
>>    0. Any response with a status code of 200 to a CONNECT request does not
>>       contain any message-body and immediately switches to a tunnel (Section
>>       6.9 of [Part2]).
>>
>> Also, since I've seen some implementations send "Content-length: 0" on
>> CONNECT requests (which I happened to mimmick once), I'm realizing that
>> it's not always obvious what to send on responses where no content is
>> expected. Would it make sense to insist on the fact that it is not
>> necessary to send "Content-length: 0" on messages which do not have a
>> body by the rules above ?
> This should be covered by<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/250>.

FWIW: +1 on Dans wording. My special use-case fits in very cleanly with 
that Content-Length/Transfer-Encoding exception.

>
>
>> 3.5. Message Parsing Robustness
>>
>>>   Likewise, although the line terminator for the start-line and header
>>>   fields is the sequence CRLF, we recommend that recipients recognize a
>>>   single LF as a line terminator and ignore any CR.
>> Does this mean that CR CR CR CR CR CR LF should be interpreted as a single
>> LF ? It kinds of scares me on the risk of smuggling attacks. I'd rather
>> suggest :
>>
>>     ... we recommend that recipients recognize a single LF as a line
>>     terminator and ignore the optional preceeding CR. Messages containing
>>     a CR not followed by an LF MUST be rejected.
> I've created<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/340>.
>

>> At a number of places it is suggested to "close the connection". I
>> think we could add an annex such as the following one, with references
>> everywhere we suggest closing the connection, as well as one pointer
>> in "6.1.2.2 Pipelining" :
>>
>>     A.x.x Closing a Connection
>>
>>     When a server needs to close a connection, it must ensure that doing so
>>     will not risk prematurely terminate any previous response. When TCP
>>     segments are still in flight during a socket close, operating systems
>>     generally turn the socket to orphaned state, during which lingering data
>>     will still be emitted but any received data would cause an immediate
>>     connection abort. The connection may also be aborted when the system
>>     is getting low on orphaned sockets. This means that a close before all
>>     lingering data are acknowledged by the client might result in a loss of
>>     unacknowledged data. This is a very common issue when performing a
>>     redirect upon a POST request before all the client's body has been read.
>>     While this is not always an issue when a server wants to abort a current
>>     request, it becomes a real issue when the client tries to pipeline requests,
>>     because aborting the current request may also result in destroying previous
>>     unacknowledged response too, possibly causing a client to retry already
>>     processed requests that it believes were ignored.
>>
>>     The proper way for a server to close a connection without risking issues
>>     described above is the following :
>>
>>        1) shutdown the transmit channel, usually using the shutdown() system
>>           call.
>>        2) drain any incoming data and (if possible) check for any lingering
>>           data in the transmit queue.
>>        3) when the receive channel reports a shutdown, or when all transmitted
>>           data have been acknowledged, or when enough time has elapsed, perform
>>           the close() on the socket.
>>
>>     Operating systems do not always easily report the amount of lingering data
>>     and will not always wake up when the queue is empty. A tradeoff has to be
>>     found between keeping connections alive for too long a time and risking
>>     closing too early and having some clients get truncated or empty responses.
>
> My .02 - this seems more like implementation-specific advice; there are cases where this will not be the case. What do others think?

Methinks this would fall under editorial changes for the proposal to 
shift the transport details and in particular the TCP-specific details 
into a clearly defined area somewhere. Pipelining, keep-alive and 
closing connections are all transport concepts specific to TCP or 
similar with stream/sequence properties.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 21:18:35 2012
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 1160721F84D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 21:18:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.692
X-Spam-Level: 
X-Spam-Status: No, score=-9.692 tagged_above=-999 required=5 tests=[AWL=0.907, 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 PyEe6rEHrnzw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 21:18:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9877921F84A7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 21:18:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RudRB-0001BB-LM for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 05:17:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RudQp-0001AD-Nj for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 05:17:31 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RudPl-0001eR-DK for ietf-http-wg@w3.org; Tue, 07 Feb 2012 05:16:55 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id EBA83E724C for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 18:14:12 +1300 (NZDT)
Message-ID: <4F30B323.6080308@treenet.co.nz>
Date: Tue, 07 Feb 2012 18:14:11 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120126155637.GA11227@1wt.eu> <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net> <3DCE72EA-D295-4C1B-B4F2-AC658CAE7A1D@mnot.net>
In-Reply-To: <3DCE72EA-D295-4C1B-B4F2-AC658CAE7A1D@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RudPl-0001eR-DK 1f8355d76ee5bf05256bc7f073550e31
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #340: CR CR LF
Archived-At: <http://www.w3.org/mid/4F30B323.6080308@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12363
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>
Resent-Message-Id: <E1RudRB-0001BB-LM@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 05:17:53 +0000

On 07/02/2012, at 2:18 PM, Mark Nottingham wrote:
>>> 3.5. Message Parsing Robustness
>>>
>>>> Likewise, although the line terminator for the start-line and header
>>>> fields is the sequence CRLF, we recommend that recipients recognize a
>>>> single LF as a line terminator and ignore any CR.
>>> Does this mean that CR CR CR CR CR CR LF should be interpreted as a single
>>> LF ? It kinds of scares me on the risk of smuggling attacks. I'd rather
>>> suggest :
>>>
>>>    ... we recommend that recipients recognize a single LF as a line
>>>    terminator and ignore the optional preceeding CR. Messages containing
>>>    a CR not followed by an LF MUST be rejected.
>> I've created<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/340>.
On 7/02/2012 5:20 p.m., Mark Nottingham wrote:
> My .02 - I'm +1 on everything except the last sentence; read literally, it prohibits a CR not followed by a LF *anywhere* in the message, and even if that's fixed, it's too prohibitive (the ABNF already requires CRLF).
>
> That makes it:
>
>>     Likewise, although the line terminator for the start-line and header
>>     fields is the sequence CRLF, we recommend that recipients recognize a
>>     single LF as a line terminator and ignore the preceding CR, if present.
> BTW, I think we're getting to wordsmithing here, does anyone disagree with the general sentiment?

Yes.

IME, the series of *CR LF has already been a smuggling risk for years 
and implementations are already handling it properly (or need 
vulnerability bugs reported immediately). Prohibiting it from being sent 
and instructing that it ought to be erased if found in the 
request/statsu/headers lines should be enough.

It would be nice to go to straight LF as line delimiter. But that would 
probably break a lot of things.


FWIW we accept multiple trailing CR before the LF in Squid but 400 any 
attempt to use it elsewhere in the first line. Its acceptance in the 
header area is more complex, being accepted as BWS and in some specific 
field values where encoding or content may need it.

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 22:09:11 2012
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 EE0BA21F8796 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 22:09:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.717
X-Spam-Level: 
X-Spam-Status: No, score=-9.717 tagged_above=-999 required=5 tests=[AWL=0.882, 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 FZdC2HrHfKSu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 22:09:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA00121F86A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 22:09:09 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RueDt-0007xO-Db for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 06:08:13 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RueDe-0007vN-7K for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 06:07:58 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RueCM-0003Uv-3Z for ietf-http-wg@w3.org; Tue, 07 Feb 2012 06:07:22 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id D860CE724C for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 19:04:27 +1300 (NZDT)
Message-ID: <4F30BEE9.70005@treenet.co.nz>
Date: Tue, 07 Feb 2012 19:04:25 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net>
In-Reply-To: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RueCM-0003Uv-3Z fc9a10f9cf9db429a41f2b6f1de409d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #227: HEAD and Caches
Archived-At: <http://www.w3.org/mid/4F30BEE9.70005@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12364
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>
Resent-Message-Id: <E1RueDt-0007xO-Db@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 06:08:13 +0000

On 7/02/2012 5:03 p.m., Mark Nottingham wrote:
> I've been bothered by this text (p2 6.4 HEAD) for a while:
>
>>     The response to a HEAD request is cacheable and MAY be used to
>>     satisfy a subsequent HEAD request; see [Part6].  It also MAY be used
>>     to update a previously cached representation from that resource; if
>>     the new field values indicate that the cached representation differs
>>     from the current representation (as would be indicated by a change in
>>     Content-Length, ETag or Last-Modified), then the cache MUST treat the
>>     cache entry as stale.
> A few problems:
>
> 1. Since it specifies required cache behaviour, it really should be in p6
> 2. The second MAY seems to conflict with the MUST
> 3. Caches can store multiple representations for a resource, so there is no "current representation."

My reading is that there is an erroneous ";" in the middle of the second 
sentence and "current" is the origins viewpoint of current.


>
> Part of the problem here really is that it's not "updating" any response, but it is potentially invalidating an old one.
>
> To resolve this, we could construct a requirement that refers to p6 2.7 ("Caching Negotiated Responses") to identify the correct response to compare to and (potentially) invalidate.
>
> However, I wonder if a) this is widely implemented, and b) the complexity is worth it.
>
> I.e., we could alternatively just remove everything after the first sentence (i.e., treat the second MAY as primary, and therefore make the whole thing redundant).
>
> Thoughts?

Its useful that a HEAD 200 be treated identically to how the equivalent 
GET 200 response would have regarding invalidation and content 
negotiation details. The absence of a body seems not particularly 
relevant to the act of or reasons for invalidation. The presence of a 
body is just a performance edge GET conditionals have over HEAD.

The paragraph does seem like a convoluted way of saying that though.

IMHO changing that second paragraph to "SHOULD invalidate" and 
referencing the negotiation section for the what/how/when bits is the 
right thing to do, even if not implemented very widely right now. The 
origins HEAD result having changed is a very clear sign that the cached 
representation is not really useful now anyway.

AYJ

>
>
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/227>
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 22:59:01 2012
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 44FCD11E80BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 22:59:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.58
X-Spam-Level: 
X-Spam-Status: No, score=-10.58 tagged_above=-999 required=5 tests=[AWL=0.019, 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 D4U0J+tH9TIU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 22:59:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6C38511E808C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 22:59:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ruf0C-0000we-Bl for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 06:58:08 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1Ruezr-0000v6-UU for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 06:57:47 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Rueyo-00045k-AW for ietf-http-wg@w3.org; Tue, 07 Feb 2012 06:57:12 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id C68AF5DC9; Tue,  7 Feb 2012 06:54:49 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q176smBn009613; Tue, 7 Feb 2012 06:54:48 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 07 Feb 2012 12:03:38 +1100." <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 07 Feb 2012 06:54:48 +0000
Message-ID: <9612.1328597688@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rueyo-00045k-AW 5a839a5b1c9d6d2c5f557da7f9f8948f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/9612.1328597688@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12365
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>
Resent-Message-Id: <E1Ruf0C-0000we-Bl@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 06:58:08 +0000

In message <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>, Mark Nottingham wri
tes:

>What do people think about adding advice along these lines:
>
>"""
>Use of chunk-extensions by senders is deprecated; they SHOULD NOT be =
>sent and definition of new chunk-extensions is discouraged.
>"""

Yes please!

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Feb  6 23:47:40 2012
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 84AF221F86E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 23:47:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 MtV2R1uddXmN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Feb 2012 23:47:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D0A721F85F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Feb 2012 23:47:30 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rufky-0003TI-2D for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 07:46:28 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <daniel@haxx.se>) id 1Rufkh-0003Jy-Jd for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 07:46:11 +0000
Received: from giant.haxx.se ([80.67.6.50]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1RufjP-0006t0-J4 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 07:45:36 +0000
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id q177ggnP015621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 7 Feb 2012 08:42:42 +0100
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id q177gfFI015604; Tue, 7 Feb 2012 08:42:41 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Tue, 7 Feb 2012 08:42:41 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
Message-ID: <alpine.DEB.2.00.1202070841140.9222@tvnag.unkk.fr>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Received-SPF: none client-ip=80.67.6.50; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RufjP-0006t0-J4 db3d5ef3c52ae1c445b63cfb05cdc6e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/alpine.DEB.2.00.1202070841140.9222@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12366
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>
Resent-Message-Id: <E1Rufky-0003TI-2D@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 07:46:28 +0000

On Tue, 7 Feb 2012, Mark Nottingham wrote:

> What do people think about adding advice along these lines:
>
> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be sent 
> and definition of new chunk-extensions is discouraged.

That would work fine for me. As far as I can tell, chunk extensions are hardly 
ever used and just widely misunderstood or forgotten already.

-- 

  / daniel.haxx.se


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 06:52:37 2012
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 6A7B121F8631 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 06:52:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.282
X-Spam-Level: 
X-Spam-Status: No, score=-8.282 tagged_above=-999 required=5 tests=[AWL=2.317, 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 TcTTz6E2tSLX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 06:52:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2AE4F21F861B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 06:52:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RumOD-0005RK-Bh for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 14:51:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RumNv-0005QN-HK for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 14:51:07 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RumMr-0000sa-Bh for ietf-http-wg@w3.org; Tue, 07 Feb 2012 14:50:31 +0000
Received: (qmail invoked by alias); 07 Feb 2012 14:47:49 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp012) with SMTP; 07 Feb 2012 15:47:49 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/c6PdbOErcaGB/VV+Nn3bez07NfUQkzmzNKSgvto pp6DcYwkah2B/D
Message-ID: <4F313992.5080702@gmx.de>
Date: Tue, 07 Feb 2012 15:47:46 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RumMr-0000sa-Bh c6b06c761d6fe74d5caa46d26f57a6ae
X-Original-To: ietf-http-wg@w3.org
Subject: #342 WWW-Authenticate ABNF slightly ambiguous
Archived-At: <http://www.w3.org/mid/4F313992.5080702@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12367
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>
Resent-Message-Id: <E1RumOD-0005RK-Bh@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 14:51:25 +0000

Hi there,

sometime ago, when writing the tests at 
<http://greenbytes.de/tech/tc/httpauth/>, I noticed that the grammar for 
WWW-Authenticate (and Proxy-Authenticate) is ambiguous:

Example:

  Basic realm="foo", , Otherscheme realm="bar"

This can be parsed as either three challenges:

1: Basic realm="foo"
2:
3: Otherscheme realm="bar"

or as two challenges:

1: Basic realm="foo",
2: Otherscheme realm="bar"

...where the first challenge has a list of auth-params where the first 
one is the realm, and the second one is empty.

(see <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/342>).

Proposal: just note this so implementers aren't more surprised than needed.

Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/342/342.diff>

This changes the text for *Authenticate to:

4.2.  Proxy-Authenticate

    The "Proxy-Authenticate" header field consists of a challenge that
    indicates the authentication scheme and parameters applicable to the
    proxy for this effective request URI (Section 4.3 of [Part1]).  It
    MUST be included as part of a 407 (Proxy Authentication Required)
    response.

      Proxy-Authenticate = 1#challenge

    Unlike WWW-Authenticate, the Proxy-Authenticate header field applies
    only to the current connection and SHOULD NOT be passed on to
    downstream clients.  However, an intermediate proxy might need to
    obtain its own credentials by requesting them from the downstream
    client, which in some circumstances will appear as if the proxy is
    forwarding the Proxy-Authenticate header field.

    Note that the parsing considerations for WWW-Authenticate apply to
    this header field as well; see Section 4.4 for details.


and


4.4.  WWW-Authenticate

    The "WWW-Authenticate" header field consists of at least one
    challenge that indicates the authentication scheme(s) and parameters
    applicable to the effective request URI (Section 4.3 of [Part1]).

    It MUST be included in 401 (Unauthorized) response messages and MAY
    be included in other response messages to indicate that supplying
    credentials (or different credentials) might affect the response.

      WWW-Authenticate = 1#challenge

    User agents are advised to take special care in parsing the WWW-
    Authenticate field value as it might contain more than one challenge,
    or if more than one WWW-Authenticate header field is provided, the
    contents of a challenge itself can contain a comma-separated list of
    authentication parameters.

    For instance:

      WWW-Authenticate: Newauth realm="apps", type=1,
                        title="Login to \"apps\"", Basic realm="simple"

    This header field contains two challenges; one for the "Newauth"
    scheme with a realm value of "apps", and two additional parameters
    "type" and "title", and another one for the "Basic" scheme with a
    realm value of "simple".

       Note: the challenge grammar production uses the list syntax as
       well.  Therefore, a sequence of comma, whitespace, and comma can
       be considered both as applying to the preceding challenge, or to
       be an empty entry in the list of challenges.  In practice, this
       ambiguity does not affect the semantics of the header field value
       and thus is harmless.


Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 07:14:22 2012
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 5612E21F870A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 07:14:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.477
X-Spam-Level: 
X-Spam-Status: No, score=-6.477 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 grwRqFv5QZYY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 07:14:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1FFBA21F8718 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 07:13:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RumjL-0004Jz-Bs for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 15:13:15 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jonathan.rees@gmail.com>) id 1Rumj9-0004I5-NR for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 15:13:03 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jonathan.rees@gmail.com>) id 1Rumi1-0005rw-0y for ietf-http-wg@w3.org; Tue, 07 Feb 2012 15:12:28 +0000
Received: by yenm7 with SMTP id m7so535340yen.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 07:08:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=5Fhs3L6AEQL+WTGVRixnn4jOxEtdPWRimX4RkIt7/10=; b=F92f5AujN2xsJrSXGVpNtIjF9UBjDKG7+ysHVysR1V08jQYrsdn1TLg0Au/ltRBbuC hMd3+2ma6XxG25CVdept+90o2gcRBdHrY1cVpxKwf4+qV12HGxPXrq4UBiQn2VNHROq2 XB3wwCsvo1O/gYgyvlxwcROBsq1xIgQyARR68=
MIME-Version: 1.0
Received: by 10.236.200.164 with SMTP id z24mr32889204yhn.52.1328627332313; Tue, 07 Feb 2012 07:08:52 -0800 (PST)
Sender: jonathan.rees@gmail.com
Received: by 10.236.108.38 with HTTP; Tue, 7 Feb 2012 07:08:52 -0800 (PST)
Date: Tue, 7 Feb 2012 10:08:52 -0500
X-Google-Sender-Auth: fbcdrSoPU8aneEpUZj2syoq35oI
Message-ID: <CAGnGFMKeHW2bPr5WL-HXD=rAJvwp+HMYu5FeCccjypNxWV-48g@mail.gmail.com>
From: Jonathan A Rees <rees@mumble.net>
To: ietf-http-wg@w3.org
Cc: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.213.171; envelope-from=jonathan.rees@gmail.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rumi1-0005rw-0y fa13c8705e4d3c0b1c6b3ba749b1ca1c
X-Original-To: ietf-http-wg@w3.org
Subject: part 2, 5.1 "the response payload is a representation of the target resource"
Archived-At: <http://www.w3.org/mid/CAGnGFMKeHW2bPr5WL-HXD=rAJvwp+HMYu5FeCccjypNxWV-48g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12368
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>
Resent-Message-Id: <E1RumjL-0004Jz-Bs@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 15:13:15 +0000

The confusion I pointed out in 7.3.4 is also present in section 5.1. We have

http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#section-5

"1.  If the response status code is 200 or 203 and the request method
      was GET, the response payload is a representation of the target
      resource."

If you mean "representation" in an ordinary-language sense, then the
status code only *indicates*, it does not *imply*. So we cannot
conclude that the payload is a representation of the target resource;
we can only conclude that the server *says* it is a representation of
the target resource. We would need more information, such as trust in
the server, to conclude that it actually *is* a representation. (This
is true even if the server is the origin server.)

In the language of that section, one would say "the response payload
is a representation *associated with* the target
      resource [by the server]" - i.e. the server has made the
association, and that association might be incorrect, and that's
OK, it's up to the application to sort it all out.

There is another solution to this problem besides changing 5.1 and
7.3.4: You could define "representation" as a term of art, making it a
static property of HTTP exchanges, one that is decided by fiat by the
server, not an ordinary-language word. This would be rather tricky I
think, and again I don't think it's what you intend, but I'm not sure.

Yet another solution would be to say that the identity of the
identified resource is determined by the authoritative representations
that are or might be transmitted, or that it must be such that those
representations are correct. Then there would be no way for the two to
get out of sync in the way I suggest. But I don't think that's what
you mean, either.

I checked for "representation of" throughout part 2 and didn't find
any other difficulties with the use of this expression, so whatever
fix you choose is likely to be quite localized. Part 1 seems OK. The
single use in part 6 would need to be scrutinized. I didn't check the
other parts or other phrases.

Best
Jonathan


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 07:18:49 2012
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 EAC7121F87E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 07:18:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.318
X-Spam-Level: 
X-Spam-Status: No, score=-8.318 tagged_above=-999 required=5 tests=[AWL=2.281, 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 TbTkXQciYrD5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 07:18:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 662B821F87E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 07:18:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RumoT-0000Si-4v for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 15:18:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RumoH-0000R2-Gc for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 15:18:21 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rummv-0002Na-3V for ietf-http-wg@w3.org; Tue, 07 Feb 2012 15:17:43 +0000
Received: (qmail invoked by alias); 07 Feb 2012 15:14:45 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp012) with SMTP; 07 Feb 2012 16:14:45 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+TpuEYyICTgrPkToerIesw+xPXCdgCn4AlTef4nr r9qX4osaEkYJlT
Message-ID: <4F313FE3.2060302@gmx.de>
Date: Tue, 07 Feb 2012 16:14:43 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
In-Reply-To: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rummv-0002Na-3V f9d03217886abcac77931361fb8be4eb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F313FE3.2060302@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12369
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>
Resent-Message-Id: <E1RumoT-0000Si-4v@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 15:18:33 +0000

On 2012-02-07 00:55, Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>
>
>> The redirect status codes define requirements for user intervention; e.g.,
>>
>> If the 301 status code is received in response to a request method that is known to be "safe", as defined in Section 7.1.1, then the request MAY be automatically redirected by the user agent without confirmation. Otherwise, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
>>
>> However, this requirement is not often implemented by UAs.
>
>
> I'm now wondering if we should consider removing this requirement altogether.
>
> The way it's structured now, the requirement associates intent with a URI, when in reality intent is associated with the UI; the user is blissfully unaware of the actual resource being manipulated.
>
> More to the point, there's little to no difference between an HTML form POSTing somewhere and getting redirected somewhere else to the form just using the second URI in the first place.
>
> I think this requirement is well-intentioned, but the threat model of the Web has changed significantly since it was written.
>
> Thoughts?

1) Remove the statements from 301/302/307.

2) In a single place, explain the risks of automatically redirecting 
when the new request method is unsafe. Note this applies to *any* kind 
of following redirects, including future ones (such as 308).

Not sure about where to put the text for 2); does this belong into the 
description of 3xx or into the Security Considerations?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 07:53:43 2012
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 C66B821F87F4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 07:53:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.059
X-Spam-Level: 
X-Spam-Status: No, score=-10.059 tagged_above=-999 required=5 tests=[AWL=0.540, 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 nAN3Us9ktevC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 07:53:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 14F5621F87B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 07:53:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RunLc-0005EV-2X for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 15:52:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <annevk@opera.com>) id 1RunLG-0005DC-QV for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 15:52:26 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <annevk@opera.com>) id 1RunK8-00009a-15 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 15:51:51 +0000
Received: from annevk-macbookpro.local (a82-161-179-17.adsl.xs4all.nl [82.161.179.17]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q17Fn9GV023053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 7 Feb 2012 15:49:10 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Mark Nottingham" <mnot@mnot.net>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de>
Date: Tue, 07 Feb 2012 16:49:08 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Anne van Kesteren" <annevk@opera.com>
Organization: Opera Software
Message-ID: <op.v9bfj6fw64w2qv@annevk-macbookpro.local>
In-Reply-To: <4F313FE3.2060302@gmx.de>
User-Agent: Opera Mail/11.60 (MacIntel)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=annevk@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RunK8-00009a-15 82cf4e4e87ebc3ca500b875f5b3c000a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/op.v9bfj6fw64w2qv@annevk-macbookpro.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12370
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>
Resent-Message-Id: <E1RunLc-0005EV-2X@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 15:52:48 +0000

On Tue, 07 Feb 2012 16:14:43 +0100, Julian Reschke <julian.reschke@gmx.de>  
wrote:
> 1) Remove the statements from 301/302/307.
>
> 2) In a single place, explain the risks of automatically redirecting  
> when the new request method is unsafe. Note this applies to *any* kind  
> of following redirects, including future ones (such as 308).
>
> Not sure about where to put the text for 2); does this belong into the  
> description of 3xx or into the Security Considerations?

Can you explain to me the scenario for 2? In particular how a redirect  
makes this more dangerous than just performing the request directly.


-- 
Anne van Kesteren
http://annevankesteren.nl/


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 08:12:07 2012
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 39B4221F8861 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 08:12:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.352
X-Spam-Level: 
X-Spam-Status: No, score=-8.352 tagged_above=-999 required=5 tests=[AWL=2.247, 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 67Q-9TD5WMim for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 08:12:06 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 99A2721F885E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 08:12:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rundl-0000ql-66 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 16:11:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RundZ-0000pQ-9o for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 16:11:21 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RuncW-000560-4p for ietf-http-wg@w3.org; Tue, 07 Feb 2012 16:10:50 +0000
Received: (qmail invoked by alias); 07 Feb 2012 16:08:01 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp029) with SMTP; 07 Feb 2012 17:08:01 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19ToJkUdGRTpC31nRU5w+8D49EYoSkpK9+hCRTC9E Hn2SUNFkgsPKFU
Message-ID: <4F314C5F.40009@gmx.de>
Date: Tue, 07 Feb 2012 17:07:59 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Anne van Kesteren <annevk@opera.com>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local>
In-Reply-To: <op.v9bfj6fw64w2qv@annevk-macbookpro.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuncW-000560-4p 68fc4696f795919e865b888a004d53f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F314C5F.40009@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12371
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>
Resent-Message-Id: <E1Rundl-0000ql-66@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 16:11:33 +0000

On 2012-02-07 16:49, Anne van Kesteren wrote:
> On Tue, 07 Feb 2012 16:14:43 +0100, Julian Reschke
> <julian.reschke@gmx.de> wrote:
>> 1) Remove the statements from 301/302/307.
>>
>> 2) In a single place, explain the risks of automatically redirecting
>> when the new request method is unsafe. Note this applies to *any* kind
>> of following redirects, including future ones (such as 308).
>>
>> Not sure about where to put the text for 2); does this belong into the
>> description of 3xx or into the Security Considerations?
>
> Can you explain to me the scenario for 2? In particular how a redirect
> makes this more dangerous than just performing the request directly.

The redirect might go to a resource that the user didn't ask to modify.

Consider an XHR PUT being redirected to a different server, or to a 
different resource on the same server.

Yes, unsafe requests are ... unsafe, and thus need to be executed 
carefully. This consideration is about clients that follow the redirect 
automatically, and don't leave the control to whoever initiated the request.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 08:43:13 2012
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 430EB21F879A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 08:43:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.953
X-Spam-Level: 
X-Spam-Status: No, score=-7.953 tagged_above=-999 required=5 tests=[AWL=2.331, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 HKn-Wo9x1ThD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 08:43:12 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C22BA21F8790 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 08:43:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ruo7z-0004pf-5J for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 16:42:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1Ruo7m-0004o1-Sf for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 16:42:34 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Ruo6Q-0006ij-2n for ietf-http-wg@w3.org; Tue, 07 Feb 2012 16:41:59 +0000
Received: by bkcjg15 with SMTP id jg15so620987bkc.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 08:38:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8r6QzVUtSI34XI+c2TFYzeYefKHpNSFgzKdvUbjyL+c=; b=O7TwId+LWjuabgdJNFrFs1J/hfa0vbNbGGFcDwdqTMFLMu5sb5MvBZX/Tr6g9JSppc BuAKWKg7E1zYH/xAUWVXeGt8RhS4/bK4j3Au+wO3Ke4dWJNu+UFLaQlsevkFrdF9oXbB j7aA8dJiPdfk2dtHXkAIVaoIFEcmGeEovCNus=
MIME-Version: 1.0
Received: by 10.204.129.8 with SMTP id m8mr3273706bks.69.1328632684133; Tue, 07 Feb 2012 08:38:04 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Tue, 7 Feb 2012 08:38:04 -0800 (PST)
In-Reply-To: <4F314C5F.40009@gmx.de>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de>
Date: Tue, 7 Feb 2012 08:38:04 -0800
Message-ID: <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Anne van Kesteren <annevk@opera.com>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.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, FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ruo6Q-0006ij-2n 1b50bf297b99d3dd2b1163346de5c55b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12372
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>
Resent-Message-Id: <E1Ruo7z-0004pf-5J@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 16:42:47 +0000

On 7 February 2012 08:07, Julian Reschke <julian.reschke@gmx.de> wrote:
> The redirect might go to a resource that the user didn't ask to modify.

I don't see the problem.  So I ask to modify X, but then X points me
to Y, so I either automatically modify Y, or require confirmation
before doing so.

There isn't a security problem.  X has the information and could
forward to Y itself.

The only concern is over intent.  Whether the intent of the client
extends to permitting a server to direct their request.

I know that curl has a command line option for this behaviour, but it
most clients don't have the luxury of millions of options.  So when
you have to pick an option, choose the one that doesn't require a
dialog box.

Ultimately, this is between you and your client.  A specification
shouldn't really need to say anything about (though we might make an
exception for a security issue).

--Martin


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 09:14:28 2012
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 BDA8A21F8875 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 09:14:28 -0800 (PST)
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=[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 6NXi2y4eq3bz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 09:14:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C7B1A21F8800 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 09:14:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ruobn-0008Lt-ED for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 17:13:35 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <chris@lookout.net>) id 1Ruoba-0008F0-Gm for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 17:13:22 +0000
Received: from mailout08.mail01.mtsvc.net ([216.70.64.26] helo=n06.mail01.mtsvc.net) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <chris@lookout.net>) id 1RuobV-00088j-IJ for ietf-http-wg@w3.org; Tue, 07 Feb 2012 17:13:21 +0000
Received: from [174.136.108.2] (port=46618 helo=[0.0.0.0]) by n06.mail01.mtsvc.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <chris@lookout.net>) id 1RuoZ3-0003WQ-UY; Tue, 07 Feb 2012 12:10:46 -0500
Message-ID: <4F315B12.6090800@lookout.net>
Date: Tue, 07 Feb 2012 09:10:42 -0800
From: Chris Weber <chris@lookout.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: Julian Reschke <julian.reschke@gmx.de>,  Anne van Kesteren <annevk@opera.com>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
In-Reply-To: <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
X-Enigmail-Version: 1.3.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Authenticated-User: 882879 chris@lookout.net
Received-SPF: none client-ip=216.70.64.26; envelope-from=chris@lookout.net; helo=n06.mail01.mtsvc.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: aji.keio.w3.org 1RuobV-00088j-IJ c00b12360e609cda8fd97bf444bfa2bb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F315B12.6090800@lookout.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12373
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>
Resent-Message-Id: <E1Ruobn-0008Lt-ED@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 17:13:35 +0000

On 2/7/2012 8:38 AM, Martin Thomson wrote:
> I don't see the problem. So I ask to modify X, but then X points me to
> Y, so I either automatically modify Y, or require confirmation before
> doing so. There isn't a security problem. X has the information and
> could forward to Y itself. 

Within the security community the issue has been termed "Open Redirect"
and has been well documented here
http://cwe.mitre.org/data/definitions/601.html and here
https://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards
as well as other places.  It's not a vulnerability by itself but has
been heavily abused by phishing attacks over the years.  As such, any
security review or penetration test performed today will flag open
redirects as an issue that needs to be addressed.  To protect their
users, many top applications have built in 'safe redirect' protections
that allow same-origin redirects and either disallow or prompt the user
before allowing redirection to third-party domains. 

>From my point of view it's the job of the applications to implement safe
redirection protection, and several libraries already exist for this. 
If users started seeing prompts for all offsite redirects I'm sure that
they'd just end up clicking the check box to 'never show me this message
again.'

Best regards,
Chris Weber


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 09:25:58 2012
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 BB41421F882B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 09:25:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.385
X-Spam-Level: 
X-Spam-Status: No, score=-8.385 tagged_above=-999 required=5 tests=[AWL=2.214, 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 Z+IPw5NX93Vv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 09:25:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8CA0221F8821 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 09:25:57 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuonG-0004Yc-2Z for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 17:25:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ruon4-0004Xg-Ni for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 17:25:14 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ruom0-00013x-9f for ietf-http-wg@w3.org; Tue, 07 Feb 2012 17:24:38 +0000
Received: (qmail invoked by alias); 07 Feb 2012 17:21:57 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp070) with SMTP; 07 Feb 2012 18:21:57 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18dEwAZ2FQdJ/2fpe/Z4N8sHbk9Z2Yz84ZvHUvDdz qa9drDOSwEU04t
Message-ID: <4F315DB2.1020804@gmx.de>
Date: Tue, 07 Feb 2012 18:21:54 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Chris Weber <chris@lookout.net>
CC: Martin Thomson <martin.thomson@gmail.com>,  Anne van Kesteren <annevk@opera.com>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <4F315B12.6090800@lookout.net>
In-Reply-To: <4F315B12.6090800@lookout.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ruom0-00013x-9f 2313e94c07fe2800c7540302e0bb2475
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F315DB2.1020804@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12374
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>
Resent-Message-Id: <E1RuonG-0004Yc-2Z@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 17:25:26 +0000

On 2012-02-07 18:10, Chris Weber wrote:
> On 2/7/2012 8:38 AM, Martin Thomson wrote:
>> I don't see the problem. So I ask to modify X, but then X points me to
>> Y, so I either automatically modify Y, or require confirmation before
>> doing so. There isn't a security problem. X has the information and
>> could forward to Y itself.
>
> Within the security community the issue has been termed "Open Redirect"
> and has been well documented here
> http://cwe.mitre.org/data/definitions/601.html and here
> https://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards
> as well as other places.  It's not a vulnerability by itself but has
 > ...

Clarifying: "Open" means that the target of the redirect actually 
depends on something the request contains, such as a query parameter, right?


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 09:39:26 2012
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 32EDC21F880F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 09:39:26 -0800 (PST)
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=[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 5VTnOXQszQeO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 09:39:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A0C7921F87DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 09:39:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rup0N-0000vb-8N for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 17:38:59 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <chris@lookout.net>) id 1Rup06-0000sw-8b for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 17:38:42 +0000
Received: from mailout08.mail01.mtsvc.net ([216.70.64.26] helo=n06.mail01.mtsvc.net) by aji.keio.w3.org with esmtp (Exim 4.72) (envelope-from <chris@lookout.net>) id 1Rup01-00006V-Vg for ietf-http-wg@w3.org; Tue, 07 Feb 2012 17:38:40 +0000
Received: from [174.136.108.2] (port=46805 helo=[0.0.0.0]) by n06.mail01.mtsvc.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from <chris@lookout.net>) id 1RuoxO-00061c-Ii; Tue, 07 Feb 2012 12:35:54 -0500
Message-ID: <4F3160F5.4010201@lookout.net>
Date: Tue, 07 Feb 2012 09:35:49 -0800
From: Chris Weber <chris@lookout.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: Martin Thomson <martin.thomson@gmail.com>,  Anne van Kesteren <annevk@opera.com>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <4F315B12.6090800@lookout.net> <4F315DB2.1020804@gmx.de>
In-Reply-To: <4F315DB2.1020804@gmx.de>
X-Enigmail-Version: 1.3.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Authenticated-User: 882879 chris@lookout.net
Received-SPF: none client-ip=216.70.64.26; envelope-from=chris@lookout.net; helo=n06.mail01.mtsvc.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: aji.keio.w3.org 1Rup01-00006V-Vg 8cbc720a79003ccbbfd2050fac21c4bf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F3160F5.4010201@lookout.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12375
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>
Resent-Message-Id: <E1Rup0N-0000vb-8N@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 17:38:59 +0000

On 2/7/2012 9:21 AM, Julian Reschke wrote:
> Clarifying: "Open" means that the target of the redirect actually
> depends on something the request contains, such as a query parameter,
> right?

True, that's the most common case.  An example would be -
http://www.example.com/redir?target=http://foo.bar - where the query
parameter named 'target' has a user-controlled value which gets used
(most commonly) in an HTTP 302 redirect's 'Location' header.

---- REQUEST ----

GET /redir?target=http://foo.bar HTTP/1.1
Host: www.example.com

---- RESPONSE ----

HTTP/1.1 302 Found
Location: http://foo.bar/



-CW


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 11:04:44 2012
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 5D17B21F880E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 11:04:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.303
X-Spam-Level: 
X-Spam-Status: No, score=-6.303 tagged_above=-999 required=5 tests=[AWL=3.673, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 Nmxz4pHC7joG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 11:04:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 302C421F8572 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 11:04:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuqKG-00074T-C8 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 19:03:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ietf@adambarth.com>) id 1RuqK0-0006xb-UB for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 19:03:20 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ietf@adambarth.com>) id 1RuqIw-0006Um-Pz for ietf-http-wg@w3.org; Tue, 07 Feb 2012 19:02:45 +0000
Received: by wibhm2 with SMTP id hm2so6887048wib.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 10:59:50 -0800 (PST)
Received: by 10.180.106.33 with SMTP id gr1mr35970031wib.6.1328641190068; Tue, 07 Feb 2012 10:59:50 -0800 (PST)
Received: from mail-lpp01m010-f43.google.com (mail-lpp01m010-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id hb10sm6448698wib.10.2012.02.07.10.59.48 (version=SSLv3 cipher=OTHER); Tue, 07 Feb 2012 10:59:49 -0800 (PST)
Received: by lagp5 with SMTP id p5so5293004lag.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 10:59:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.112.84.170 with SMTP id a10mr6825951lbz.22.1328641187707; Tue, 07 Feb 2012 10:59:47 -0800 (PST)
Received: by 10.112.39.233 with HTTP; Tue, 7 Feb 2012 10:59:47 -0800 (PST)
Received: by 10.112.39.233 with HTTP; Tue, 7 Feb 2012 10:59:47 -0800 (PST)
In-Reply-To: <4F3160F5.4010201@lookout.net>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <4F315B12.6090800@lookout.net> <4F315DB2.1020804@gmx.de> <4F3160F5.4010201@lookout.net>
Date: Tue, 7 Feb 2012 10:59:47 -0800
Message-ID: <CAJE5ia_S5csTPmf_y2dM=Kjfmht7gGAj7XT6n8zXnH-+6TVvSg@mail.gmail.com>
From: Adam Barth <ietf@adambarth.com>
To: Chris Weber <chris@lookout.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Anne van Kesteren <annevk@opera.com>,  Martin Thomson <martin.thomson@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=f46d040168b906fa5e04b86462ec
Received-SPF: none client-ip=209.85.212.171; envelope-from=ietf@adambarth.com; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuqIw-0006Um-Pz 21195f8c34d5d2a8fba10ca07a9acc88
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CAJE5ia_S5csTPmf_y2dM=Kjfmht7gGAj7XT6n8zXnH-+6TVvSg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12376
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>
Resent-Message-Id: <E1RuqKG-00074T-C8@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 19:03:36 +0000

--f46d040168b906fa5e04b86462ec
Content-Type: text/plain; charset=ISO-8859-1

Open redirectors usually use GET requests rather than unsafe methods.

Adam
 On Feb 7, 2012 9:39 AM, "Chris Weber" <chris@lookout.net> wrote:

> On 2/7/2012 9:21 AM, Julian Reschke wrote:
> > Clarifying: "Open" means that the target of the redirect actually
> > depends on something the request contains, such as a query parameter,
> > right?
>
> True, that's the most common case.  An example would be -
> http://www.example.com/redir?target=http://foo.bar - where the query
> parameter named 'target' has a user-controlled value which gets used
> (most commonly) in an HTTP 302 redirect's 'Location' header.
>
> ---- REQUEST ----
>
> GET /redir?target=http://foo.bar HTTP/1.1
> Host: www.example.com
>
> ---- RESPONSE ----
>
> HTTP/1.1 302 Found
> Location: http://foo.bar/
>
>
>
> -CW
>
>

--f46d040168b906fa5e04b86462ec
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>Open redirectors usually use GET requests rather than unsafe methods.</p=
>
<p>Adam<br>
</p>
<div class=3D"gmail_quote">On Feb 7, 2012 9:39 AM, &quot;Chris Weber&quot; =
&lt;<a href=3D"mailto:chris@lookout.net">chris@lookout.net</a>&gt; wrote:<b=
r type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2/7/2012 9:21 AM, Julian Reschke wrote:<br>
&gt; Clarifying: &quot;Open&quot; means that the target of the redirect act=
ually<br>
&gt; depends on something the request contains, such as a query parameter,<=
br>
&gt; right?<br>
<br>
True, that&#39;s the most common case. =A0An example would be -<br>
<a href=3D"http://www.example.com/redir?target=3Dhttp://foo.bar" target=3D"=
_blank">http://www.example.com/redir?target=3Dhttp://foo.bar</a> - where th=
e query<br>
parameter named &#39;target&#39; has a user-controlled value which gets use=
d<br>
(most commonly) in an HTTP 302 redirect&#39;s &#39;Location&#39; header.<br=
>
<br>
---- REQUEST ----<br>
<br>
GET /redir?target=3D<a href=3D"http://foo.bar" target=3D"_blank">http://foo=
.bar</a> HTTP/1.1<br>
Host: <a href=3D"http://www.example.com" target=3D"_blank">www.example.com<=
/a><br>
<br>
---- RESPONSE ----<br>
<br>
HTTP/1.1 302 Found<br>
Location: <a href=3D"http://foo.bar/" target=3D"_blank">http://foo.bar/</a>=
<br>
<br>
<br>
<br>
-CW<br>
<br>
</blockquote></div>

--f46d040168b906fa5e04b86462ec--


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 11:30:34 2012
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 BCC9E21F889D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 11:30:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.24
X-Spam-Level: 
X-Spam-Status: No, score=-8.24 tagged_above=-999 required=5 tests=[AWL=2.359, 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 w0DDhLYUTlgg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 11:30:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2912621F8894 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 11:30:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ruqjo-0005OM-L8 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 19:30:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1Ruqjc-0005Mi-FM for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 19:29:48 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Ruqie-0007gH-7Q for ietf-http-wg@w3.org; Tue, 07 Feb 2012 19:29:12 +0000
Received: by bkcjg15 with SMTP id jg15so788395bkc.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 11:25:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u++w2GLBwUvXB97GCZyJodRQzGCiOCS9r4hFnd11+z4=; b=RJ53WyjE8fxDiUE5LCwtOOo39s+TYlT3+v4bovT+rvH6tQNF3qA98oammPb/ifMQ0M 4DGGPMCjxu7uwAi6+UcGqym9XNOWdZCkwf5okbbnsGlXKLAsCwP34QAXFaHYbbdlk+tj bLUtCN4wUMDNvolcrQzvWg5Zls3B2FAPRrVFg=
MIME-Version: 1.0
Received: by 10.204.129.8 with SMTP id m8mr3515718bks.69.1328642742490; Tue, 07 Feb 2012 11:25:42 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Tue, 7 Feb 2012 11:25:42 -0800 (PST)
In-Reply-To: <4F3160F5.4010201@lookout.net>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <4F315B12.6090800@lookout.net> <4F315DB2.1020804@gmx.de> <4F3160F5.4010201@lookout.net>
Date: Tue, 7 Feb 2012 11:25:42 -0800
Message-ID: <CABkgnnWmPWH2a4g78r2roZXYSPCg=oYoXObMatPv9Wn0+ayDWQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Chris Weber <chris@lookout.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Anne van Kesteren <annevk@opera.com>,  Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: maggie.w3.org 1Ruqie-0007gH-7Q 5ebf69983d605169b557156681553529
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CABkgnnWmPWH2a4g78r2roZXYSPCg=oYoXObMatPv9Wn0+ayDWQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12377
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>
Resent-Message-Id: <E1Ruqjo-0005OM-L8@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 19:30:00 +0000

It's not so much the issue of having an open redirect, it more relates
to the way that the browser assigns some level of trust to the server
when following the redirect.  Worse, the target server assigns a
degree of trust to the client when accepting the new request.


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 11:53:13 2012
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 E4FCF11E80BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 11:53:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.971
X-Spam-Level: 
X-Spam-Status: No, score=-8.971 tagged_above=-999 required=5 tests=[AWL=1.628, 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 sRtYrrG3bifw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 11:53:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4FE5911E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 11:53:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rur5j-0005gi-U2 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 19:52:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rur5W-0005cs-Oi for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 19:52:26 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rur4T-0006Nd-6y for ietf-http-wg@w3.org; Tue, 07 Feb 2012 19:51:51 +0000
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id 7E8AC2FDC1C for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 14:48:45 -0500 (EST)
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1724750A6B for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 14:46:23 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1257)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
Date: Wed, 8 Feb 2012 06:46:20 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rur4T-0006Nd-6y 96d89ab487438da34148a7457bf8b1c0
X-Original-To: ietf-http-wg@w3.org
Subject: #343: chunk-extensions
Archived-At: <http://www.w3.org/mid/B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12378
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>
Resent-Message-Id: <E1Rur5j-0005gi-U2@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 19:52:39 +0000

Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/343>.


On 07/02/2012, at 12:03 PM, Mark Nottingham wrote:

> Right now, this is all we say about chunk-extensions (beyond the BNF, =
etc.):
>=20
>>   All HTTP/1.1 applications MUST be able to receive and decode the
>>   "chunked" transfer-coding and MUST ignore chunk-ext extensions they
>>   do not understand.
>=20
> Since this is an extensibility point, we should give guidance on how =
it should be used.=20
>=20
> I can't really see establishing a chunk-extension registry; they don't =
have any semantic, and AFAIK haven't really been used in anger.
>=20
> What do people think about adding advice along these lines:
>=20
> """
> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be =
sent and definition of new chunk-extensions is discouraged.
> """
>=20
> ?
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 12:20:07 2012
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 0B62A21F8834 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:20:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.108
X-Spam-Level: 
X-Spam-Status: No, score=-8.108 tagged_above=-999 required=5 tests=[AWL=2.491, 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 bbw8qQrYXtdu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:20:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 17CD921F8833 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 12:20:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RurVZ-0003lA-9k for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 20:19:21 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RurVJ-0003jq-85 for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 20:19:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RurUC-0007nd-NI for ietf-http-wg@w3.org; Tue, 07 Feb 2012 20:18:29 +0000
Received: (qmail invoked by alias); 07 Feb 2012 20:15:44 -0000
Received: from p3EE27AFA.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.122.250] by mail.gmx.net (mp024) with SMTP; 07 Feb 2012 21:15:44 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19yrMMaD3VyqBGPrpZD5oYxWMcHYTAJVAJZKB+ViU Samtk9Q1nBUDZb
Message-ID: <4F31866D.4050709@gmx.de>
Date: Tue, 07 Feb 2012 21:15:41 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
In-Reply-To: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RurUC-0007nd-NI 4d83ff820eabd9d80d46019b388bfbc0
X-Original-To: ietf-http-wg@w3.org
Subject: #238, was: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F31866D.4050709@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12379
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>
Resent-Message-Id: <E1RurVZ-0003lA-9k@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 20:19:21 +0000

On 2012-02-07 00:55, Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>

(changed subject line accordingly)

>> The redirect status codes define requirements for user intervention; e.g.,
>>
>> If the 301 status code is received in response to a request method that is known to be "safe", as defined in Section 7.1.1, then the request MAY be automatically redirected by the user agent without confirmation. Otherwise, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
>>
>> However, this requirement is not often implemented by UAs.
>
>
> I'm now wondering if we should consider removing this requirement altogether.
>
> The way it's structured now, the requirement associates intent with a URI, when in reality intent is associated with the UI; the user is blissfully unaware of the actual resource being manipulated.
>
> More to the point, there's little to no difference between an HTML form POSTing somewhere and getting redirected somewhere else to the form just using the second URI in the first place.
>
> I think this requirement is well-intentioned, but the threat model of the Web has changed significantly since it was written.
>
> Thoughts?
> ...

Here's a proposal that removes the normative requirement, refactors the 
text to say things only once, but keeps a warning.

In the 3xx Introduction, say:

    Note that for methods not known to be "safe", as defined in
    Section 6.1.1, automatic redirection needs to done with care, since
    the redirect might change the conditions under which the request was
    issued.

In the description for 301 remove:

    If the 301 status code is received in response to a request method
    that is known to be "safe", as defined in Section 6.1.1, then the
    request MAY be automatically redirected by the user agent without
    confirmation.  Otherwise, the user agent MUST NOT automatically
    redirect the request unless it can be confirmed by the user, since
    this might change the conditions under which the request was issued.

dito for 302 and 307.

Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/238/238.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 12:30:47 2012
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 86B2121F87EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:30:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.139
X-Spam-Level: 
X-Spam-Status: No, score=-8.139 tagged_above=-999 required=5 tests=[AWL=2.460, 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 ttBgqcH3cErp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:30:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0563D21F872F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 12:30:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RurgE-0005VI-OI for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 20:30:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rurg2-0005Qi-GO for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 20:30:10 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rurex-0002UC-10 for ietf-http-wg@w3.org; Tue, 07 Feb 2012 20:29:34 +0000
Received: (qmail invoked by alias); 07 Feb 2012 20:26:49 -0000
Received: from p3EE27AFA.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.122.250] by mail.gmx.net (mp034) with SMTP; 07 Feb 2012 21:26:49 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18RO+VcPKcRb2MDkGL4DF7YFpuAjURmtzmeV9eUT6 4gyoChIToJ+2p3
Message-ID: <4F318905.3000302@gmx.de>
Date: Tue, 07 Feb 2012 21:26:45 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net>
In-Reply-To: <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rurex-0002UC-10 cf5a9408c99cc2f7ea5222990e9fbaab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #343: chunk-extensions
Archived-At: <http://www.w3.org/mid/4F318905.3000302@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12380
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>
Resent-Message-Id: <E1RurgE-0005VI-OI@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 20:30:22 +0000

On 2012-02-07 20:46, Mark Nottingham wrote:
> Now<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/343>.
>
>
> On 07/02/2012, at 12:03 PM, Mark Nottingham wrote:
>
>> Right now, this is all we say about chunk-extensions (beyond the BNF, etc.):
>>
>>>    All HTTP/1.1 applications MUST be able to receive and decode the
>>>    "chunked" transfer-coding and MUST ignore chunk-ext extensions they
>>>    do not understand.
>>
>> Since this is an extensibility point, we should give guidance on how it should be used.
>>
>> I can't really see establishing a chunk-extension registry; they don't have any semantic, and AFAIK haven't really been used in anger.
>>
>> What do people think about adding advice along these lines:
>>
>> """
>> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be sent and definition of new chunk-extensions is discouraged.
>> """
>>
>> ?

Works for me.

A future generation of HTTP spec authors can un-deprecate when needed :-)


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 12:54:30 2012
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 063EA21F882E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:54:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.003
X-Spam-Level: 
X-Spam-Status: No, score=-9.003 tagged_above=-999 required=5 tests=[AWL=1.596, 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 AJkHK9QsqGLM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:54:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F0B9921F881E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 12:54:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rus35-0005Gi-CI for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 20:53:59 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rus2t-0005Do-RP for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 20:53:47 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rus1E-00013n-Ao for ietf-http-wg@w3.org; Tue, 07 Feb 2012 20:53:12 +0000
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id 8494A2FD7B3 for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 15:49:28 -0500 (EST)
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E31CD50A65; Tue,  7 Feb 2012 15:46:56 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F318905.3000302@gmx.de>
Date: Wed, 8 Feb 2012 07:46:53 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <39A8D9EE-6676-46CA-9B56-252A5321C671@mnot.net>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net> <4F318905.3000302@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rus1E-00013n-Ao 933c6c210fee11ccc4a7dc44f693bf7c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #343: chunk-extensions
Archived-At: <http://www.w3.org/mid/39A8D9EE-6676-46CA-9B56-252A5321C671@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12381
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>
Resent-Message-Id: <E1Rus35-0005Gi-CI@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 20:53:59 +0000

On 08/02/2012, at 7:26 AM, Julian Reschke wrote:

> On 2012-02-07 20:46, Mark Nottingham wrote:
>> Now<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/343>.
>>=20
>>=20
>> On 07/02/2012, at 12:03 PM, Mark Nottingham wrote:
>>=20
>>> Right now, this is all we say about chunk-extensions (beyond the =
BNF, etc.):
>>>=20
>>>>   All HTTP/1.1 applications MUST be able to receive and decode the
>>>>   "chunked" transfer-coding and MUST ignore chunk-ext extensions =
they
>>>>   do not understand.
>>>=20
>>> Since this is an extensibility point, we should give guidance on how =
it should be used.
>>>=20
>>> I can't really see establishing a chunk-extension registry; they =
don't have any semantic, and AFAIK haven't really been used in anger.
>>>=20
>>> What do people think about adding advice along these lines:
>>>=20
>>> """
>>> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be =
sent and definition of new chunk-extensions is discouraged.
>>> """
>>>=20
>>> ?
>=20
> Works for me.
>=20
> A future generation of HTTP spec authors can un-deprecate when needed =
:-)


$DIETY have mercy on their souls.


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





From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 12:56:00 2012
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 880CD21F882E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:56:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.477
X-Spam-Level: 
X-Spam-Status: No, score=-10.477 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 uzOyTJTMxKQl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:56:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E04B821F8821 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 12:55:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rus4r-0005Wu-2C for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 20:55:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w3c@adambarth.com>) id 1Rus4f-0005Rm-MZ for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 20:55:37 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1Rus3W-0003oe-Vn for ietf-http-wg@w3.org; Tue, 07 Feb 2012 20:55:01 +0000
Received: by werb14 with SMTP id b14so6626801wer.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 12:51:51 -0800 (PST)
Received: by 10.180.24.166 with SMTP id v6mr22276029wif.10.1328647910110; Tue, 07 Feb 2012 12:51:50 -0800 (PST)
Received: from mail-lpp01m020-f171.google.com (mail-lpp01m020-f171.google.com [209.85.217.171]) by mx.google.com with ESMTPS id dw7sm34648633wib.4.2012.02.07.12.51.48 (version=SSLv3 cipher=OTHER); Tue, 07 Feb 2012 12:51:49 -0800 (PST)
Received: by lbjn8 with SMTP id n8so2137055lbj.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 12:51:48 -0800 (PST)
Received: by 10.112.84.1 with SMTP id u1mr6973352lby.35.1328647908120; Tue, 07 Feb 2012 12:51:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.112.39.233 with HTTP; Tue, 7 Feb 2012 12:51:18 -0800 (PST)
In-Reply-To: <4F31866D.4050709@gmx.de>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F31866D.4050709@gmx.de>
From: Adam Barth <w3c@adambarth.com>
Date: Tue, 7 Feb 2012 12:51:18 -0800
Message-ID: <CAJE5ia-iZN6j2R0BzcJ+HEj8eXXEvo+N0r45TzPN26WrShidTg@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlNCesoGATcHWF4oezJc3gXWRu9/qN3iS55JALgEGjCxcwaTtTSmI4h//gu/6U7Qz8bLiaT
Received-SPF: none client-ip=74.125.82.171; envelope-from=w3c@adambarth.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rus3W-0003oe-Vn 1eed6da2dce2e0c314a7dbd156822442
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CAJE5ia-iZN6j2R0BzcJ+HEj8eXXEvo+N0r45TzPN26WrShidTg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12382
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>
Resent-Message-Id: <E1Rus4r-0005Wu-2C@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 20:55:49 +0000

On Tue, Feb 7, 2012 at 12:15 PM, Julian Reschke <julian.reschke@gmx.de> wro=
te:
> On 2012-02-07 00:55, Mark Nottingham wrote:
>>
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>
>
> (changed subject line accordingly)
>
>>> The redirect status codes define requirements for user intervention;
>>> e.g.,
>>>
>>> If the 301 status code is received in response to a request method that
>>> is known to be "safe", as defined in Section 7.1.1, then the request MA=
Y be
>>> automatically redirected by the user agent without confirmation. Otherw=
ise,
>>> the user agent MUST NOT automatically redirect the request unless it ca=
n be
>>> confirmed by the user, since this might change the conditions under whi=
ch
>>> the request was issued.
>>>
>>> However, this requirement is not often implemented by UAs.
>>
>>
>>
>> I'm now wondering if we should consider removing this requirement
>> altogether.
>>
>> The way it's structured now, the requirement associates intent with a UR=
I,
>> when in reality intent is associated with the UI; the user is blissfully
>> unaware of the actual resource being manipulated.
>>
>> More to the point, there's little to no difference between an HTML form
>> POSTing somewhere and getting redirected somewhere else to the form just
>> using the second URI in the first place.
>>
>> I think this requirement is well-intentioned, but the threat model of th=
e
>> Web has changed significantly since it was written.
>>
>> Thoughts?
>> ...
>
>
> Here's a proposal that removes the normative requirement, refactors the t=
ext
> to say things only once, but keeps a warning.
>
> In the 3xx Introduction, say:
>
> =A0 Note that for methods not known to be "safe", as defined in
> =A0 Section 6.1.1, automatic redirection needs to done with care, since
> =A0 the redirect might change the conditions under which the request was
> =A0 issued.
>
> In the description for 301 remove:
>
> =A0 If the 301 status code is received in response to a request method
> =A0 that is known to be "safe", as defined in Section 6.1.1, then the
> =A0 request MAY be automatically redirected by the user agent without
> =A0 confirmation. =A0Otherwise, the user agent MUST NOT automatically
> =A0 redirect the request unless it can be confirmed by the user, since
> =A0 this might change the conditions under which the request was issued.
>
> dito for 302 and 307.
>
> Proposed patch:
> <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/238/238.dif=
f>

+1

Adam


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 12:57:17 2012
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 B525C21F882F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:57:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.034
X-Spam-Level: 
X-Spam-Status: No, score=-9.034 tagged_above=-999 required=5 tests=[AWL=1.565, 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 igjYvJye1Lr7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 12:57:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EE36921F882E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 12:57:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rus64-0005iw-NA for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 20:57:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rus5s-0005h5-HJ for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 20:56:52 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rus4o-0001KF-BU for ietf-http-wg@w3.org; Tue, 07 Feb 2012 20:56:17 +0000
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id 25B902FD7BE for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 15:49:51 -0500 (EST)
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C32EC50A6C; Tue,  7 Feb 2012 15:47:19 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F31866D.4050709@gmx.de>
Date: Wed, 8 Feb 2012 07:47:19 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <1289915F-E735-47A9-8F0E-395D8BA8C16F@mnot.net>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F31866D.4050709@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rus4o-0001KF-BU cf440a5148cf0ae8d12892e50b9d6fab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/1289915F-E735-47A9-8F0E-395D8BA8C16F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12383
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>
Resent-Message-Id: <E1Rus64-0005iw-NA@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 20:57:04 +0000

+1

On 08/02/2012, at 7:15 AM, Julian Reschke wrote:

> On 2012-02-07 00:55, Mark Nottingham wrote:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>
>=20
> (changed subject line accordingly)
>=20
>>> The redirect status codes define requirements for user intervention; =
e.g.,
>>>=20
>>> If the 301 status code is received in response to a request method =
that is known to be "safe", as defined in Section 7.1.1, then the =
request MAY be automatically redirected by the user agent without =
confirmation. Otherwise, the user agent MUST NOT automatically redirect =
the request unless it can be confirmed by the user, since this might =
change the conditions under which the request was issued.
>>>=20
>>> However, this requirement is not often implemented by UAs.
>>=20
>>=20
>> I'm now wondering if we should consider removing this requirement =
altogether.
>>=20
>> The way it's structured now, the requirement associates intent with a =
URI, when in reality intent is associated with the UI; the user is =
blissfully unaware of the actual resource being manipulated.
>>=20
>> More to the point, there's little to no difference between an HTML =
form POSTing somewhere and getting redirected somewhere else to the form =
just using the second URI in the first place.
>>=20
>> I think this requirement is well-intentioned, but the threat model of =
the Web has changed significantly since it was written.
>>=20
>> Thoughts?
>> ...
>=20
> Here's a proposal that removes the normative requirement, refactors =
the text to say things only once, but keeps a warning.
>=20
> In the 3xx Introduction, say:
>=20
>   Note that for methods not known to be "safe", as defined in
>   Section 6.1.1, automatic redirection needs to done with care, since
>   the redirect might change the conditions under which the request was
>   issued.
>=20
> In the description for 301 remove:
>=20
>   If the 301 status code is received in response to a request method
>   that is known to be "safe", as defined in Section 6.1.1, then the
>   request MAY be automatically redirected by the user agent without
>   confirmation.  Otherwise, the user agent MUST NOT automatically
>   redirect the request unless it can be confirmed by the user, since
>   this might change the conditions under which the request was issued.
>=20
> dito for 302 and 307.
>=20
> Proposed patch: =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/238/238.diff=
>
>=20
> Best regards, Julian

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





From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 13:11:53 2012
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 9614311E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 13:11:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.364
X-Spam-Level: 
X-Spam-Status: No, score=-8.364 tagged_above=-999 required=5 tests=[AWL=2.235, 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 wbbQJmKLpBpU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 13:11:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 02DC721F861A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 13:11:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RusJW-0002Lk-Vo for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 21:10:59 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1RusJL-0002Kn-KW for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 21:10:47 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1RusIG-0004k3-3c for ietf-http-wg@w3.org; Tue, 07 Feb 2012 21:10:16 +0000
Received: by bkcjg15 with SMTP id jg15so875481bkc.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 13:06:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=cfb/fkgJfX920uagLx3DgwMBYSR0a2kuA5giC7Beuu8=; b=MxQK3w0bchdj6I2HsOSnM4EgwCjx83p8lSRgQJQebEr2qGRSFr+Kj1npFV8h23Bi4f W4UC7iUolqqwZoHR1Bpi97sxk9AUAATAGpr/yLEMxk9CvUAYDdag65CbgBPk4RYIHyqb MbDdrulw9gOPD+WlD/Wy09eRzd/Arv0adsHmg=
MIME-Version: 1.0
Received: by 10.204.152.26 with SMTP id e26mr10906417bkw.87.1328648799915; Tue, 07 Feb 2012 13:06:39 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Tue, 7 Feb 2012 13:06:39 -0800 (PST)
In-Reply-To: <CAJE5ia-iZN6j2R0BzcJ+HEj8eXXEvo+N0r45TzPN26WrShidTg@mail.gmail.com>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F31866D.4050709@gmx.de> <CAJE5ia-iZN6j2R0BzcJ+HEj8eXXEvo+N0r45TzPN26WrShidTg@mail.gmail.com>
Date: Tue, 7 Feb 2012 13:06:39 -0800
Message-ID: <CABkgnnUiBdFzOOkYJz78WtdVPv-ipGMq1O-OsG-gbTptAzwaDA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Adam Barth <w3c@adambarth.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: maggie.w3.org 1RusIG-0004k3-3c c37e0f11aa35eabd9fbb4be25a3e9572
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CABkgnnUiBdFzOOkYJz78WtdVPv-ipGMq1O-OsG-gbTptAzwaDA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12384
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>
Resent-Message-Id: <E1RusJW-0002Lk-Vo@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 21:10:58 +0000

On 7 February 2012 12:51, Adam Barth <w3c@adambarth.com> wrote:
>> In the 3xx Introduction, say:
>>
>> =C2=A0 Note that for methods not known to be "safe", as defined in
>> =C2=A0 Section 6.1.1, automatic redirection needs to done with care, sin=
ce
>> =C2=A0 the redirect might change the conditions under which the request =
was
>> =C2=A0 issued.

Good.


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 13:52:10 2012
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 4396E11E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 13:52:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.079
X-Spam-Level: 
X-Spam-Status: No, score=-10.079 tagged_above=-999 required=5 tests=[AWL=0.205, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
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 hslHQ9H2WYyO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 13:52:09 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B3C9C11E8081 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 13:52:09 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuswX-0004Gm-TF for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 21:51:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RuswD-0004Fo-2Q for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 21:50:57 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Rusv6-0004VW-7N for ietf-http-wg@w3.org; Tue, 07 Feb 2012 21:50:21 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 55864E724D; Wed,  8 Feb 2012 10:47:33 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 08 Feb 2012 10:47:32 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
Message-ID: <1d60731116c2df38e883a9edb062921c@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rusv6-0004VW-7N 46c26d1d0be117b7725dc7b4c8fee399
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/1d60731116c2df38e883a9edb062921c@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12385
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>
Resent-Message-Id: <E1RuswX-0004Gm-TF@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 21:51:17 +0000

On 08.02.2012 05:38, Martin Thomson wrote:
> On 7 February 2012 08:07, Julian Reschke wrote:
>> The redirect might go to a resource that the user didn't ask to 
>> modify.
>
> I don't see the problem.  So I ask to modify X, but then X points me
> to Y, so I either automatically modify Y, or require confirmation
> before doing so.

The crux of the problem is that "or," you just wrote.

When redirect is allowed to be done always there is no "or,". With some 
potential for problems.
Anne appears to know of an application use-case that would jump head 
first into that usage if given half a chance.


>
> There isn't a security problem.  X has the information and could
> forward to Y itself.

Or Y could be hijacked temporarily and redirect to Z. Oops.
Or one of the other "open redirect" problems mentioned already.

>
> The only concern is over intent.  Whether the intent of the client
> extends to permitting a server to direct their request.
>
> I know that curl has a command line option for this behaviour, but it
> most clients don't have the luxury of millions of options.  So when
> you have to pick an option, choose the one that doesn't require a
> dialog box.
>
> Ultimately, this is between you and your client.  A specification
> shouldn't really need to say anything about (though we might make an
> exception for a security issue).

Indeed. We need to be clear that auto-redirect is an option that needs 
to be considered carefully first on a case-by-case basis, with a set of 
problems outlined, and if possible solutions to those problems pointed 
at. To me that seems to mean threat model texts and maybe a reference in 
the spec to that.

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 14:14:18 2012
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 C599C21F86AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 14:14:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.476
X-Spam-Level: 
X-Spam-Status: No, score=-8.476 tagged_above=-999 required=5 tests=[AWL=2.123, 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 NY8BWZbCUG7s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 14:14:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 96BF721F86A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 14:14:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RutI7-0000Bg-MO for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 22:13:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1RutHn-0000Ad-Ii for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 22:13:15 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1RutGd-0007oz-4j for ietf-http-wg@w3.org; Tue, 07 Feb 2012 22:12:41 +0000
Received: by bkcjg15 with SMTP id jg15so929885bkc.2 for <ietf-http-wg@w3.org>; Tue, 07 Feb 2012 14:09:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fVJo9F8HKOahtAUDtbtoJ5xvEFGnBQxyMLg2tSrCq94=; b=OnVtuLqLaFpehUeSAJbBLinJDLBbNIEVrZqmu6vA3glZMjAnWbYYVAh36qV4j1eJTh sF5hI5ErhjzY3r6QDoRapncH2HOE3TLXs0l3/oEesOxNmQh6jd9uxt9KHJjcJmxLh5vI pPxY+PUCX+XE/Bw/aByfQuTzs6kx8KSOLAV+4=
MIME-Version: 1.0
Received: by 10.204.153.195 with SMTP id l3mr11426849bkw.123.1328652540848; Tue, 07 Feb 2012 14:09:00 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Tue, 7 Feb 2012 14:09:00 -0800 (PST)
In-Reply-To: <1d60731116c2df38e883a9edb062921c@treenet.co.nz>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <1d60731116c2df38e883a9edb062921c@treenet.co.nz>
Date: Tue, 7 Feb 2012 14:09:00 -0800
Message-ID: <CABkgnnUCc8uwR9=7uqLcD8VUEWiGARyW3Wc5VnbZ_7kVZB7mPw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: maggie.w3.org 1RutGd-0007oz-4j 58b54adfb76742b43cbba4ed184611bf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CABkgnnUCc8uwR9=7uqLcD8VUEWiGARyW3Wc5VnbZ_7kVZB7mPw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12386
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>
Resent-Message-Id: <E1RutI7-0000Bg-MO@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 22:13:35 +0000

On 7 February 2012 13:47, Amos Jeffries <squid3@treenet.co.nz> wrote:
> On 08.02.2012 05:38, Martin Thomson wrote:
>> to Y, so I either automatically modify Y, or require confirmation
>> before doing so.
>
> When redirect is allowed to be done always there is no "or,". With some
> potential for problems.

Right. I hate "or".

I'd rather not have the point of flexibility, but am willing to live
with it (hence my response to Julian's suggestion - it's a definite
improvement on the text, though not the substance).

On the other hand, if all clients followed redirects, safe method or
not, then we at least have something we can build on.  Right now, the
uncertainty means that you can't rely on any particular behaviour at
all.  That imposes a constraint that I don't like very much.

> Anne appears to know of an application use-case that would jump head first
> into that usage if given half a chance.

I have one too. It relies on a permanent redirect for unsafe methods.
Crazy, but far more elegant than any alternatives.

> Or one of the other "open redirect" problems mentioned already.

Open redirects are not the problem.  They are "a" problem, but
requiring one behaviour or the other here isn't going to fix the open
redirect problem unless you wanted to stop automatic follows for safe
methods as well...or you had some sort of magic fairy wand that made
all resources in existence safe for safe requests.

--Martin


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 15:36:22 2012
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 2BB9F21F87A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 15:36:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, 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 BOCVfcDC+Nxy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 15:36:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2AE9721F870E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 15:36:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuuZH-0003B4-L7 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Feb 2012 23:35:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <duncan@cilux.org>) id 1RuuZ0-000376-KU for ietf-http-wg@listhub.w3.org; Tue, 07 Feb 2012 23:35:06 +0000
Received: from mailex.mailcore.me ([94.136.40.61]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <duncan@cilux.org>) id 1RuuXy-0001NH-6p for ietf-http-wg@w3.org; Tue, 07 Feb 2012 23:34:32 +0000
Received: from dsl-212-23-31-158.zen.co.uk ([212.23.31.158] helo=[192.168.0.5]) by mail6.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <duncan@cilux.org>) id 1RuuVu-0006m3-Q1; Tue, 07 Feb 2012 23:31:55 +0000
Message-ID: <4F31B469.108@cilux.org>
Date: Tue, 07 Feb 2012 23:31:53 +0000
From: Duncan Cragg <duncan@cilux.org>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <4F16EA75.1020705@cilux.org> <4F1935B7.4010304@cilux.org> <4F1A98B6.4020606@treenet.co.nz>
In-Reply-To: <4F1A98B6.4020606@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailcore-Auth: 9916643
X-Mailcore-Domain: 1066436
Received-SPF: none client-ip=94.136.40.61; envelope-from=duncan@cilux.org; helo=mailex.mailcore.me
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RuuXy-0001NH-6p d54d571bb8e59186e8310c905b067706
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Defining the meaning of headers associated with a request body
Archived-At: <http://www.w3.org/mid/4F31B469.108@cilux.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12387
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>
Resent-Message-Id: <E1RuuZH-0003B4-L7@frink.w3.org>
Resent-Date: Tue, 07 Feb 2012 23:35:23 +0000

Belated 'thanks-very-much' for this reply, Amos, very much appreciated. :-)

Duncan

> On 20/01/2012 10:36 p.m., Duncan Cragg wrote:
>> Thanks for the replies so far .. lots of very interesting information 
>> in there.
>>
>> My original question remains, however, so I'm wondering if I'm just 
>> missing something about the nature of HTTP headers...
>>
>> Allow me to cut right down to the essentials of my question:
>>
>>  POST /z HTTP/1.1
>>  Cache-Control: max-age=3600
>>  Etag: "1"
>>  Content-Location: http://foo.com/y
>>
>> My question is: /what do those three headers mean/ ??
>>
>
> Cache-Control: max-age=3600    ==> the reply to this POST must not be 
> an object older than 3600 seconds.
>    
> http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-18#section-3.2.1
>
> ETag: "1"   ==> the body object of this request has a unique 
> identifier "1". The new spec does *not* limit it to one of request or 
> reply.
>   
> http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-18#section-2.3
>
> Content-Location: http://foo.com/y   ==> a GET request of this URL 
> would produce identical object for response body as this POST request 
> body.
>    
> http://tools.ietf.org/html/draft-ietf-httpbis-p3-payload-18#section-6.7
>
> "  if one were to perform a GET on this URI at the time of
>    this message's generation, then a 200 response would contain the same
>    representation that is enclosed as payload in this message.
>
> "
>
>
>
>> If they mean 'nothing', does that allow me to correctly set up an 
>> agreed protocol wherein they mean 'associated with the POSTed 
>> body/entity'?
>
> Ignoring because you started with "If" and its condition was false.
>
>
>> From combinations of RFC2616 and Bis, I get that:
>>
>
>>  - Cache-Control is/was a 'general header', although registered 
>> alongside the 'entity header', Expires, in p6.
>
> Was. As you note below the definition was dropped. It is about 
> controls on the cache handling. Which implies the response, but is not 
> so limited base on the header name alone. The option values are where 
> scope for particular request/response usage and other things like 
> entity comes into play.
>
>>  - Etag is a 'response header', although registered alongside the 
>> 'entity header', Last-Modified, in p4.
>
> The response limitation has been removed. It simply means the entity 
> representation now. It is a coincidence that most requests have no 
> body entity for it to be useful with today.
>
>>  - Content-Location is/was an 'entity header'.
>
> Still is. see above.
>
>
>>
>> (The phrases 'entity' and 'general' appear to be dropped since ticket 
>> 224.)
>>
>> Perhaps there would be value in constructing a single table with all 
>> the headers, what category they are (request, response, other??), 
>> what they mean in requests (GET/P*), what in responses?
>
> As I understand it the headers have been split into groups along 
> feature boundaries. The groups being:  messaging, semantics, payload 
> (entity/representation), conditional, cache, range, and 
> authentication. Each of the draft document outlines and defines the 
> headers which are in that group, splitting them by request and reply 
> sub-groups and tabularizes the headers as part of the RFC index.
>
> So where would one put a re-joined table? and what use would it be for 
> those who care only about one particular sub-group of headers?
>
>
>>
>> Saying 'in this context, this header means nothing as far as Bis is 
>> concerned, so use it as you like' would be quite valuable information 
>> in general, where it holds true.
>>
>
> The editors have been doing exactly that AFAICS, whenever consensus 
> here found that it was important to state something was useless. Just 
> because we have no use for things *yet*, does not make them 
> permanently meaningless. Also as has been mentioned before writing 
> down everything which is *not* useful is a unimaginably huge amount 
> text to wade through for a few small nuggets about when it *is* useful.
>
> AYJ
>
>



From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 17:01:15 2012
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 34BF121F8569 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 17:01:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.063
X-Spam-Level: 
X-Spam-Status: No, score=-9.063 tagged_above=-999 required=5 tests=[AWL=1.536, 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 L2TAQB3n5u-E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 17:01:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F134C21F8567 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 17:01:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuvtQ-0000wc-My for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 01:00:16 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Ruvt9-0008U4-0m for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 00:59:59 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Ruvs3-0006rL-Jv for ietf-http-wg@w3.org; Wed, 08 Feb 2012 00:59:23 +0000
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id 332EF2FD7EF for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 19:56:11 -0500 (EST)
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 32A9350A64; Tue,  7 Feb 2012 19:53:38 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com>
Date: Wed, 8 Feb 2012 11:53:36 +1100
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, httpbis Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com>
To: Eric Lawrence <ericlaw@exchange.microsoft.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_LOW=-0.7, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ruvs3-0006rL-Jv 3f7611ee3b99f57cc6814c60509d0a89
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12388
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>
Resent-Message-Id: <E1RuvtQ-0000wc-My@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 01:00:16 +0000

Current text:
"""
   In the interest of robustness, servers SHOULD ignore at least one
   empty line received where a Request-Line is expected.  In other
   words, if the server is reading the protocol stream at the beginning
   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
"""

Proposal:

"""
   In the interest of robustness, servers SHOULD ignore at least one
   empty line received where a Request-Line is expected.  In other
   words, if the server is reading the protocol stream at the beginning
   of a message and receives a CRLF first, it SHOULD ignore the CRLF.

   Likewise, clients SHOULD ignore at least one empty line received
   where a Status-Line is expected.=20

   Note that this relaxation does not apply to other characters; =
ignoring
   arbitrary non-whitespace characters before a message enables
   cross-protocol attacks.
"""



On 08/07/2011, at 6:08 AM, Eric Lawrence wrote:

> If I recall correctly, some browsers apply different rules for leading =
whitespace/junk based on whether it's a top-level document or not.=20
>=20
> IE (including IE9) are very liberal about ignoring unexpected junk =
preceding a HTTP response. For instance, IE will render bolded "Hello =
World" text when receiving this:
>=20
>=20
> 	This is not HTTP
>=20
> =09
> 	Is ItHTTP/1.1 200 OK
> 	Cache-Control: max-age=3D0
> 	Content-Type: text/html
> 	Connection: close
>=20
> 	<b>Hello world.</b>
>=20
>=20
>=20
> In developing Fiddler, I ran across a few sites delivering HTTP/0.9 =
responses (e.g. without headers).  Here's an example: =
http://patft.uspto.gov/netacgi/nph-Parser?Sect1=3DPTO2&Sect2=3DHITOFF&u=3D=
%2Fnetahtml%2FPTO%2Fsearch-adv.htm&r=3D0&p=3D1&f=3DS&l=3D50&Query=3DIN%2FE=
ric+Lawrence%0D%0A&d=3DPTXT which sends no headers, though it does lead =
the response with \n\n. It seems to render as a HTML document just fine =
in current versions of all major browsers.
>=20
> -Eric=20
>=20
> -----Original Message-----
> From: ietf-http-wg-request@w3.org [mailto:ietf-http-wg-request@w3.org] =
On Behalf Of Mark Nottingham
> Sent: Tuesday, July 05, 2011 4:57 PM
> To: Bjoern Hoehrmann
> Cc: httpbis Group
> Subject: Re: Whitespace before responses
>=20
> On 04/07/2011, at 6:56 AM, Bjoern Hoehrmann wrote:
>=20
>> * Mark Nottingham wrote:
>>> =
<http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-14#section-3.1=
> says:
>>>=20
>>> In the interest of robustness, servers SHOULD ignore at least one =20=

>>> empty line received where a Request-Line is expected.  In other =20
>>> words, if the server is reading the protocol stream at the beginning =
=20
>>> of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>>>=20
>>> Should a similar approach be taken when clients parse responses?
>>>=20
>>> See also:
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=3D668168
>>=20
>> Well, we absolutely need to come to an agreement where messages start=20=

>> and where they end. I would rather ask which behavior we are more=20
>> like- ly to agree on. Apart from that it's obviously best if nothing=20=

>> has to be skipped, as skipping requires more work than not skipping.
>=20
>> =46rom a quick test, Firefox and Chrome will skip at least two blank =
lines (without any whitespace on them); Opera will offer to download it =
as a file (!). Safari and Curl consider the whitespace and headers as =
the body (i.e., displaying it), as per HTTP/0.9. I don't have access to =
IE at the moment, but AIUI it'll operate as FF and Chrome.
>=20
> Interestingly, Safari sniffs the response; if it looks like HTML, it =
will display it as such. I guess HTTP/0.9 by definition requires =
sniffing.
>=20
> Cheers,
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 17:27:03 2012
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 5950A11E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 17:27:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.266
X-Spam-Level: 
X-Spam-Status: No, score=-9.266 tagged_above=-999 required=5 tests=[AWL=1.333, 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 JNajQw1ius+g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 17:27:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1322811E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 17:26:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuwIR-0007sP-Rs for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 01:26:07 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1RuwIB-0007ou-BN for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 01:25:51 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a63.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1RuwGz-0007m5-JL for ietf-http-wg@w3.org; Wed, 08 Feb 2012 01:25:15 +0000
Received: from homiemail-a63.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTP id 3D9F62F4059; Tue,  7 Feb 2012 17:22:31 -0800 (PST)
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=AbicbnYuOfPsJv2W RMDHKREx4eQRiIkdhdtzoJZhae0QE5nHqm1RST5Zb90TWiDju40zmfTorX1Gt1+L rRUsh2GEh08GyQe9ebBuLtJgWf38B2n1ekp9MBLnWKnJVBPMLGpP8w5Ysz2fHG0S Vybc35WHXycQ/qZ7sMsb6Mms/Ao=
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=NaIn6BQ8sDWgfyGkfhO4W2SZlno=; b=GC7UC58osz1HX7+qyGeACVRDSv1d Cj16wuEaTKgzl9021DJ2GSRL2xbnc57ItgHl+dO5ct9g5a4NihLGmWk8yEpcRXgb r76tGczlCguyfh8+cFNZ1VQ8ydTt05LCGHZeuJ5SVcFyKN7dW3+d0klSu4GwvLyM 7cXLrHRX5Guqmqo=
Received: from [10.134.89.83] (unknown [75.103.10.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a63.g.dreamhost.com (Postfix) with ESMTPSA id 0491A2F403E; Tue,  7 Feb 2012 17:22:30 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net>
Date: Tue, 7 Feb 2012 17:22:35 -0800
Cc: Eric Lawrence <ericlaw@exchange.microsoft.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, httpbis Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.207; envelope-from=fielding@gbiv.com; helo=homiemail-a63.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: lisa.w3.org 1RuwGz-0007m5-JL a996d9f65ab51f329c72c000c8c3596f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12389
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>
Resent-Message-Id: <E1RuwIR-0007sP-Rs@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 01:26:07 +0000

On Feb 7, 2012, at 4:53 PM, Mark Nottingham wrote:

> Current text:
> """
>   In the interest of robustness, servers SHOULD ignore at least one
>   empty line received where a Request-Line is expected.  In other
>   words, if the server is reading the protocol stream at the beginning
>   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
> """
> 
> Proposal:
> 
> """
>   In the interest of robustness, servers SHOULD ignore at least one
>   empty line received where a Request-Line is expected.  In other
>   words, if the server is reading the protocol stream at the beginning
>   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
> 
>   Likewise, clients SHOULD ignore at least one empty line received
>   where a Status-Line is expected. 
> 
>   Note that this relaxation does not apply to other characters; ignoring
>   arbitrary non-whitespace characters before a message enables
>   cross-protocol attacks.
> """

No, there is no need nor desire for such a relaxation.  The first rule is
to allow for backwards-compatible behavior with clients that send CRLF at
the end of a request without including it in the request message body count.
This new addition has no corresponding need.  IE is just handling a
message error, which is entirely dependent on the type of client being used.

....Roy


From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 17:32:26 2012
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 A47EA11E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 17:32:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.092
X-Spam-Level: 
X-Spam-Status: No, score=-9.092 tagged_above=-999 required=5 tests=[AWL=1.507, 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 CAuY4YmACnrb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 17:32:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB15C11E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 17:32:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RuwOG-0001yl-0y for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 01:32:08 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RuwO4-0001uu-6P for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 01:31:56 +0000
Received: from fallback-out2.mxes.net ([216.86.168.191] helo=fallback-in2.mxes.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RuwN0-00005c-6p for ietf-http-wg@w3.org; Wed, 08 Feb 2012 01:31:20 +0000
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by fallback-in1.mxes.net (Postfix) with ESMTP id F2A572FDBE1 for <ietf-http-wg@w3.org>; Tue,  7 Feb 2012 20:28:09 -0500 (EST)
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D687F50A64; Tue,  7 Feb 2012 20:25:37 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com>
Date: Wed, 8 Feb 2012 12:25:34 +1100
Cc: Eric Lawrence <ericlaw@exchange.microsoft.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, httpbis Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com>
To: Roy T. Fielding <fielding@gbiv.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.191; envelope-from=mnot@mnot.net; helo=fallback-in2.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1RuwN0-00005c-6p 705792550fbfe12fce35a298e0aa54ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/AD07806D-7592-4681-8835-21745F68AD1B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12390
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>
Resent-Message-Id: <E1RuwOG-0001yl-0y@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 01:32:08 +0000

On 08/02/2012, at 12:22 PM, Roy T. Fielding wrote:

> On Feb 7, 2012, at 4:53 PM, Mark Nottingham wrote:
>=20
>> Current text:
>> """
>>  In the interest of robustness, servers SHOULD ignore at least one
>>  empty line received where a Request-Line is expected.  In other
>>  words, if the server is reading the protocol stream at the beginning
>>  of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>> """
>>=20
>> Proposal:
>>=20
>> """
>>  In the interest of robustness, servers SHOULD ignore at least one
>>  empty line received where a Request-Line is expected.  In other
>>  words, if the server is reading the protocol stream at the beginning
>>  of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>>=20
>>  Likewise, clients SHOULD ignore at least one empty line received
>>  where a Status-Line is expected.=20
>>=20
>>  Note that this relaxation does not apply to other characters; =
ignoring
>>  arbitrary non-whitespace characters before a message enables
>>  cross-protocol attacks.
>> """
>=20
> No, there is no need nor desire for such a relaxation.  The first rule =
is
> to allow for backwards-compatible behavior with clients that send CRLF =
at
> the end of a request without including it in the request message body =
count.
> This new addition has no corresponding need.  IE is just handling a
> message error, which is entirely dependent on the type of client being =
used.

Yeah. I'm on the fence about this one; on the one hand, it's not a hard =
interop requirement, but on the other, pretty much every client does it, =
AFAICT.


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





From ietf-http-wg-request@listhub.w3.org  Tue Feb  7 23:09:05 2012
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 3710D21F85F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 23:09:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.806
X-Spam-Level: 
X-Spam-Status: No, score=-9.806 tagged_above=-999 required=5 tests=[AWL=0.793, 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 jjEOx8IsIGSs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Feb 2012 23:09:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0226C21F85C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Feb 2012 23:09:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rv1cy-0002Kd-8B for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 07:07:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Rv1ce-0002GW-Ph for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 07:07:20 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Rv1ba-0007BP-Ci for ietf-http-wg@w3.org; Wed, 08 Feb 2012 07:06:47 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1873ruL000779; Wed, 8 Feb 2012 08:03:53 +0100
Date: Wed, 8 Feb 2012 08:03:53 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Eric Lawrence <ericlaw@exchange.microsoft.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, httpbis Group <ietf-http-wg@w3.org>
Message-ID: <20120208070353.GC31149@1wt.eu>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Rv1ba-0007BP-Ci 0969d56b4f0744b6a8b6b19660a6d159
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/20120208070353.GC31149@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12391
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>
Resent-Message-Id: <E1Rv1cy-0002Kd-8B@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 07:07:40 +0000

On Wed, Feb 08, 2012 at 12:25:34PM +1100, Mark Nottingham wrote:
> 
> On 08/02/2012, at 12:22 PM, Roy T. Fielding wrote:
> 
> > On Feb 7, 2012, at 4:53 PM, Mark Nottingham wrote:
> > 
> >> Current text:
> >> """
> >>  In the interest of robustness, servers SHOULD ignore at least one
> >>  empty line received where a Request-Line is expected.  In other
> >>  words, if the server is reading the protocol stream at the beginning
> >>  of a message and receives a CRLF first, it SHOULD ignore the CRLF.
> >> """
> >> 
> >> Proposal:
> >> 
> >> """
> >>  In the interest of robustness, servers SHOULD ignore at least one
> >>  empty line received where a Request-Line is expected.  In other
> >>  words, if the server is reading the protocol stream at the beginning
> >>  of a message and receives a CRLF first, it SHOULD ignore the CRLF.
> >> 
> >>  Likewise, clients SHOULD ignore at least one empty line received
> >>  where a Status-Line is expected. 
> >> 
> >>  Note that this relaxation does not apply to other characters; ignoring
> >>  arbitrary non-whitespace characters before a message enables
> >>  cross-protocol attacks.
> >> """
> > 
> > No, there is no need nor desire for such a relaxation.  The first rule is
> > to allow for backwards-compatible behavior with clients that send CRLF at
> > the end of a request without including it in the request message body count.
> > This new addition has no corresponding need.  IE is just handling a
> > message error, which is entirely dependent on the type of client being used.
> 
> Yeah. I'm on the fence about this one; on the one hand, it's not a hard
> interop requirement, but on the other, pretty much every client does it,
> AFAICT.

And probably that if they do it, it's because some old buggy servers used to
send this CRLF at the end of a response. Eg: a CGI script doing an "echo" after
"cat $file". I don't know how hard it would be to collect statistics on such
bad practices. We'd need to find a commonly deployed client which does not do
it and which confirms there's no issue when not accepting a CRLF in a response.

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 00:26:26 2012
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 A24AB21F86FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 00:26:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.169
X-Spam-Level: 
X-Spam-Status: No, score=-8.169 tagged_above=-999 required=5 tests=[AWL=2.430, 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 Wbo+TJd-0lL6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 00:26:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B515921F86F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 00:26:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rv2q2-0005GS-EG for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 08:25:14 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rv2pq-0005ES-3x for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 08:25:02 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rv2om-0005Wj-6o for ietf-http-wg@w3.org; Wed, 08 Feb 2012 08:24:26 +0000
Received: (qmail invoked by alias); 08 Feb 2012 08:21:44 -0000
Received: from p3EE27AFA.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.122.250] by mail.gmx.net (mp010) with SMTP; 08 Feb 2012 09:21:44 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19od9MLVyNoO/tME4KNAIvXggKdhpeE71bSxIfuYS ibRr9jsMFKEBzB
Message-ID: <4F323094.8060605@gmx.de>
Date: Wed, 08 Feb 2012 09:21:40 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <4F313992.5080702@gmx.de>
In-Reply-To: <4F313992.5080702@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rv2om-0005Wj-6o 97568072b54af1229854941142588df1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #342 WWW-Authenticate ABNF slightly ambiguous
Archived-At: <http://www.w3.org/mid/4F323094.8060605@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12392
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>
Resent-Message-Id: <E1Rv2q2-0005GS-EG@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 08:25:14 +0000

On 2012-02-07 15:47, Julian Reschke wrote:
> ...

Hearing no objections -> 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1533>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 00:33:59 2012
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 003FF21F86EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 00:33:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.199
X-Spam-Level: 
X-Spam-Status: No, score=-8.199 tagged_above=-999 required=5 tests=[AWL=2.400, 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 S2xVel+BiaDV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 00:33:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7376721F86DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 00:33:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rv2yC-0001H9-AE for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 08:33:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rv2y0-0001GI-E4 for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 08:33:28 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rv2wi-0003co-Jo for ietf-http-wg@w3.org; Wed, 08 Feb 2012 08:32:54 +0000
Received: (qmail invoked by alias); 08 Feb 2012 08:29:52 -0000
Received: from p3EE27AFA.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.122.250] by mail.gmx.net (mp035) with SMTP; 08 Feb 2012 09:29:52 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18XTyssX9wXK7qA2x+kotUQ/8eJR+ZRldA21wKV8z Jlk96f3TGQUGIU
Message-ID: <4F32327C.4060401@gmx.de>
Date: Wed, 08 Feb 2012 09:29:48 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: Adam Barth <w3c@adambarth.com>, Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F31866D.4050709@gmx.de> <CAJE5ia-iZN6j2R0BzcJ+HEj8eXXEvo+N0r45TzPN26WrShidTg@mail.gmail.com> <CABkgnnUiBdFzOOkYJz78WtdVPv-ipGMq1O-OsG-gbTptAzwaDA@mail.gmail.com>
In-Reply-To: <CABkgnnUiBdFzOOkYJz78WtdVPv-ipGMq1O-OsG-gbTptAzwaDA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rv2wi-0003co-Jo 266b089b1de0012b7729ab3df7d797d9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/4F32327C.4060401@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12393
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>
Resent-Message-Id: <E1Rv2yC-0001H9-AE@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 08:33:40 +0000

On 2012-02-07 22:06, Martin Thomson wrote:
> On 7 February 2012 12:51, Adam Barth<w3c@adambarth.com>  wrote:
>>> In the 3xx Introduction, say:
>>>
>>>    Note that for methods not known to be "safe", as defined in
>>>    Section 6.1.1, automatic redirection needs to done with care, since
>>>    the redirect might change the conditions under which the request was
>>>    issued.
>
> Good.

Thanks for all the feedback! Applied with 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1534>.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 00:53:58 2012
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 A311321F86FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 00:53:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.228
X-Spam-Level: 
X-Spam-Status: No, score=-8.228 tagged_above=-999 required=5 tests=[AWL=2.371, 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 KLpTmTgErHOx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 00:53:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E714F21F86F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 00:53:57 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rv3HP-0008Al-T9 for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 08:53:31 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rv3HD-00089X-Mq for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 08:53:19 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rv3G9-0004do-Bd for ietf-http-wg@w3.org; Wed, 08 Feb 2012 08:52:43 +0000
Received: (qmail invoked by alias); 08 Feb 2012 08:49:56 -0000
Received: from p3EE27AFA.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.122.250] by mail.gmx.net (mp029) with SMTP; 08 Feb 2012 09:49:56 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19zSr42o19zet8tKoAPhSXMAF2rK+yLoXPDeaNj9x b6TwzUVM4Z2MkV
Message-ID: <4F323731.2070706@gmx.de>
Date: Wed, 08 Feb 2012 09:49:53 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net> <4F318905.3000302@gmx.de> <39A8D9EE-6676-46CA-9B56-252A5321C671@mnot.net>
In-Reply-To: <39A8D9EE-6676-46CA-9B56-252A5321C671@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rv3G9-0004do-Bd 9ad223328c068a5ddec216d0277fbabc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #343: chunk-extensions
Archived-At: <http://www.w3.org/mid/4F323731.2070706@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12394
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>
Resent-Message-Id: <E1Rv3HP-0008Al-T9@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 08:53:31 +0000

On 2012-02-07 21:46, Mark Nottingham wrote:
>
> On 08/02/2012, at 7:26 AM, Julian Reschke wrote:
>
>> On 2012-02-07 20:46, Mark Nottingham wrote:
>>> Now<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/343>.
>>>
>>>
>>> On 07/02/2012, at 12:03 PM, Mark Nottingham wrote:
>>>
>>>> Right now, this is all we say about chunk-extensions (beyond the BNF, etc.):
>>>>
>>>>>    All HTTP/1.1 applications MUST be able to receive and decode the
>>>>>    "chunked" transfer-coding and MUST ignore chunk-ext extensions they
>>>>>    do not understand.
>>>>
>>>> Since this is an extensibility point, we should give guidance on how it should be used.
>>>>
>>>> I can't really see establishing a chunk-extension registry; they don't have any semantic, and AFAIK haven't really been used in anger.
>>>>
>>>> What do people think about adding advice along these lines:
>>>>
>>>> """
>>>> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be sent and definition of new chunk-extensions is discouraged.
>>>> """
>>>>
>>>> ?
>>
>> Works for me.
>>
>> A future generation of HTTP spec authors can un-deprecate when needed :-)
>
>
> $DIETY have mercy on their souls.
> ...

:-)

Proposed change: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/343/343.diff>

Best regard, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 03:04:16 2012
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 85B0C21F86D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 03:04:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.256
X-Spam-Level: 
X-Spam-Status: No, score=-8.256 tagged_above=-999 required=5 tests=[AWL=2.343, 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 wtwqCmOB7eAT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 03:04:15 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 91A3321F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 03:04:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rv5Iq-0007CK-Rb for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 11:03:08 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rv5Ia-00073P-RJ for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 11:02:52 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rv5HW-00045z-Eh for ietf-http-wg@w3.org; Wed, 08 Feb 2012 11:02:16 +0000
Received: (qmail invoked by alias); 08 Feb 2012 10:59:34 -0000
Received: from p3EE27AFA.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.122.250] by mail.gmx.net (mp032) with SMTP; 08 Feb 2012 11:59:34 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+ypm9o7dKyZpKZ+86HPMw4qZb/HFz9xy8eg2HMJ/ 9fAUPSvmTk899n
Message-ID: <4F325590.5020507@gmx.de>
Date: Wed, 08 Feb 2012 11:59:28 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <20120208104550.28767.64766.idtracker@ietfa.amsl.com>
In-Reply-To: <20120208104550.28767.64766.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20120208104550.28767.64766.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, NO_DNS_FOR_FROM=0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rv5HW-00045z-Eh d5a732ec7438711049aceace364a504f
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: I-D Action: draft-reschke-http-status-308-04.txt
Archived-At: <http://www.w3.org/mid/4F325590.5020507@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12395
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>
Resent-Message-Id: <E1Rv5Iq-0007CK-Rb@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 11:03:08 +0000

Hi there,

FYI: this version addresses an issue (*) raised by Mark: the spec 
contained a copy of the UA requirements for redirects that we were 
discussing in HTTPbis issue #238.

The change I made was to remove the paragraph; whatever HTTPbis has to 
say about this needs to be in the introduction for the 3xx codes, and 
will apply automatically to 308 then.

Best regards, Julian

(*) 
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-04.html#rfc.issue.uaconfirm>

PS: Issues list:
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-issues.html>, 

latest edits
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-latest.html>

-------- Original Message --------
Subject: I-D Action: draft-reschke-http-status-308-04.txt
Date: Wed, 08 Feb 2012 02:45:50 -0800
From: internet-drafts@ietf.org
Reply-To: internet-drafts@ietf.org
To: i-d-announce@ietf.org


A New Internet-Draft is available from the on-line Internet-Drafts 
directories.

	Title           : The Hypertext Transfer Protocol (HTTP) Status Code 
308 (Permanent Redirect)
	Author(s)       : Julian F. Reschke
	Filename        : draft-reschke-http-status-308-04.txt
	Pages           : 7
	Date            : 2012-02-08

    This document specifies the additional HyperText Transfer Protocol
    (HTTP) Status Code 308 (Permanent Redirect).


A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-reschke-http-status-308-04.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-reschke-http-status-308-04.txt

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt



From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 07:59:37 2012
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 611D521F85D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 07:59:37 -0800 (PST)
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=[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 Ue1fmjjMH3xm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 07:59:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C349821F85B9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 07:59:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rv9uc-0006rF-0q for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 15:58:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1Rv9uQ-0006qH-99 for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 15:58:14 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Rv9tS-0005CN-0p for ietf-http-wg@w3.org; Wed, 08 Feb 2012 15:57:38 +0000
Received: by wibhm2 with SMTP id hm2so577873wib.2 for <ietf-http-wg@w3.org>; Wed, 08 Feb 2012 07:54:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=d+3LcPil1K4PoheNAEeqaW79srvodhynunAX3g/vzBQ=; b=sWO+XsoYQBNKKTEJ74MjcJB9JXyFsVxdOSBzlzbhOR2DNPOX2WrdUq3YayWCmnf2x+ rwELkH5ZYSmab8x/KhOWj5zTRl6iz2SzHQxslBP99MB2xsEEuNDLEu/DPNb/yHvDDnQt WfgYiuTGCwk/DuXMDZNmZ0s9aM+Pb+kEgcGQI=
MIME-Version: 1.0
Received: by 10.180.109.198 with SMTP id hu6mr27464231wib.16.1328716448272; Wed, 08 Feb 2012 07:54:08 -0800 (PST)
Received: by 10.223.86.8 with HTTP; Wed, 8 Feb 2012 07:54:08 -0800 (PST)
In-Reply-To: <4a61319e45bc884f838b6251aa77ef54@treenet.co.nz>
References: <CABP7RbeCuXbrp+w0wX1F-YyOFjKn7NDif2Ye+EaymVi3Nv7-qQ@mail.gmail.com> <FF3263CC845E37A2C52BA166@vp0101wa-dhcp96.apple.com> <4a61319e45bc884f838b6251aa77ef54@treenet.co.nz>
Date: Wed, 8 Feb 2012 07:54:08 -0800
Message-ID: <CABP7RbduOzaRbUAEw3rWcb_NE6k9fUGa2bW1CSE0i+A3pnmTRw@mail.gmail.com>
From: James Snell <jasnell@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.171; envelope-from=jasnell@gmail.com; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIM_INVALID=0.01
X-W3C-Scan-Sig: maggie.w3.org 1Rv9tS-0005CN-0p e00238b3410af0e4212db95136bb7763
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Informal Last Call for HTTP Preference Header
Archived-At: <http://www.w3.org/mid/CABP7RbduOzaRbUAEw3rWcb_NE6k9fUGa2bW1CSE0i+A3pnmTRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12396
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>
Resent-Message-Id: <E1Rv9uc-0006rF-0q@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 15:58:26 +0000

Yes, I can add that into the example.

On Tue, Jan 31, 2012 at 5:39 PM, Amos Jeffries <squid3@treenet.co.nz> wrote=
:
[snip]
>>
>> Can you clarify the meaning of an ETag header returned in the
>> response to a PUT with a Prefer:return-representation header. Would
>> that ETag refer to the resource whose representation is being
>> returned?
>
>
> If it does not something is badly broken. HTTPbis part 4 section 2.3:
> "
> 2.3. ETag
>
> =A0 The ETag header field provides the current entity-tag for the
> =A0 selected representation.
>
> "
>
>> If so, could we please include ETag in the example. If not,
>> then we really need a way to get the actual ETag for the returned
>> representation - otherwise Prefer:return-representation is not that
>> useful.
>
>
> +1.
>
> AYJ
>


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 08:23:09 2012
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 4DB2121F85FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 08:23:09 -0800 (PST)
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=[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 uZ47DtgrsxaL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 08:23:08 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 682CE21F85B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 08:23:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvAI0-0008ED-7B for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 16:22:36 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1RvAHk-00088i-6z for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 16:22:20 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1RvAGZ-0004DF-Et for ietf-http-wg@w3.org; Wed, 08 Feb 2012 16:21:44 +0000
Received: by werb14 with SMTP id b14so593596wer.2 for <ietf-http-wg@w3.org>; Wed, 08 Feb 2012 08:18:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=AMUauQAr78X3Ifhn+crnTZhjRCDlOZa4v97fHYVNqlo=; b=X87NPxc+9d0rzOwlKYHwVBmq6qofSV5ZnDDnSLZP+iber9jfSYjYjCQY9Cm/r2AbcZ lYzuILSLkWAqcVd0L6g3S5iFvtU5WeM/NfG+2epHHOU8tEdyhD2t6mVVXyvYZI4nK20p gRpsKJzF6dAaheknKayw7hrGPcEXeZLm26NUc=
MIME-Version: 1.0
Received: by 10.180.89.67 with SMTP id bm3mr42121440wib.13.1328717886389; Wed, 08 Feb 2012 08:18:06 -0800 (PST)
Received: by 10.223.86.8 with HTTP; Wed, 8 Feb 2012 08:18:06 -0800 (PST)
In-Reply-To: <4F2EB5CE.3080300@gmx.de>
References: <CABP7RbeCuXbrp+w0wX1F-YyOFjKn7NDif2Ye+EaymVi3Nv7-qQ@mail.gmail.com> <4F2EB5CE.3080300@gmx.de>
Date: Wed, 8 Feb 2012 08:18:06 -0800
Message-ID: <CABP7Rbcs0UAeth4XWoLM2R9pBOPGceCJ+8oxTLoSpCM59VpWHQ@mail.gmail.com>
From: James Snell <jasnell@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.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, FREEMAIL_FROM=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RvAGZ-0004DF-Et c20626e566f28cdd44409a070f54859a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Informal Last Call for HTTP Preference Header
Archived-At: <http://www.w3.org/mid/CABP7Rbcs0UAeth4XWoLM2R9pBOPGceCJ+8oxTLoSpCM59VpWHQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12397
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>
Resent-Message-Id: <E1RvAI0-0008ED-7B@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 16:22:36 +0000

Thank you for the additional feedback. I've incorporated the suggested
changes. If you have some specific ideas for how to improve the
registry considerations, definitely please let me know as well.

On Sun, Feb 5, 2012 at 9:01 AM, Julian Reschke <julian.reschke@gmx.de> wrot=
e:
> On 2012-01-31 22:28, James Snell wrote:
>>
>> I just posted an update for the HTTP Prefer Header altering the
>> intended status from "Informational" to "Standards Track". No
>> additional changes were made. As I have not received any further
>> technical input on the specification, I am issuing an *Informal* Last
>> Call for comments before I request that it be kicked up the chain for
>> review.
>>
>> Mark Nottingham has agreed to serve as the document shepherd for
>> helping to move it forward.
>>
>> Current Draft: http://www.ietf.org/id/draft-snell-http-prefer-11.txt
>>
>> - James
>
>
> I think we're almost there. Some notes:
>
> s/2. The Prefer Request Header/2. The Prefer Request Header Field/
>
>
>
> =A0Prefer =A0 =A0 =3D "Prefer" ":" 1#preference
> =A0preference =3D token [ BWS "=3D" BWS value ]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *( OWS ";" [ OWS parameter ] )
> =A0parameter =A0=3D token [ BWS "=3D" BWS value ]
> =A0value =A0 =A0 =A0=3D token / quoted-string
>
> Could use <word> instead of value
> (<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest=
.html#rfc.section.3.2.4>)
>
>
>
> s/Registry of Preferences (Section 9.1))/Registry of Preferences (Section
> 9.1)/
>
>
>
> s/In various situations, A proxy may/In various situations, a proxy may/
>
> Also: is this MAY? If not say "can". Same in other places.
>
>
>
> 2.2 Examples: end the descriptions with a colon (":").
>
> If "strict" and "lenient" are described as a mutually exclusive pair,
> shouldn't this also be the case for return-minimal vs return-representati=
on?
>
>
>
> /This specification establishes an IANA registry of such relation types s=
ee
> Section 9.1./This specification establishes an IANA registry of such
> relation types (see Section 9.1)./
>
>
>
> 9.1:
>
> "Application Data: [optional]" -- copied from RFC 5988 (?) but doesn't ma=
ke
> sense here...
>
>
>
> The httpbis references need an update.
>
>
> Finally, I notice that most registry considerations are cloned from RFC
> 5988. I'm not totally sure that this is a good idea; Mark has been
> discussing this in a different context for some time now, so I guess he'l=
l
> have something to say :-)
>
> Best regards, Julian
>


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 10:26:20 2012
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 202BD21E8020 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 10:26:20 -0800 (PST)
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=[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 2m+9e5L-qrK5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 10:26:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2867421E8010 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 10:26:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvCCq-0001fW-Tw for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 18:25:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1RvCCa-0001eE-9b for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 18:25:08 +0000
Received: from mail-ww0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1RvCBS-00049p-6Y for ietf-http-wg@w3.org; Wed, 08 Feb 2012 18:24:32 +0000
Received: by wgbdt12 with SMTP id dt12so712096wgb.26 for <ietf-http-wg@w3.org>; Wed, 08 Feb 2012 10:20:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=tjlypaHjIcL/Z4l4RP7WpOhuMQYNWM9JdO6xqRdidJw=; b=CUxQ/Bcx4VaB9QaMN0rBOl8y77HpWJRwrdqvs+l0NsEso3BkC0DnnDrb1B12TswVM0 lXD9Vz5MCWimRw2Iqz7AhyRHYRkPXHzPScEl92m2uYPlp+SgQl+Cp+XRO+5brA/X5p8v +/+KYOrPSQst+AX55Dq5ZUc7UJ0MNL6gRSm+s=
MIME-Version: 1.0
Received: by 10.216.133.213 with SMTP id q63mr7036560wei.49.1328725258723; Wed, 08 Feb 2012 10:20:58 -0800 (PST)
Received: by 10.223.86.8 with HTTP; Wed, 8 Feb 2012 10:20:58 -0800 (PST)
In-Reply-To: <CABP7Rbcs0UAeth4XWoLM2R9pBOPGceCJ+8oxTLoSpCM59VpWHQ@mail.gmail.com>
References: <CABP7RbeCuXbrp+w0wX1F-YyOFjKn7NDif2Ye+EaymVi3Nv7-qQ@mail.gmail.com> <4F2EB5CE.3080300@gmx.de> <CABP7Rbcs0UAeth4XWoLM2R9pBOPGceCJ+8oxTLoSpCM59VpWHQ@mail.gmail.com>
Date: Wed, 8 Feb 2012 10:20:58 -0800
Message-ID: <CABP7RbcSD4_oVi8wg=+W7MDbpTGBjd=PnhiXJ2kgaRBfteL64g@mail.gmail.com>
From: James Snell <jasnell@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>, Peter Saint-Andre <stpeter@stpeter.im>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-ww0-f45.google.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, FREEMAIL_FROM=0.001
X-W3C-Scan-Sig: lisa.w3.org 1RvCBS-00049p-6Y b619ad8086cadb0638bb18c60976001b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Informal Last Call for HTTP Preference Header
Archived-At: <http://www.w3.org/mid/CABP7RbcSD4_oVi8wg=+W7MDbpTGBjd=PnhiXJ2kgaRBfteL64g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12398
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>
Resent-Message-Id: <E1RvCCq-0001fW-Tw@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 18:25:24 +0000

Version -12... updated per the feedback provided...

  http://www.ietf.org/id/draft-snell-http-prefer-12.txt

At this point, unless there are specific updates that need to be made
to the registry portion as alluded to by Julian, I'm ready to call
this one complete.

Peter: can we start the process of moving this along and issuing a
formal last call. Mark Nottingham has agreed to act as the Document
Shepherd.

- James


On Wed, Feb 8, 2012 at 8:18 AM, James Snell <jasnell@gmail.com> wrote:
> Thank you for the additional feedback. I've incorporated the suggested
> changes. If you have some specific ideas for how to improve the
> registry considerations, definitely please let me know as well.
>
> On Sun, Feb 5, 2012 at 9:01 AM, Julian Reschke <julian.reschke@gmx.de> wr=
ote:
>> On 2012-01-31 22:28, James Snell wrote:
>>>
>>> I just posted an update for the HTTP Prefer Header altering the
>>> intended status from "Informational" to "Standards Track". No
>>> additional changes were made. As I have not received any further
>>> technical input on the specification, I am issuing an *Informal* Last
>>> Call for comments before I request that it be kicked up the chain for
>>> review.
>>>
>>> Mark Nottingham has agreed to serve as the document shepherd for
>>> helping to move it forward.
>>>
>>> Current Draft: http://www.ietf.org/id/draft-snell-http-prefer-11.txt
>>>
>>> - James
>>
>>
>> I think we're almost there. Some notes:
>>
>> s/2. The Prefer Request Header/2. The Prefer Request Header Field/
>>
>>
>>
>> =A0Prefer =A0 =A0 =3D "Prefer" ":" 1#preference
>> =A0preference =3D token [ BWS "=3D" BWS value ]
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 *( OWS ";" [ OWS parameter ] )
>> =A0parameter =A0=3D token [ BWS "=3D" BWS value ]
>> =A0value =A0 =A0 =A0=3D token / quoted-string
>>
>> Could use <word> instead of value
>> (<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-lates=
t.html#rfc.section.3.2.4>)
>>
>>
>>
>> s/Registry of Preferences (Section 9.1))/Registry of Preferences (Sectio=
n
>> 9.1)/
>>
>>
>>
>> s/In various situations, A proxy may/In various situations, a proxy may/
>>
>> Also: is this MAY? If not say "can". Same in other places.
>>
>>
>>
>> 2.2 Examples: end the descriptions with a colon (":").
>>
>> If "strict" and "lenient" are described as a mutually exclusive pair,
>> shouldn't this also be the case for return-minimal vs return-representat=
ion?
>>
>>
>>
>> /This specification establishes an IANA registry of such relation types =
see
>> Section 9.1./This specification establishes an IANA registry of such
>> relation types (see Section 9.1)./
>>
>>
>>
>> 9.1:
>>
>> "Application Data: [optional]" -- copied from RFC 5988 (?) but doesn't m=
ake
>> sense here...
>>
>>
>>
>> The httpbis references need an update.
>>
>>
>> Finally, I notice that most registry considerations are cloned from RFC
>> 5988. I'm not totally sure that this is a good idea; Mark has been
>> discussing this in a different context for some time now, so I guess he'=
ll
>> have something to say :-)
>>
>> Best regards, Julian
>>


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 15:27:43 2012
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 B68C211E80AB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 15:27:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.119
X-Spam-Level: 
X-Spam-Status: No, score=-9.119 tagged_above=-999 required=5 tests=[AWL=1.480, 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 vby8zMNKnGoJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 15:27:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3A50E21F84DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 15:27:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvGu1-000110-CW for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Feb 2012 23:26:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RvGtj-0000zo-W2 for ietf-http-wg@listhub.w3.org; Wed, 08 Feb 2012 23:26:00 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RvGte-0004w3-Bb for ietf-http-wg@w3.org; Wed, 08 Feb 2012 23:25:59 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3E4C6509EB for <ietf-http-wg@w3.org>; Wed,  8 Feb 2012 18:25:32 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 9 Feb 2012 10:25:30 +1100
Message-Id: <0DB3D898-1A75-4EA4-880A-9B711F5B5DA7@mnot.net>
To: httpbis Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RvGte-0004w3-Bb ca774823563050d5f5b223c421eaa4e1
X-Original-To: ietf-http-wg@w3.org
Subject: Issues addressed in the -18 drafts
Archived-At: <http://www.w3.org/mid/0DB3D898-1A75-4EA4-880A-9B711F5B5DA7@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12399
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>
Resent-Message-Id: <E1RvGu1-000110-CW@frink.w3.org>
Resent-Date: Wed, 08 Feb 2012 23:26:17 +0000

Please have a look; barring objections, I'll close the issues listed =
below.=20

Issues are linked from =
<http://trac.tools.ietf.org/wg/httpbis/trac/report/15>.

* p1-messaging
#158	Keep-Alive and Proxy-Connection headers
#300	Define non-final responses
#324	Intermediary rewriting of queries

* p2-semantics
#185	Location header payload handling
#255	Clarify status code for rate limiting
#312	Should there be a permanent variant of 307
#325	When are Location's semantics triggered?

* p4-conditional
#306	Does etag value really use quoted-string

* p6-cache
#212	Refining age for 1.1 proxy chains
#274	Warn-code registry
#293	Interaction of request and response Cache-Control

* p7-auth
#314	Allow unquoted realm parameters
#321	Repeating auth-params


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





From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 20:36:28 2012
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 A158D21E8010 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 20:36:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.741
X-Spam-Level: 
X-Spam-Status: No, score=-9.741 tagged_above=-999 required=5 tests=[AWL=0.858, 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 qd2NkgREG5Jc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 20:36:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E375E21F8471 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 20:36:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvLia-0001l7-Gs for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 04:34:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RvLiI-0001gz-L4 for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 04:34:30 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RvLiC-00083U-OR for ietf-http-wg@w3.org; Thu, 09 Feb 2012 04:34:29 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 73AC2E725C for <ietf-http-wg@w3.org>; Thu,  9 Feb 2012 17:34:00 +1300 (NZDT)
Message-ID: <4F334CB5.7070704@treenet.co.nz>
Date: Thu, 09 Feb 2012 17:33:57 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu>
In-Reply-To: <20120208070353.GC31149@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RvLiC-00083U-OR e02f7b137af69b34b97bace1e474a572
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/4F334CB5.7070704@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12400
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>
Resent-Message-Id: <E1RvLia-0001l7-Gs@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 04:34:48 +0000

On 8/02/2012 8:03 p.m., Willy Tarreau wrote:
> On Wed, Feb 08, 2012 at 12:25:34PM +1100, Mark Nottingham wrote:
>> On 08/02/2012, at 12:22 PM, Roy T. Fielding wrote:
>>
>>> On Feb 7, 2012, at 4:53 PM, Mark Nottingham wrote:
>>>
>>>> Current text:
>>>> """
>>>>   In the interest of robustness, servers SHOULD ignore at least one
>>>>   empty line received where a Request-Line is expected.  In other
>>>>   words, if the server is reading the protocol stream at the beginning
>>>>   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>>>> """
>>>>
>>>> Proposal:
>>>>
>>>> """
>>>>   In the interest of robustness, servers SHOULD ignore at least one
>>>>   empty line received where a Request-Line is expected.  In other
>>>>   words, if the server is reading the protocol stream at the beginning
>>>>   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>>>>
>>>>   Likewise, clients SHOULD ignore at least one empty line received
>>>>   where a Status-Line is expected.
>>>>
>>>>   Note that this relaxation does not apply to other characters; ignoring
>>>>   arbitrary non-whitespace characters before a message enables
>>>>   cross-protocol attacks.
>>>> """
>>> No, there is no need nor desire for such a relaxation.  The first rule is
>>> to allow for backwards-compatible behavior with clients that send CRLF at
>>> the end of a request without including it in the request message body count.
>>> This new addition has no corresponding need.  IE is just handling a
>>> message error, which is entirely dependent on the type of client being used.
>> Yeah. I'm on the fence about this one; on the one hand, it's not a hard
>> interop requirement, but on the other, pretty much every client does it,
>> AFAICT.
> And probably that if they do it, it's because some old buggy servers used to
> send this CRLF at the end of a response. Eg: a CGI script doing an "echo" after
> "cat $file". I don't know how hard it would be to collect statistics on such
> bad practices. We'd need to find a commonly deployed client which does not do
> it and which confirms there's no issue when not accepting a CRLF in a response.
>
> Willy
>
>

Willy, the rest of the thread is about *request* not response. Squid has 
not accepted response whitespace prefixes in a very long time and bug 
reports about that are very rare.

Squid does skip whitespace at the beginning of the request and in my 
recent experience it seems to be an active problem with scripts and 
certain poular PDF readers.

AYJ


From ietf-http-wg-request@listhub.w3.org  Wed Feb  8 23:03:39 2012
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 BC47621F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 23:03:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.819
X-Spam-Level: 
X-Spam-Status: No, score=-9.819 tagged_above=-999 required=5 tests=[AWL=0.780, 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 2cB7cyxbhytP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Feb 2012 23:03:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D035421F84FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Feb 2012 23:03:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvO1c-00027V-AF for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 07:02:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RvO1K-00026I-KK for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 07:02:18 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RvO1D-0000WR-F3 for ietf-http-wg@w3.org; Thu, 09 Feb 2012 07:02:16 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1971PMS008664; Thu, 9 Feb 2012 08:01:25 +0100
Date: Thu, 9 Feb 2012 08:01:25 +0100
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120209070125.GD6147@1wt.eu>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F334CB5.7070704@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RvO1D-0000WR-F3 374591893563ebd4df3f7362e08cd7d4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/20120209070125.GD6147@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12401
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>
Resent-Message-Id: <E1RvO1c-00027V-AF@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 07:02:36 +0000

Hi Amos,

On Thu, Feb 09, 2012 at 05:33:57PM +1300, Amos Jeffries wrote:
> Willy, the rest of the thread is about *request* not response.

No, look at the subject :-) The initial text covered only requests
and Mark asked if we should cover responses too.

> Squid has 
> not accepted response whitespace prefixes in a very long time and bug 
> reports about that are very rare.

Excellent ! In my opinion, Squid certainly qualifies as a reference for
something widely used. So if you don't have the issue, I think it means
the issue does not really exist, so we don't need to skip any CRLF before
a response.

> Squid does skip whitespace at the beginning of the request and in my 
> recent experience it seems to be an active problem with scripts and 
> certain poular PDF readers.

Same here. I've recently received a trace of a request emitted by a browser
announcing webkit in its UA, I believe it was Safari, where a POST request was
sent, then a few tens of milliseconds later, a CRLF was sent in a lone packet
while it was not part of the message-body. So I can confirm this is observed
from time to time. I'll see if I can find the capture so that we get the exact
UA, maybe it was old and has been fixed since.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 04:50:22 2012
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 C2F2621F8703 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 04:50:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.764
X-Spam-Level: 
X-Spam-Status: No, score=-9.764 tagged_above=-999 required=5 tests=[AWL=0.835, 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 vwPDxQMb-cql for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 04:50:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3C35E21F86F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 04:50:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvTQ6-0004Er-Ht for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 12:48:14 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RvTPo-0004BJ-OF for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 12:47:56 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RvTPj-0004yg-Lb for ietf-http-wg@w3.org; Thu, 09 Feb 2012 12:47:56 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id EE442E725C; Fri, 10 Feb 2012 01:47:26 +1300 (NZDT)
Message-ID: <4F33C05B.7090100@treenet.co.nz>
Date: Fri, 10 Feb 2012 01:47:23 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: ietf-http-wg@w3.org
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz> <20120209070125.GD6147@1wt.eu>
In-Reply-To: <20120209070125.GD6147@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RvTPj-0004yg-Lb 6d6df62f8536d6b2a1591c6f06634b1d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/4F33C05B.7090100@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12402
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>
Resent-Message-Id: <E1RvTQ6-0004Er-Ht@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 12:48:14 +0000

On 9/02/2012 8:01 p.m., Willy Tarreau wrote:
> Hi Amos,
>
> On Thu, Feb 09, 2012 at 05:33:57PM +1300, Amos Jeffries wrote:
>> Willy, the rest of the thread is about *request* not response.
> No, look at the subject :-) The initial text covered only requests
> and Mark asked if we should cover responses too.

:-( /egg

>> Squid has
>> not accepted response whitespace prefixes in a very long time and bug
>> reports about that are very rare.
> Excellent ! In my opinion, Squid certainly qualifies as a reference for
> something widely used. So if you don't have the issue, I think it means
> the issue does not really exist, so we don't need to skip any CRLF before
> a response.

I suppose its also worth noting that the particular response code in 
Squid is also violating the RFC by disallowing SP characters before the 
"HTTP/1." string. With same lack of problems. It would be nice to drop 
that requirement on the response line out of the spec if it is still there.

>
>> Squid does skip whitespace at the beginning of the request and in my
>> recent experience it seems to be an active problem with scripts and
>> certain poular PDF readers.
> Same here. I've recently received a trace of a request emitted by a browser
> announcing webkit in its UA, I believe it was Safari, where a POST request was
> sent, then a few tens of milliseconds later, a CRLF was sent in a lone packet
> while it was not part of the message-body. So I can confirm this is observed
> from time to time. I'll see if I can find the capture so that we get the exact
> UA, maybe it was old and has been fixed since.

Shockwave Flash has one report here 
http://bugs.squid-cache.org/show_bug.cgi?id=2829. Not sure if that was 
Flash itself or a badly coded app.

I only encountered PDF in help forum discussions, so no idea which is 
was exactly.


AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 04:55:57 2012
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 EEC5721F871B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 04:55:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.831
X-Spam-Level: 
X-Spam-Status: No, score=-9.831 tagged_above=-999 required=5 tests=[AWL=0.768, 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 wRVH7U+pU6dv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 04:55:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7902B21F86EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 04:55:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvTWx-0005hp-1h for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 12:55:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RvTWn-0005gx-Rx for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 12:55:10 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RvTWh-0005Sz-I4 for ietf-http-wg@w3.org; Thu, 09 Feb 2012 12:55:09 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q19CsUAU010469; Thu, 9 Feb 2012 13:54:30 +0100
Date: Thu, 9 Feb 2012 13:54:30 +0100
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120209125430.GA10384@1wt.eu>
References: <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz> <20120209070125.GD6147@1wt.eu> <4F33C05B.7090100@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F33C05B.7090100@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RvTWh-0005Sz-I4 b4066cdd37931dc1546508031f4db159
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/20120209125430.GA10384@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12403
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>
Resent-Message-Id: <E1RvTWx-0005hp-1h@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 12:55:19 +0000

On Fri, Feb 10, 2012 at 01:47:23AM +1300, Amos Jeffries wrote:
> I suppose its also worth noting that the particular response code in 
> Squid is also violating the RFC by disallowing SP characters before the 
> "HTTP/1." string. With same lack of problems. It would be nice to drop 
> that requirement on the response line out of the spec if it is still there.

I have not seen this requirement in 2616. Haproxy doesn't allow this either.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 05:57:25 2012
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 DF1F821F8540 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 05:57:25 -0800 (PST)
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=[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 Rl8shFBW2H-v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 05:57:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6366B21F853B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 05:57:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvUTo-0004fG-Bm for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 13:56:08 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1RvUTf-0004bZ-MA for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 13:55:59 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1RvUTb-0000e8-Aj for ietf-http-wg@w3.org; Thu, 09 Feb 2012 13:55:59 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 69E5B101AF; Thu,  9 Feb 2012 08:55:46 -0500 (EST)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 456DB101AC; Thu,  9 Feb 2012 08:55:42 -0500 (EST)
From: Patrick McManus <pmcmanus@mozilla.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
In-Reply-To: <20120209070125.GD6147@1wt.eu>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz> <20120209070125.GD6147@1wt.eu>
Content-Type: text/plain; charset="UTF-8"
Date: Thu, 09 Feb 2012 08:55:10 -0500
Message-ID: <1328795710.18018.189.camel@ds9>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1RvUTb-0000e8-Aj cd74909600817f7351e3963d8b06e2f9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/1328795710.18018.189.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12404
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>
Resent-Message-Id: <E1RvUTo-0004fG-Bm@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 13:56:08 +0000

I definitely see whitespaces before responses now and again and tolerate
them as best as I can. Messing with that in a bis standardization update
seems to be an over reach. I find it hard to believe a document change
would change any deployed behavior (as it introduces breakage without
upside in a legacy protocol) - so the spec would just be less accurate
which is pretty much the opposite of the bis charter goal.

this embarrassing nit is, however, a good example of why http/2 needs to
be binary framed. Too much energy is expended on the commodity activity
of parsing headers the current way.





From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 06:03:18 2012
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 5AACF21F872F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 06:03:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.843
X-Spam-Level: 
X-Spam-Status: No, score=-9.843 tagged_above=-999 required=5 tests=[AWL=0.756, 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 jcLFyY7f+49q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 06:03:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CAF6521F872D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 06:03:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvUZw-0000rc-9z for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 14:02:28 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RvUZi-0000o7-H9 for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 14:02:14 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RvUZd-0001cS-3E for ietf-http-wg@w3.org; Thu, 09 Feb 2012 14:02:14 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q19E1TNr010754; Thu, 9 Feb 2012 15:01:29 +0100
Date: Thu, 9 Feb 2012 15:01:29 +0100
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120209140129.GB10384@1wt.eu>
References: <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz> <20120209070125.GD6147@1wt.eu> <1328795710.18018.189.camel@ds9>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1328795710.18018.189.camel@ds9>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RvUZd-0001cS-3E 6e79ccf8be5cb01fab85912a4f745230
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/20120209140129.GB10384@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12405
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>
Resent-Message-Id: <E1RvUZw-0000rc-9z@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 14:02:28 +0000

On Thu, Feb 09, 2012 at 08:55:10AM -0500, Patrick McManus wrote:
> I definitely see whitespaces before responses now and again and tolerate
> them as best as I can. Messing with that in a bis standardization update
> seems to be an over reach.

OK, thanks for the feedback.

> I find it hard to believe a document change
> would change any deployed behavior (as it introduces breakage without
> upside in a legacy protocol) - so the spec would just be less accurate
> which is pretty much the opposite of the bis charter goal.

It's not that much a document change since it's already not allowed. Either
we acknowledge that a number of tools don't accept them and don't have any
issue and the text can remain as is, or we acknowledge that some implementers
had to relax the rule so we'd need to clarify this in the spec. Right now
you're saying that you had to implement something that is not covered by the
spec, and *this* is embarrassing. I must say I did this in haproxy without
realizing that the spec only allowed the leading CRLF in the request message.

> this embarrassing nit is, however, a good example of why http/2 needs to
> be binary framed. Too much energy is expended on the commodity activity
> of parsing headers the current way.

While binary framing can improve this, it is also much more complicate to
debug and test by hand. However strict fixed-length elements could be a
good improvement.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 06:54:35 2012
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 ACA5F21F8643 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 06:54:35 -0800 (PST)
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=[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 61nNCgoZOZgO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 06:54:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 371B021F8642 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 06:54:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvVNl-0008G0-So for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 14:53:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1RvVNc-00088f-UD for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 14:53:48 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1RvVNY-0003yG-MS for ietf-http-wg@w3.org; Thu, 09 Feb 2012 14:53:48 +0000
Received: by vcbfo11 with SMTP id fo11so1506997vcb.2 for <ietf-http-wg@w3.org>; Thu, 09 Feb 2012 06:53:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y7Bka9W5V1uAZZWP3UVXxQI3MiqZIYWBAwNnJEJfl6o=; b=c0R0R44pZRUPEKRhfKBEM2sWPYwlK/p1+hHpTWPFkoXYczJDuSC2Hm88gmESxiKJ/d edHdpBUfxdSPxav6FEC7NM/uYwYmeCPiyXubP4YTn4XEAZyxNA88MuTLrsUwiMzpo6VX 4THtaBtOboqOpa6qRrdC8kr38/2YwG0hEiitw=
MIME-Version: 1.0
Received: by 10.220.38.132 with SMTP id b4mr881902vce.72.1328799198902; Thu, 09 Feb 2012 06:53:18 -0800 (PST)
Received: by 10.220.150.193 with HTTP; Thu, 9 Feb 2012 06:53:18 -0800 (PST)
In-Reply-To: <4F334CB5.7070704@treenet.co.nz>
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz>
Date: Thu, 9 Feb 2012 08:53:18 -0600
Message-ID: <CACuKZqGaH109siPNnE59Eb8JnV5-V+AAZjGZqSnb_P=wKGXMEA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1RvVNY-0003yG-MS 0ad0be5538f00a4ca005676e34a4e220
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/CACuKZqGaH109siPNnE59Eb8JnV5-V+AAZjGZqSnb_P=wKGXMEA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12406
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>
Resent-Message-Id: <E1RvVNl-0008G0-So@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 14:53:57 +0000

On Wed, Feb 8, 2012 at 10:33 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> Squid does skip whitespace at the beginning of the request and in my recent
> experience it seems to be an active problem with scripts and certain poular
> PDF readers.

Do you mean arbitrary whitespaces before the request method, not just one CRLF?

Zhong


From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 07:08:44 2012
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 92E2721F86DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 07:08:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.785
X-Spam-Level: 
X-Spam-Status: No, score=-9.785 tagged_above=-999 required=5 tests=[AWL=0.814, 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 VwQk3MjzZpKz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 07:08:44 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 03FC421F85EE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 07:08:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvVb6-0004E8-0X for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Feb 2012 15:07:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RvVar-00048G-6I for ietf-http-wg@listhub.w3.org; Thu, 09 Feb 2012 15:07:29 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RvVak-0003D8-RW for ietf-http-wg@w3.org; Thu, 09 Feb 2012 15:07:28 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 547EFE6D7E; Fri, 10 Feb 2012 04:06:59 +1300 (NZDT)
Message-ID: <4F33E10F.6020407@treenet.co.nz>
Date: Fri, 10 Feb 2012 04:06:55 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: ietf-http-wg@w3.org
References: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net> <tkl117hvqbrjevclnv2mjf0nu4o3aqdfkb@hive.bjoern.hoehrmann.de> <669CA5BF-373A-4AA9-B1D1-BB24AD184D0A@mnot.net> <479CAD406474484E8FA0E39E694732C017C9C334@DF-M14-02.exchange.corp.microsoft.com> <06CD470B-75A8-4152-9F39-F076A50556B5@mnot.net> <5EA88F29-E6CF-472B-A5A1-59AE8CEF6EE5@gbiv.com> <AD07806D-7592-4681-8835-21745F68AD1B@mnot.net> <20120208070353.GC31149@1wt.eu> <4F334CB5.7070704@treenet.co.nz> <CACuKZqGaH109siPNnE59Eb8JnV5-V+AAZjGZqSnb_P=wKGXMEA@mail.gmail.com>
In-Reply-To: <CACuKZqGaH109siPNnE59Eb8JnV5-V+AAZjGZqSnb_P=wKGXMEA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RvVak-0003D8-RW 8fff92935abc651aad7bd4e53fbd8dbb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Whitespace before responses
Archived-At: <http://www.w3.org/mid/4F33E10F.6020407@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12407
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>
Resent-Message-Id: <E1RvVb6-0004E8-0X@frink.w3.org>
Resent-Date: Thu, 09 Feb 2012 15:07:44 +0000

On 10/02/2012 3:53 a.m., Zhong Yu wrote:
> On Wed, Feb 8, 2012 at 10:33 PM, Amos Jeffries<squid3@treenet.co.nz>  wrote:
>> Squid does skip whitespace at the beginning of the request and in my recent
>> experience it seems to be an active problem with scripts and certain poular
>> PDF readers.
> Do you mean arbitrary whitespaces before the request method, not just one CRLF?

series of CRLF before the first line or series of SP before the method. 
That is all right now.

AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 18:23:49 2012
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 8610F11E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 18:23:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.145
X-Spam-Level: 
X-Spam-Status: No, score=-9.145 tagged_above=-999 required=5 tests=[AWL=1.454, 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 EqGHVk41KcoZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 18:23:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6127411E8075 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 18:23:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rvg7e-0003yQ-7k for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 02:22:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rvg7S-0003xT-AS for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 02:21:50 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rvg7P-0001hg-U9 for ietf-http-wg@w3.org; Fri, 10 Feb 2012 02:21:49 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 505D750A64 for <ietf-http-wg@w3.org>; Thu,  9 Feb 2012 21:21:25 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 10 Feb 2012 13:21:23 +1100
Message-Id: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rvg7P-0001hg-U9 6b55696302d80a6ec997c64da7d066fe
X-Original-To: ietf-http-wg@w3.org
Subject: Charter revision
Archived-At: <http://www.w3.org/mid/D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12408
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>
Resent-Message-Id: <E1Rvg7e-0003yQ-7k@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 02:22:02 +0000

Based on the feedback I've seen on-list and discussions with folks about =
it, I've revised the proposal for our new charter; see below. Please =
provide timely feedback; I'd like to get this to the IESG soon.

One we get it in place, I'll put out a call for proposals. I'll also =
publish a review form for people to fill out; it isn't required that =
people use it, but doing so will help me judge consensus and move =
forward.

As mentioned before, I've requested two sessions in Paris; one to =
discuss BIS, and one to discuss this new work. Suitable topics for the =
latter will be discussing the scope of the work, and any proposals that =
may have been made by then.

Finally - although it's great to see such interest in the work, we need =
to focus on the charter now, not specific technology decisions. That =
will come in time, and we still need to focus on the BIS work. So, =
please limit this discussion to the charter for the time being.

Thanks,

------8<---------

Hypertext Transfer Protocol Bis (httpbis)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 Charter
 Last Modified: 2012-01-28

 Current Status: Active Working Group

 Chair(s):
     Mark Nottingham  <mnot@mnot.net>

 Applications Area Director(s):
     Pete Resnick  <presnick@qualcomm.com>
     Peter Saint-Andre  <stpeter@stpeter.im>

 Applications Area Advisor:
     Peter Saint-Andre  <stpeter@stpeter.im>

 Mailing Lists:=20
     General Discussion:ietf-http-wg@w3.org
     To Subscribe:      ietf-http-wg-request@w3.org
         In Body:       subscribe
     Archive:           =
http://lists.w3.org/Archives/Public/ietf-http-wg/

Description of Working Group
----------------------------

This Working Group is charged with maintaining and developing
the "core" specifications for HTTP.=20

The Working Group's specification deliverables are:
* A document (or set of documents) that is suitable to supersede RFC=20
  2616 (HTTP/1.1) and move RFC 2817 to Historic status
* A document cataloguing the security properties of HTTP/1.1
* A document that specifies HTTP/2.0 an improved binding of HTTP's =
semantics
  to the underlying transport.

### HTTP/1.1

HTTP is one of the most successful and widely-used protocols on the=20
Internet today. However, its specification has several editorial issues.=20=

Additionally, after years of implementation and extension, several=20
ambiguities have become evident, impairing interoperability and the=20
ability to easily implement and use HTTP.

The working group will refine RFC2616 to:
* Incorporate errata and updates (e.g., references, IANA registries,=20
  ABNF)
* Fix editorial problems which have led to misunderstandings of the=20
  specification
* Clarify conformance requirements
* Remove known ambiguities where they affect interoperability
* Clarify existing methods of extensibility
* Remove or deprecate those features that are not widely implemented and=20=

  also unduly affect interoperability
* Where necessary, add implementation advice
* Document the security properties of HTTP and its associated mechanisms=20=

  (e.g., Basic and Digest authentication, cookies, TLS) for common=20
  applications

It will also incorporate the generic authentication framework from RFC=20=

2617, without obsoleting or updating that specification's definition of=20=

the Basic and Digest schemes.

Finally, it will incorporate relevant portions of RFC 2817 (in=20
particular, the CONNECT method and advice on the use of Upgrade), so=20
that that specification can be moved to Historic status.

In doing so, it should consider:
* Implementer experience
* Demonstrated use of HTTP
* Impact on existing implementations and deployments

### HTTP/2.0

There is emerging implementation experience and interest in a protocol =
that
retains the semantics of HTTP, without the legacy of HTTP/1.x message =
framing
and syntax, which have been identified as hampering performance and
encouraging misuse of the underlying transport.

As such, there is an opportunity to create a new major =
(non-wire-compatible)
version of HTTP.=20

To do this, the Working Group will solicit candidates for this work from
the community, to be submitted as Internet-Drafts. Expected focus areas =
for
candidates include:

* Significantly improved perceived performance in common use cases
  (e.g., browsers, mobile)
* More efficient use of network resources; in particular, reducing the
  need to use multiple TCP connections
* Ability to be deployed on today's Internet, using IPv4 and IPv6, in =
the
  presence of NATs
* Maintaining HTTP's ease of deployment
* Reflecting modern security requirements and practices

Although proposals are not required to meet all of these goals, it is
expected that the resulting work (if undertaken) will be chartered to =
meet
them (and therefore, selecting one that meets the majority of them as a=20=

starting point is in everyone's interest).

The Working Group will then select a starting point for the new work =
based
upon the following criteria:

* Compatibility with HTTP/1.1 semantics; i.e., it must be possible to=20
  pass through a HTTP/1.1 message with reasonable fidelity
* Broad implementer interest (e.g., from Web browsers, "back-end"=20
  or "web api" uses of HTTP, servers, intermediaries, CDNs, etc.)

Changes to the existing semantics of HTTP are out of scope in order to
preserve the meaning of messages that might cross a 1.1 --> 2.0 --> 1.1
request chain. However, the resulting effort may define new semantics to
further the goals above, along with suitable extensibility mechanisms =
for
defining additional semantics.

If the Working Group forms consensus around a proposal, it is expected =
it will
re-charter to begin work on that document (or set of documents). The =
resulting
work will be known as "HTTP/2.0", unless the Working Group determines =
that
this isn't suitable (e.g., for interoperability).

Although work on this new version will begin in parallel with completion =
of
work on HTTP/1.1, the Working Group will prioritize HTTP/1.1 work until =
it is
complete.

Goals and Milestones
---------------------

   Done        First HTTP/1.1 Revision Internet Draft=20

   Done        First HTTP Security Properties Internet Draft=20

   Feb 2012    Working Group Last Call for HTTP/1.1 Revision=20

   Feb 2012    Working Group Last Call for HTTP Security Properties=20
  =20
   Feb 2012    Call for Proposals for HTTP/2.0=20

   Apr 2012    Submit HTTP/1.1 Revision to IESG for consideration as a=20=

               Proposed Standard=20

   Apr 2012    Submit HTTP Security Properties to IESG for consideration =
as=20
               Informational RFC

   June 2012   Re-charter to work on HTTP/2.0
----->8----------


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





From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 18:42:44 2012
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 4A08321F851A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 18:42:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.927
X-Spam-Level: 
X-Spam-Status: No, score=-9.927 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 WXbO5HGVLO7j for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 18:42:43 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BF13621F8514 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 18:42:43 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvgQw-0006gU-9F for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 02:41:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <robertc@robertcollins.net>) id 1RvgQl-0006ep-R8 for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 02:41:47 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1RvgQj-000280-V0 for ietf-http-wg@w3.org; Fri, 10 Feb 2012 02:41:47 +0000
Received: by damc16 with SMTP id c16so2258614dam.2 for <ietf-http-wg@w3.org>; Thu, 09 Feb 2012 18:41:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.212.130 with SMTP id nk2mr11857736pbc.69.1328841676023; Thu, 09 Feb 2012 18:41:16 -0800 (PST)
Sender: robertc@robertcollins.net
Received: by 10.68.218.133 with HTTP; Thu, 9 Feb 2012 18:41:16 -0800 (PST)
X-Originating-IP: [122.58.129.196]
In-Reply-To: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
References: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
Date: Fri, 10 Feb 2012 15:41:16 +1300
X-Google-Sender-Auth: z--LwkUVjENzGScLVaG97hVDC6w
Message-ID: <CAJ3HoZ0rCO57iRzEKxbPXexQyJCWA+pgi0O6ygfs_J7VU2kqeg@mail.gmail.com>
From: Robert Collins <robertc@squid-cache.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmtcBMT9RygquoOZwcwiK02/NqQ+p7qv3P3j1Kd7Y+dWXDc1D/eXEgluKw3ZnqIdaNLYuow
Received-SPF: none client-ip=209.85.210.43; envelope-from=robertc@robertcollins.net; helo=mail-pz0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1RvgQj-000280-V0 fd87863f31c2e3c51ccf6a4f0f01fd4f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/CAJ3HoZ0rCO57iRzEKxbPXexQyJCWA+pgi0O6ygfs_J7VU2kqeg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12409
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>
Resent-Message-Id: <E1RvgQw-0006gU-9F@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 02:41:58 +0000

On Fri, Feb 10, 2012 at 3:21 PM, Mark Nottingham <mnot@mnot.net> wrote:
> Based on the feedback I've seen on-list and discussions with folks about =
it, I've revised the proposal for our new charter; see below. Please provid=
e timely feedback; I'd like to get this to the IESG soon.
>
> One we get it in place, I'll put out a call for proposals. I'll also publ=
ish a review form for people to fill out; it isn't required that people use=
 it, but doing so will help me judge consensus and move forward.
>
> As mentioned before, I've requested two sessions in Paris; one to discuss=
 BIS, and one to discuss this new work. Suitable topics for the latter will=
 be discussing the scope of the work, and any proposals that may have been =
made by then.
>
> Finally - although it's great to see such interest in the work, we need t=
o focus on the charter now, not specific technology decisions. That will co=
me in time, and we still need to focus on the BIS work. So, please limit th=
is discussion to the charter for the time being.
>
> Thanks,
>
> ------8<---------
>
> Hypertext Transfer Protocol Bis (httpbis)
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> =A0Charter
> =A0Last Modified: 2012-01-28
>
> =A0Current Status: Active Working Group
>
> =A0Chair(s):
...

+1

-Rob


From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 18:43:56 2012
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 1191921E8062 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 18:43:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.479
X-Spam-Level: 
X-Spam-Status: No, score=-6.479 tagged_above=-999 required=5 tests=[AWL=4.120, 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 e996zn7vt2xy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 18:43:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38D9021E803B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 18:43:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvgSe-0006l4-GX for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 02:43:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1RvgSU-0006kC-Cx for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 02:43:34 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1RvgSS-00067D-HY for ietf-http-wg@w3.org; Fri, 10 Feb 2012 02:43:33 +0000
Received: from squire.local (unknown [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 92F224005A; Thu,  9 Feb 2012 19:53:41 -0700 (MST)
Message-ID: <4F34843A.9020605@stpeter.im>
Date: Thu, 09 Feb 2012 19:43:06 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
In-Reply-To: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
X-Enigmail-Version: 1.3.5
OpenPGP: url=https://stpeter.im/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RvgSS-00067D-HY 00ca98238ad3a9e969a360aa0b6ac6b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/4F34843A.9020605@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12410
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>
Resent-Message-Id: <E1RvgSe-0006l4-GX@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 02:43:44 +0000

<hat type='AD'/>

On 2/9/12 7:21 PM, Mark Nottingham wrote:
> Based on the feedback I've seen on-list and discussions with folks about it, I've revised the proposal for our new charter; see below. Please provide timely feedback; I'd like to get this to the IESG soon.

In the interest of time, I have placed this on the agenda for the IESG
telechat next week. Naturally, discussion can continue here as well, but
I wanted to begin the process of engaging with the IESG.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 19:08:59 2012
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 203C621E8067 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 19:08:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.805
X-Spam-Level: 
X-Spam-Status: No, score=-9.805 tagged_above=-999 required=5 tests=[AWL=0.794, 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 C9XdWeDj79Ke for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 19:08:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8E1DD21E803B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 19:08:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvgqS-0001ah-28 for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 03:08:20 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RvgqG-0001YO-9v for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 03:08:08 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RvgqE-0002tS-8C for ietf-http-wg@w3.org; Fri, 10 Feb 2012 03:08:07 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 54756E73A3 for <ietf-http-wg@w3.org>; Fri, 10 Feb 2012 16:07:36 +1300 (NZDT)
Message-ID: <4F3489F3.9000002@treenet.co.nz>
Date: Fri, 10 Feb 2012 16:07:31 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
In-Reply-To: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RvgqE-0002tS-8C 3397b963f57b39f7c84edc9a907aca48
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/4F3489F3.9000002@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12411
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>
Resent-Message-Id: <E1RvgqS-0001ah-28@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 03:08:20 +0000

On 10/02/2012 3:21 p.m., Mark Nottingham wrote:
> Based on the feedback I've seen on-list and discussions with folks about it, I've revised the proposal for our new charter; see below. Please provide timely feedback; I'd like to get this to the IESG soon.
>

+1.

AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Feb  9 22:42:14 2012
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 D53A221F8566 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 22:42:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.854
X-Spam-Level: 
X-Spam-Status: No, score=-9.854 tagged_above=-999 required=5 tests=[AWL=0.745, 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 GMRGHD2MSWFg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Feb 2012 22:42:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B93B21F8564 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Feb 2012 22:42:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rvk99-0005FO-6j for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 06:39:51 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Rvk8r-0004xA-FB for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 06:39:33 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Rvk8N-00018x-5q for ietf-http-wg@w3.org; Fri, 10 Feb 2012 06:39:20 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1A6cax4016156; Fri, 10 Feb 2012 07:38:36 +0100
Date: Fri, 10 Feb 2012 07:38:36 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120210063836.GK6147@1wt.eu>
References: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Rvk8N-00018x-5q d763e7700cb8c9eaf17a67add026c9e2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/20120210063836.GK6147@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12412
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>
Resent-Message-Id: <E1Rvk99-0005FO-6j@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 06:39:51 +0000

On Fri, Feb 10, 2012 at 01:21:23PM +1100, Mark Nottingham wrote:
> Based on the feedback I've seen on-list and discussions with folks about it,
> I've revised the proposal for our new charter; see below. Please provide
> timely feedback; I'd like to get this to the IESG soon.
(...)

+1

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 01:13:03 2012
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 9353221F863F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 01:13:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.581
X-Spam-Level: 
X-Spam-Status: No, score=-10.581 tagged_above=-999 required=5 tests=[AWL=0.018, 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 YwcAMuo4ZirS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 01:13:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C484A21F861A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 01:13:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvmVY-0007dO-Gq for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 09:11:08 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1RvmVL-0007cG-4y for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 09:10:55 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1RvmVI-0006ew-VK for ietf-http-wg@w3.org; Fri, 10 Feb 2012 09:10:54 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 0608A5C36; Fri, 10 Feb 2012 09:10:30 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q1A9AUf4004146; Fri, 10 Feb 2012 09:10:30 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 10 Feb 2012 13:21:23 +1100." <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 10 Feb 2012 09:10:30 +0000
Message-ID: <4145.1328865030@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RvmVI-0006ew-VK 9cfabc92c15d76d5bcf6f580651f1d06
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/4145.1328865030@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12413
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>
Resent-Message-Id: <E1RvmVY-0007dO-Gq@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 09:11:08 +0000

In message <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>, Mark Nottingham wri
tes:

>Based on the feedback I've seen on-list and discussions with folks about 
>it, I've revised the proposal for our new charter; see below. Please 
>provide timely feedback; I'd like to get this to the IESG soon.

Here is a counter-proposal, which takes a different approach:

    1. Define the minimal transport primitives all HTTP/2.0 transport
	protocols SHALL offer.

	Something like:
		Client sends request consisting of:
			Primitive (GET/PUT/POST)
			Content-metadata (headers)
			Content-body (zero or more bytes)
		Server returns response consisting of:
			Response (%03d)
			Content-metadata (headers)
			Content-body (zero or more bytes)

	This in effect turns a HTTP request into a high-level IP
	datagram giving the same fundamental advantage that every
	transport from HTTP-over-stone-tablets and up will work.

    2. Define how to deal with transport "value add"

	By "value-add" I'm thinking of stuff like:
	   Indication of assumed Session-membership
	   Indication of assumed Identity (X-Forward-for)
	   Transparency Guarantee (ie: level of guarantee content is unmolested)
	   Privacy Guarantee (ie: level of guarantee nobody saw the content)
	   Authentification Guarantee (ie: level of guarantee we know who it is)
	   Indicative delivery (ie: chunked encoding + optional final status)
	   Bandwidth/RTT estimate
	   Reverse transactions (server push) (This may need #1 text)
	   etc.

	I would deal with these by:
	1) creating a registry for them,
	2) defining transport primitives to request, indicate and
	   explore their availability end-to-end.  (TELNET's
	   do/dont/will/wont model comes to mind)

    3. Publish "HTTP/2.0 Transport primitives" with the above definitions

    4. Draw a red line through the HTTP/1.1bis documents, to separate
	transport from semantics.

    5. Publish "HTTP/2.0 semantics" With the lefthand side of the red line.
	Possibly only as a document which "blackens out" the transport
	parts of HTTP/1.1bis by cross reference.

    6. Create a HTTP/2.0 transport protocol registry.

    7. Publish "HTTP/2.0 basic transport" which righthand side of the red line.
	This is the HTTP/1.1 style HTTP/2.0 transport, which SHALL be
	very easy to implement for any working HTTP/1.1 code base.
	This doc also defines how one upgrades a HTTP/1.1 TCP connection to
	any TCP based HTTP/2.0 transport protocol from the transport registry.

    6. Publish "HTTP/pre2 vs. HTTP/2.0 interoperability" which defines;

	a) how to move/map HTTP/1.1 content to HTTP/2.0 transports 
	b) how to move/map HTTP/2.0 content to HTTP/1.1 transports 

    7. Open the floodgates to standardizing other transport protocols.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 02:50:59 2012
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 6B86621F86D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 02:50:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.042
X-Spam-Level: 
X-Spam-Status: No, score=-9.042 tagged_above=-999 required=5 tests=[AWL=1.557, 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 DbUgshIsw3lB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 02:50:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3315721F86CA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 02:50:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rvo2i-0004br-He for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 10:49:28 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rvo2Y-0004Zo-0M for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 10:49:18 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rvo2V-0000so-Tq for ietf-http-wg@w3.org; Fri, 10 Feb 2012 10:49:17 +0000
Received: from mnot-air.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7B115509DB; Fri, 10 Feb 2012 05:48:54 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4145.1328865030@critter.freebsd.dk>
Date: Fri, 10 Feb 2012 21:48:59 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8467DC8F-2F8A-4F71-8C70-547716EB9088@mnot.net>
References: <4145.1328865030@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1251.1)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rvo2V-0000so-Tq f8ef0c3126a8884a3d2e4781c4678698
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/8467DC8F-2F8A-4F71-8C70-547716EB9088@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12414
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>
Resent-Message-Id: <E1Rvo2i-0004br-He@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 10:49:28 +0000

PHK,

This is a detailed work plan, not a way to find agreement on an approach =
(which is what many people -- including you -- have said they want).=20

If you have an approach that you think will gain consensus, you're =
welcome to submit it under the new charter.

Regards,


On 10/02/2012, at 8:10 PM, Poul-Henning Kamp wrote:

> In message <D0E5F9D3-9827-4228-B101-39705918132F@mnot.net>, Mark =
Nottingham wri
> tes:
>=20
>> Based on the feedback I've seen on-list and discussions with folks =
about=20
>> it, I've revised the proposal for our new charter; see below. Please=20=

>> provide timely feedback; I'd like to get this to the IESG soon.
>=20
> Here is a counter-proposal, which takes a different approach:
>=20
>    1. Define the minimal transport primitives all HTTP/2.0 transport
> 	protocols SHALL offer.
>=20
> 	Something like:
> 		Client sends request consisting of:
> 			Primitive (GET/PUT/POST)
> 			Content-metadata (headers)
> 			Content-body (zero or more bytes)
> 		Server returns response consisting of:
> 			Response (%03d)
> 			Content-metadata (headers)
> 			Content-body (zero or more bytes)
>=20
> 	This in effect turns a HTTP request into a high-level IP
> 	datagram giving the same fundamental advantage that every
> 	transport from HTTP-over-stone-tablets and up will work.
>=20
>    2. Define how to deal with transport "value add"
>=20
> 	By "value-add" I'm thinking of stuff like:
> 	   Indication of assumed Session-membership
> 	   Indication of assumed Identity (X-Forward-for)
> 	   Transparency Guarantee (ie: level of guarantee content is =
unmolested)
> 	   Privacy Guarantee (ie: level of guarantee nobody saw the =
content)
> 	   Authentification Guarantee (ie: level of guarantee we know =
who it is)
> 	   Indicative delivery (ie: chunked encoding + optional final =
status)
> 	   Bandwidth/RTT estimate
> 	   Reverse transactions (server push) (This may need #1 text)
> 	   etc.
>=20
> 	I would deal with these by:
> 	1) creating a registry for them,
> 	2) defining transport primitives to request, indicate and
> 	   explore their availability end-to-end.  (TELNET's
> 	   do/dont/will/wont model comes to mind)
>=20
>    3. Publish "HTTP/2.0 Transport primitives" with the above =
definitions
>=20
>    4. Draw a red line through the HTTP/1.1bis documents, to separate
> 	transport from semantics.
>=20
>    5. Publish "HTTP/2.0 semantics" With the lefthand side of the red =
line.
> 	Possibly only as a document which "blackens out" the transport
> 	parts of HTTP/1.1bis by cross reference.
>=20
>    6. Create a HTTP/2.0 transport protocol registry.
>=20
>    7. Publish "HTTP/2.0 basic transport" which righthand side of the =
red line.
> 	This is the HTTP/1.1 style HTTP/2.0 transport, which SHALL be
> 	very easy to implement for any working HTTP/1.1 code base.
> 	This doc also defines how one upgrades a HTTP/1.1 TCP connection =
to
> 	any TCP based HTTP/2.0 transport protocol from the transport =
registry.
>=20
>    6. Publish "HTTP/pre2 vs. HTTP/2.0 interoperability" which defines;
>=20
> 	a) how to move/map HTTP/1.1 content to HTTP/2.0 transports=20
> 	b) how to move/map HTTP/2.0 content to HTTP/1.1 transports=20
>=20
>    7. Open the floodgates to standardizing other transport protocols.
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.

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






From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 03:15:52 2012
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 2DD5921F86C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 03:15:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.581
X-Spam-Level: 
X-Spam-Status: No, score=-10.581 tagged_above=-999 required=5 tests=[AWL=0.018, 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 xJN07Pcy+SIk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 03:15:51 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A961D21F86C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 03:15:51 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvoRG-0002lr-Jq for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 11:14:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1RvoR7-0002jC-Ta for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 11:14:41 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1RvoR3-0002Dh-FD for ietf-http-wg@w3.org; Fri, 10 Feb 2012 11:14:41 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 4417E5DCA; Fri, 10 Feb 2012 11:14:16 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q1ABEFSx034453; Fri, 10 Feb 2012 11:14:15 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 10 Feb 2012 21:48:59 +1100." <8467DC8F-2F8A-4F71-8C70-547716EB9088@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 10 Feb 2012 11:14:15 +0000
Message-ID: <34452.1328872455@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RvoR3-0002Dh-FD 056c4546a0c31918b54681cd3d02fdde
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/34452.1328872455@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12415
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>
Resent-Message-Id: <E1RvoRG-0002lr-Jq@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 11:14:50 +0000

In message <8467DC8F-2F8A-4F71-8C70-547716EB9088@mnot.net>, Mark Nottingham wri
tes:

>This is a detailed work plan, not a way to find agreement on an approach 
>(which is what many people -- including you -- have said they want). 

It absolutely is, but I find that it is a much better idea to write
abstract based on concrete, than the other way around.

The reason why I responded with my list is that I did not read your
proposed charter as supporting getting from the A we have to the B
we, or at least I, want.

In particular there was no mention of formalizing the semantics/transport
split that gave me an indication that this was to even be a, and
certainly not *the*, major goal.

To me, your charter sounds like the httpbis WG will graft a single new
transport protocol onto HTTP/1.1bis and call it HTTP/2.0.

If I can read it that way, I leve to your imagination what headline
ComputerWorld will put on it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 03:21:57 2012
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 4ABC421F86B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 03:21:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.391
X-Spam-Level: 
X-Spam-Status: No, score=-8.391 tagged_above=-999 required=5 tests=[AWL=2.208, 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 apjBzBp4fdJU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 03:21:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C33EA21F85CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 03:21:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvoXt-0005ad-39 for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 11:21:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RvoXk-0005Zl-9d for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 11:21:32 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RvoXi-0002UJ-JB for ietf-http-wg@w3.org; Fri, 10 Feb 2012 11:21:31 +0000
Received: (qmail invoked by alias); 10 Feb 2012 11:21:04 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp040) with SMTP; 10 Feb 2012 12:21:04 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/cqGEJ//ncaMERC3RyhwXVTW+e6zWdCpPmFoUL5U 7QwSBEXc1Ti+/N
Message-ID: <4F34FD9C.4030408@gmx.de>
Date: Fri, 10 Feb 2012 12:21:00 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <34452.1328872455@critter.freebsd.dk>
In-Reply-To: <34452.1328872455@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RvoXi-0002UJ-JB 3e1044d23de00545aadef9769dfb745a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/4F34FD9C.4030408@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12416
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>
Resent-Message-Id: <E1RvoXt-0005ad-39@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 11:21:41 +0000

On 2012-02-10 12:14, Poul-Henning Kamp wrote:
> In message<8467DC8F-2F8A-4F71-8C70-547716EB9088@mnot.net>, Mark Nottingham wri
> tes:
>
>> This is a detailed work plan, not a way to find agreement on an approach
>> (which is what many people -- including you -- have said they want).
>
> It absolutely is, but I find that it is a much better idea to write
> abstract based on concrete, than the other way around.
>
> The reason why I responded with my list is that I did not read your
> proposed charter as supporting getting from the A we have to the B
> we, or at least I, want.
>
> In particular there was no mention of formalizing the semantics/transport
> split that gave me an indication that this was to even be a, and
> certainly not *the*, major goal.
> ...

Actually, it is already a goal for HTTPbis; Parts 2..7 should be 
independent of transport.

> To me, your charter sounds like the httpbis WG will graft a single new
> transport protocol onto HTTP/1.1bis and call it HTTP/2.0.
>
> If I can read it that way, I leve to your imagination what headline
> ComputerWorld will put on it.

I would be surprised if they care about technical details like that :-)



From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 03:27:19 2012
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 545B221F871C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 03:27:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.582
X-Spam-Level: 
X-Spam-Status: No, score=-10.582 tagged_above=-999 required=5 tests=[AWL=0.017, 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 PzmYfRD3genA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 03:27:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7981321F871D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 03:27:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rvoch-0005tJ-B1 for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 11:26:39 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1RvocX-0005sR-HJ for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 11:26:29 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1RvocV-0002uU-W8 for ietf-http-wg@w3.org; Fri, 10 Feb 2012 11:26:28 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 75B435DA9; Fri, 10 Feb 2012 11:26:06 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q1ABQ6rc034517; Fri, 10 Feb 2012 11:26:06 GMT (envelope-from phk@phk.freebsd.dk)
To: Julian Reschke <julian.reschke@gmx.de>
cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 10 Feb 2012 12:21:00 +0100." <4F34FD9C.4030408@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 10 Feb 2012 11:26:06 +0000
Message-ID: <34516.1328873166@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RvocV-0002uU-W8 89d17bcc05bc28a9c07af1eff1c5f567
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/34516.1328873166@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12417
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>
Resent-Message-Id: <E1Rvoch-0005tJ-B1@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 11:26:39 +0000

In message <4F34FD9C.4030408@gmx.de>, Julian Reschke writes:
>On 2012-02-10 12:14, Poul-Henning Kamp wrote:

>> In particular there was no mention of formalizing the semantics/transport
>> split that gave me an indication that this was to even be a, and
>> certainly not *the*, major goal.
>> ...
>
>Actually, it is already a goal for HTTPbis; Parts 2..7 should be 
>independent of transport.

Yes, and that is a good and nice first step.  But we need to
define the transport primitives to make that a usable reality.

>I would be surprised if they care about technical details like that :-)

You would be surprised if you had any idea how starved they are for
anything at all to publish a story on with a big headline.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 05:56:03 2012
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 B04D121F873A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 05:55:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.825
X-Spam-Level: 
X-Spam-Status: No, score=-9.825 tagged_above=-999 required=5 tests=[AWL=0.774, 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 qt+y1oObHU2B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 05:55:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A01F21F8594 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 05:54:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rvque-0002Lc-Tu for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 13:53:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RvquQ-0002Ke-Ti for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 13:53:06 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RvquN-0000iB-2v for ietf-http-wg@w3.org; Fri, 10 Feb 2012 13:53:05 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 31515E739F for <ietf-http-wg@w3.org>; Sat, 11 Feb 2012 02:52:39 +1300 (NZDT)
Message-ID: <4F352123.9080909@treenet.co.nz>
Date: Sat, 11 Feb 2012 02:52:35 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <34516.1328873166@critter.freebsd.dk>
In-Reply-To: <34516.1328873166@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RvquN-0000iB-2v 23f28044ae7b6d5a51e4f0229c110d4a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Charter revision
Archived-At: <http://www.w3.org/mid/4F352123.9080909@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12418
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>
Resent-Message-Id: <E1Rvque-0002Lc-Tu@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 13:53:20 +0000

On 11/02/2012 12:26 a.m., Poul-Henning Kamp wrote:
> Julian Reschke writes:
>> On 2012-02-10 12:14, Poul-Henning Kamp wrote:
>>> In particular there was no mention of formalizing the semantics/transport
>>> split that gave me an indication that this was to even be a, and
>>> certainly not *the*, major goal.
>>> ...
>> Actually, it is already a goal for HTTPbis; Parts 2..7 should be
>> independent of transport.
> Yes, and that is a good and nice first step.  But we need to
> define the transport primitives to make that a usable reality.

Julians point AIUI being that the line is already drawn, the transport 
fields already separated. If you disagree on what has been split off 
that would be an issue with the bis drafts work.

The charter texts just point loosely at which parts are applicable for 
further upgrades in the next cycle of work, and what the goal for fixing 
them should be. The part defining transport syntax (part 1, maybe part 
2) and making it more reliable+faster. In the other parts we could 
change symbol names and maybe remove ABNF special casings, but that is all.

>
>> I would be surprised if they care about technical details like that :-)
> You would be surprised if you had any idea how starved they are for
> anything at all to publish a story on with a big headline.

If only 2.0 had been used instead of 1.1. We could be presenting them 
with "engineers plan Web3.0 revolution" ;) . [that is pretty much what 
will go to print anyway]

AYJ


From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 06:30:26 2012
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 4677F21F8769 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 06:30:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.644
X-Spam-Level: 
X-Spam-Status: No, score=-7.644 tagged_above=-999 required=5 tests=[AWL=2.333, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 zDGmpmFjIvXO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 06:30:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 73A2321F8767 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 06:30:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RvrSu-0004XT-J7 for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Feb 2012 14:28:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jonathan.rees@gmail.com>) id 1RvrSg-0004SW-NO for ietf-http-wg@listhub.w3.org; Fri, 10 Feb 2012 14:28:30 +0000
Received: from mail-gy0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jonathan.rees@gmail.com>) id 1RvrSe-0008FU-PI for ietf-http-wg@w3.org; Fri, 10 Feb 2012 14:28:29 +0000
Received: by ghbf1 with SMTP id f1so1668698ghb.2 for <ietf-http-wg@w3.org>; Fri, 10 Feb 2012 06:28:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=2nPZiWykbRDo5Ghl6ItwE8etVm5OniNwWHJIOYHjnWo=; b=MW9dJJ1pxfTcw2X5Kvst7XQ5ZVwfi2nMLwFFmlos/EEPFIcQvFkDBVM0C0gg/4IXJu nJAfNEAOjzEE/0oQAe5XA6qEu7rv+m7FTaUIhDnLOp1TR0g6nPCnhJWZOKfcsne6mCuG EuV2iYtkwYuqyw4iY5IbBLL+xOd3t8GT2SDJs=
MIME-Version: 1.0
Received: by 10.236.201.201 with SMTP id b49mr8842683yho.18.1328884083682; Fri, 10 Feb 2012 06:28:03 -0800 (PST)
Sender: jonathan.rees@gmail.com
Received: by 10.236.108.38 with HTTP; Fri, 10 Feb 2012 06:28:03 -0800 (PST)
In-Reply-To: <CAGnGFMKeHW2bPr5WL-HXD=rAJvwp+HMYu5FeCccjypNxWV-48g@mail.gmail.com>
References: <CAGnGFMKeHW2bPr5WL-HXD=rAJvwp+HMYu5FeCccjypNxWV-48g@mail.gmail.com>
Date: Fri, 10 Feb 2012 09:28:03 -0500
X-Google-Sender-Auth: alRf2SHLRQly2DdpbcuTXA-rAOo
Message-ID: <CAGnGFMJ_TGReBhERJh=edkQe3yzvT7FEAj1VtQuyVdA_as7U9Q@mail.gmail.com>
From: Jonathan A Rees <rees@mumble.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.160.171; envelope-from=jonathan.rees@gmail.com; helo=mail-gy0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RvrSe-0008FU-PI d34b21420f13c7145bd2c96f64be1462
X-Original-To: ietf-http-wg@w3.org
Subject: Re: part 2, 5.1 "the response payload is a representation of the  target resource"
Archived-At: <http://www.w3.org/mid/CAGnGFMJ_TGReBhERJh=edkQe3yzvT7FEAj1VtQuyVdA_as7U9Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12419
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>
Resent-Message-Id: <E1RvrSu-0004XT-J7@frink.w3.org>
Resent-Date: Fri, 10 Feb 2012 14:28:44 +0000

I think my previous email expresses the problem, but should there be
any question, I wrote up the issue in a bit more detail in a blog
post:

http://odontomachus.wordpress.com/2012/02/09/when-identification-and-repres=
entation-fight-who-wins/

Best
Jonathan

On Tue, Feb 7, 2012 at 10:08 AM, Jonathan A Rees <rees@mumble.net> wrote:
> The confusion I pointed out in 7.3.4 is also present in section 5.1. We h=
ave
>
> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#section-5
>
> "1. =A0If the response status code is 200 or 203 and the request method
> =A0 =A0 =A0was GET, the response payload is a representation of the targe=
t
> =A0 =A0 =A0resource."
>
> If you mean "representation" in an ordinary-language sense, then the
> status code only *indicates*, it does not *imply*. So we cannot
> conclude that the payload is a representation of the target resource;
> we can only conclude that the server *says* it is a representation of
> the target resource. We would need more information, such as trust in
> the server, to conclude that it actually *is* a representation. (This
> is true even if the server is the origin server.)
>
> In the language of that section, one would say "the response payload
> is a representation *associated with* the target
> =A0 =A0 =A0resource [by the server]" - i.e. the server has made the
> association, and that association might be incorrect, and that's
> OK, it's up to the application to sort it all out.
>
> There is another solution to this problem besides changing 5.1 and
> 7.3.4: You could define "representation" as a term of art, making it a
> static property of HTTP exchanges, one that is decided by fiat by the
> server, not an ordinary-language word. This would be rather tricky I
> think, and again I don't think it's what you intend, but I'm not sure.
>
> Yet another solution would be to say that the identity of the
> identified resource is determined by the authoritative representations
> that are or might be transmitted, or that it must be such that those
> representations are correct. Then there would be no way for the two to
> get out of sync in the way I suggest. But I don't think that's what
> you mean, either.
>
> I checked for "representation of" throughout part 2 and didn't find
> any other difficulties with the use of this expression, so whatever
> fix you choose is likely to be quite localized. Part 1 seems OK. The
> single use in part 6 would need to be scrutinized. I didn't check the
> other parts or other phrases.
>
> Best
> Jonathan


From ietf-http-wg-request@listhub.w3.org  Fri Feb 10 21:44:33 2012
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 B26F921E8025 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 21:44:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.843
X-Spam-Level: 
X-Spam-Status: No, score=-9.843 tagged_above=-999 required=5 tests=[AWL=0.756, 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 BMsZWA5MsReZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Feb 2012 21:44:32 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C80BD21E802A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Feb 2012 21:44:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rw5jU-0006x2-Bi for ietf-http-wg-dist@listhub.w3.org; Sat, 11 Feb 2012 05:42:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Rw5jE-0006vS-8t for ietf-http-wg@listhub.w3.org; Sat, 11 Feb 2012 05:42:32 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Rw5jB-0006F6-3a for ietf-http-wg@w3.org; Sat, 11 Feb 2012 05:42:31 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 31BE6E739D for <ietf-http-wg@w3.org>; Sat, 11 Feb 2012 18:42:00 +1300 (NZDT)
Message-ID: <4F35FFA4.9010002@treenet.co.nz>
Date: Sat, 11 Feb 2012 18:41:56 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAGnGFMKeHW2bPr5WL-HXD=rAJvwp+HMYu5FeCccjypNxWV-48g@mail.gmail.com> <CAGnGFMJ_TGReBhERJh=edkQe3yzvT7FEAj1VtQuyVdA_as7U9Q@mail.gmail.com>
In-Reply-To: <CAGnGFMJ_TGReBhERJh=edkQe3yzvT7FEAj1VtQuyVdA_as7U9Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rw5jB-0006F6-3a 18f799ce76eee0c42c6eed62dc0d0169
X-Original-To: ietf-http-wg@w3.org
Subject: Re: part 2, 5.1 "the response payload is a representation of the   target resource"
Archived-At: <http://www.w3.org/mid/4F35FFA4.9010002@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12420
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>
Resent-Message-Id: <E1Rw5jU-0006x2-Bi@frink.w3.org>
Resent-Date: Sat, 11 Feb 2012 05:42:48 +0000

On 11/02/2012 3:28 a.m., Jonathan A Rees wrote:
> I think my previous email expresses the problem, but should there be
> any question, I wrote up the issue in a bit more detail in a blog
> post:
>
> http://odontomachus.wordpress.com/2012/02/09/when-identification-and-representation-fight-who-wins/

"If both kinds of authority hold, then Jabberwocky is a representation 
of the Magna Carta, since a URI owner can say both that the URI 
identifies the Magna Carta and that Jabberwocky is a representation of 
what is identified. But this is not true. How to resolve this paradox?"

Your argument is built on the assumption that the authority server can 
lie. It cannot. By definition whatever it says is fact.

Consider very carefully the question "how did the URI owner state the 
Magna Cart was its resource?".

  * In HTTP it makes that statement by producing a 200 status and a 
valid representation.

So... if what was produced was 200 and Magna Carta. What statement was 
just made?
   --> That the URI resource is represented by a Manga Carta.

So... if what was produced was 200 and a Jaberwock. What statement was 
just made?
   --> That the URI resource is represented by a Jaberwock.

Now where does that confusion come in? Only if you assume that one of 
those is 100% truth for the entire resource.

Neither spec says anything about one representation being the whole of 
the resource. Only that it is *a* representation for the resource and 
resource itself is loosely defined as being "whatever might be 
identified by a URI".

So if your authority the URI owner is stating both Magna Carta and 
Jaberwock are valid representations. It must be a set of (Jaberwock | 
Magna Carta). The URI owner cannot lie.

Or to summarize in symbolic what you argue that:
   J is a subset of (J, MC)
   MC is a subset of (J, MC)
   therefore J == MC -> which is false.

Now, getting back to your proposed "solution". You have confused what 
the authority is saying with what gets delivered. None of the specs 
define them as being the same. In fact several mechanisms are built 
around verifying the delivered item was what got said by the authority.

Kitten-net with adaptation is not producing authoritative images of your 
set (Jaberwock | Magna Carta). Even though Kitten-net proxies produce 
200 and a representation, they are *not* the authority for that URL and 
are violating HTTP if they use 200 to deliver the kitten. (The proper 
way is to 3xx redirect to a different URI for the kitten.)

Your solution (1) sounds like having the spec mandate Conten-Location be 
set whenever the payload is not representing the requested URI. Does it 
not do so already?
   If not that would enable adapters to alter the payload without 
setting such as Content-Location and thus allow Kitten-net authoritative 
lies stating that Magna Carta == Kitten123.  "K is a subset of (J, MC)". 
They can already do that today, but we need grounds to beat up on 
adaptators who fail to set truthful Content-Location or use 3xx redirects.

Your solution (2) only works for static resources. Prohibiting dynamic 
URI resources by requiring the representation negotiation of HTTP (and 
all possible related protocols) to be encoded explicitly in the URI. 
This has the additional problem that negotiation only exists because the 
client cannot know in advance which representation the server will 
produce for it, so cannot encode that representations parameters in the URI.

AYJ

> Best
> Jonathan
>
> On Tue, Feb 7, 2012 at 10:08 AM, Jonathan A Rees wrote:
>> The confusion I pointed out in 7.3.4 is also present in section 5.1. We have
>>
>> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#section-5
>>
>> "1.  If the response status code is 200 or 203 and the request method
>>       was GET, the response payload is a representation of the target
>>       resource."
>>
>> If you mean "representation" in an ordinary-language sense, then the
>> status code only *indicates*, it does not *imply*. So we cannot
>> conclude that the payload is a representation of the target resource;
>> we can only conclude that the server *says* it is a representation of
>> the target resource. We would need more information, such as trust in
>> the server, to conclude that it actually *is* a representation. (This
>> is true even if the server is the origin server.)
>>
>> In the language of that section, one would say "the response payload
>> is a representation *associated with* the target
>>       resource [by the server]" - i.e. the server has made the
>> association, and that association might be incorrect, and that's
>> OK, it's up to the application to sort it all out.
>>
>> There is another solution to this problem besides changing 5.1 and
>> 7.3.4: You could define "representation" as a term of art, making it a
>> static property of HTTP exchanges, one that is decided by fiat by the
>> server, not an ordinary-language word. This would be rather tricky I
>> think, and again I don't think it's what you intend, but I'm not sure.
>>
>> Yet another solution would be to say that the identity of the
>> identified resource is determined by the authoritative representations
>> that are or might be transmitted, or that it must be such that those
>> representations are correct. Then there would be no way for the two to
>> get out of sync in the way I suggest. But I don't think that's what
>> you mean, either.
>>
>> I checked for "representation of" throughout part 2 and didn't find
>> any other difficulties with the use of this expression, so whatever
>> fix you choose is likely to be quite localized. Part 1 seems OK. The
>> single use in part 6 would need to be scrutinized. I didn't check the
>> other parts or other phrases.
>>
>> Best
>> Jonathan



From ietf-http-wg-request@listhub.w3.org  Sat Feb 11 06:27:17 2012
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 BBFBD21F8501 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 11 Feb 2012 06:27:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.227
X-Spam-Level: 
X-Spam-Status: No, score=-8.227 tagged_above=-999 required=5 tests=[AWL=1.750, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 UkfdBLalk8TH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 11 Feb 2012 06:27:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2534F21F84FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 11 Feb 2012 06:27:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwDsh-00073r-Tr for ietf-http-wg-dist@listhub.w3.org; Sat, 11 Feb 2012 14:24:51 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jonathan.rees@gmail.com>) id 1RwDsW-00072W-Tk for ietf-http-wg@listhub.w3.org; Sat, 11 Feb 2012 14:24:40 +0000
Received: from mail-gy0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jonathan.rees@gmail.com>) id 1RwDsV-0003sw-GJ for ietf-http-wg@w3.org; Sat, 11 Feb 2012 14:24:40 +0000
Received: by ghbf1 with SMTP id f1so2147264ghb.2 for <ietf-http-wg@w3.org>; Sat, 11 Feb 2012 06:24:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8je8HNlANvvV6fJTMjEpp7BMacMzxX3OKHz+mAhGQkM=; b=vOy1Xv3LDf8Bm/frOJTrm3i5dYHMLw3VB61evmcXtp5mJN6MFZZ0zzWaE20aptn+Np Ib+9qO/dPh4i+tBORqnGb7xtxA/S2EPvDXDcCLVbb31fVL7sfh4arYi8lJmoAjJwd4pW W0Do90dv6wtjr2BeZGBs9xAbGUSYN20JmTulQ=
MIME-Version: 1.0
Received: by 10.236.145.2 with SMTP id o2mr13776375yhj.1.1328970254225; Sat, 11 Feb 2012 06:24:14 -0800 (PST)
Sender: jonathan.rees@gmail.com
Received: by 10.236.108.38 with HTTP; Sat, 11 Feb 2012 06:24:14 -0800 (PST)
In-Reply-To: <4F35FFA4.9010002@treenet.co.nz>
References: <CAGnGFMKeHW2bPr5WL-HXD=rAJvwp+HMYu5FeCccjypNxWV-48g@mail.gmail.com> <CAGnGFMJ_TGReBhERJh=edkQe3yzvT7FEAj1VtQuyVdA_as7U9Q@mail.gmail.com> <4F35FFA4.9010002@treenet.co.nz>
Date: Sat, 11 Feb 2012 09:24:14 -0500
X-Google-Sender-Auth: oLUwrumMgEHuYo85OXzusvi_4js
Message-ID: <CAGnGFMJojOEmG4zKOu51FTaeXW+HbMdU3DtmbanL74Qu_J_u+A@mail.gmail.com>
From: Jonathan A Rees <rees@mumble.net>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.171; envelope-from=jonathan.rees@gmail.com; helo=mail-gy0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RwDsV-0003sw-GJ 1e616aac4e447e11aa88d1ccfa899a2e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: part 2, 5.1 "the response payload is a representation of the  target resource"
Archived-At: <http://www.w3.org/mid/CAGnGFMJojOEmG4zKOu51FTaeXW+HbMdU3DtmbanL74Qu_J_u+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12421
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>
Resent-Message-Id: <E1RwDsh-00073r-Tr@frink.w3.org>
Resent-Date: Sat, 11 Feb 2012 14:24:51 +0000

I have answered your email as a comment on my own blog post.
Continuing here too much would fatigue the readership of the list, I
fear.

Jonathan


From ietf-http-wg-request@listhub.w3.org  Sun Feb 12 20:14:44 2012
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 43A4121F8725 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:14:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.952
X-Spam-Level: 
X-Spam-Status: No, score=-8.952 tagged_above=-999 required=5 tests=[AWL=1.647, 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 wKlXRoRFuUjs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:14:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8B06921F8711 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Feb 2012 20:14:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwnFo-0000ao-Mx for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 04:11:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RwnFK-0000Yy-BG for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 04:10:34 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RwnFH-0001V3-AM for ietf-http-wg@w3.org; Mon, 13 Feb 2012 04:10:33 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C212850A5D for <ietf-http-wg@w3.org>; Sun, 12 Feb 2012 23:10:09 -0500 (EST)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1257)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net>
Date: Mon, 13 Feb 2012 15:10:06 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RwnFH-0001V3-AM b43f58411c262ecf7d5ee83ea7bc1aea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12422
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>
Resent-Message-Id: <E1RwnFo-0000ao-Mx@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 04:11:04 +0000

Looking at this a bit more.

We can't use OWS or BWS here, because they both include obs-fold.

So, proposal:


Add a new construct:

SSP =3D SP /  1*BSP         ; preferred single space
BSP =3D ( HTAB / SP )       ; "bad" space

And change Request-Line and Status-Line to:

     Request-Line   =3D Method SSP request-target SSP HTTP-Version BSP =
CRLF
     Status-Line =3D HTTP-Version SSP Status-Code SSP Reason-Phrase BSP =
CRLF

With appropriate text cautioning against generation of BSP, but advising =
consumption of it.

Thoughts?


On 07/02/2012, at 2:21 PM, Mark Nottingham wrote:

> Ticket: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/341>
>=20
> Cheers,
>=20
> On 30/01/2012, at 11:17 AM, Amos Jeffries wrote:
>=20
>> On 27/01/2012 8:36 a.m., Willy Tarreau wrote:
>>>=20
>>> (...)
>>>>>>  When a server listening only for HTTP request messages, or =
processing
>>>>>>  what appears from the start-line to be an HTTP request message,
>>>>>>  receives a sequence of octets that does not match the =
HTTP-message
>>>>> Wouldn't "does not *exactly* match" be better ? I'm used to find
>>>>> crappy requests in my logs which are blocked but which some =
not-so-lazy
>>>>> implementations would let pass (eg: multiple SP).
>>>> "match" means "match"; I don't think there's any ambiguity here...
>>> There's no ambiguity, it's just to emphasize on the need to perform
>>> strict matching. A large number of HTTP parsers are much too lazy,
>>> causing nightmares when trying to filter undesired communications,
>>> or even to define new protocol extensions. For instance on my old
>>> Apache 1.3 here :
>>>=20
>>>    $ telnet www 60080
>>>    Connected to www.
>>>    Escape character is '^]'.
>>>    HEAD     /           HTTP/1.1     ergeargoaejgoiejgaoeg
>>>    Host:   ,,,,
>>>    Invalid/header name: blah
>>>=20
>>>    HTTP/1.1 200 OK
>>>    Date: Thu, 26 Jan 2012 19:07:02 GMT
>>>    Server: Apache
>>>    Last-Modified: Mon, 01 Jun 2009 16:47:12 GMT
>>>    ETag: "47038-3ad7-46b4c2d81a400"
>>>    Accept-Ranges: bytes
>>>    Content-Length: 15063
>>>    Connection: close
>>>    Content-Type: text/html
>>>=20
>>>    Connection closed by foreign host.
>>>=20
>>> "SP" is *one* SP, still multiple SPs are accepted in the request
>>> line. Same for forbidden chars in the header name. And I'm not
>>> specifically targeting Apache here, I just took the first example
>>> I had handy, it's far from being alone. It looks like strchr(),
>>> strtok(), sscanf() or split() depending on the language and
>>> implementation are common ways to parse requests. This is part
>>> of what caused all the mess in the hybi WG, delaying it by one
>>> year trying to find solutions against various implementations.
>>=20
>>=20
>> FWIW: we argued this out in Squid a while back.
>> The conclusion was to accept any series of non-wrapping BWS =
before/after the method and URL. Ignoring the BWS. All other formats and =
garbage to be treated as HTTP/0.9 mess and 400 the result if the =
suspected URL(+garbage) fails to parse as a usable URI in its entirety.
>>=20
>> A few vendors have hit it with their SP padding practices so far. But =
by and large it works.
>>=20
>> AYJ
>>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sun Feb 12 20:15:25 2012
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 BB5E221F8725 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:15:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.977
X-Spam-Level: 
X-Spam-Status: No, score=-8.977 tagged_above=-999 required=5 tests=[AWL=1.622, 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 hlAmKU15QoTJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:15:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 388B621F8711 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Feb 2012 20:15:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwnJD-0000lr-Dc for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 04:14:35 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RwnI5-0000gc-OV for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 04:13:25 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RwnI3-0001bO-Q8 for ietf-http-wg@w3.org; Mon, 13 Feb 2012 04:13:24 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 03AE550A64; Sun, 12 Feb 2012 23:13:02 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F323731.2070706@gmx.de>
Date: Mon, 13 Feb 2012 15:13:00 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8C4A5D1D-75B0-4FE7-9FE8-0F6E7C292AE0@mnot.net>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net> <4F318905.3000302@gmx.de> <39A8D9EE-6676-46CA-9B56-252A5321C671@mnot.net> <4F323731.2070706@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RwnI3-0001bO-Q8 41f1e90c3af9b391c593d2de078bf06a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #343: chunk-extensions
Archived-At: <http://www.w3.org/mid/8C4A5D1D-75B0-4FE7-9FE8-0F6E7C292AE0@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12423
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>
Resent-Message-Id: <E1RwnJD-0000lr-Dc@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 04:14:35 +0000

Assigning for -19.


On 08/02/2012, at 7:49 PM, Julian Reschke wrote:

> On 2012-02-07 21:46, Mark Nottingham wrote:
>>=20
>> On 08/02/2012, at 7:26 AM, Julian Reschke wrote:
>>=20
>>> On 2012-02-07 20:46, Mark Nottingham wrote:
>>>> Now<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/343>.
>>>>=20
>>>>=20
>>>> On 07/02/2012, at 12:03 PM, Mark Nottingham wrote:
>>>>=20
>>>>> Right now, this is all we say about chunk-extensions (beyond the =
BNF, etc.):
>>>>>=20
>>>>>>   All HTTP/1.1 applications MUST be able to receive and decode =
the
>>>>>>   "chunked" transfer-coding and MUST ignore chunk-ext extensions =
they
>>>>>>   do not understand.
>>>>>=20
>>>>> Since this is an extensibility point, we should give guidance on =
how it should be used.
>>>>>=20
>>>>> I can't really see establishing a chunk-extension registry; they =
don't have any semantic, and AFAIK haven't really been used in anger.
>>>>>=20
>>>>> What do people think about adding advice along these lines:
>>>>>=20
>>>>> """
>>>>> Use of chunk-extensions by senders is deprecated; they SHOULD NOT =
be sent and definition of new chunk-extensions is discouraged.
>>>>> """
>>>>>=20
>>>>> ?
>>>=20
>>> Works for me.
>>>=20
>>> A future generation of HTTP spec authors can un-deprecate when =
needed :-)
>>=20
>>=20
>> $DIETY have mercy on their souls.
>> ...
>=20
> :-)
>=20
> Proposed change: =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/343/343.diff=
>
>=20
> Best regard, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sun Feb 12 20:48:57 2012
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 8692821F867C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:48:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.002
X-Spam-Level: 
X-Spam-Status: No, score=-9.002 tagged_above=-999 required=5 tests=[AWL=1.597, 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 FXUonvsjqQz0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:48:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A43EC21F862F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Feb 2012 20:48:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rwno3-0008Bf-Fm for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 04:46:27 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rwnnl-0008AZ-DW for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 04:46:09 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rwnnj-0002ck-8J for ietf-http-wg@w3.org; Mon, 13 Feb 2012 04:46:08 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C8DF5509DB; Sun, 12 Feb 2012 23:45:45 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F30BEE9.70005@treenet.co.nz>
Date: Mon, 13 Feb 2012 15:45:42 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8968055A-06E4-4313-BB13-52DBDDB1A4A6@mnot.net>
References: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net> <4F30BEE9.70005@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rwnnj-0002ck-8J 507be24d3f35640f382bf2e19595e73a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #227: HEAD and Caches
Archived-At: <http://www.w3.org/mid/8968055A-06E4-4313-BB13-52DBDDB1A4A6@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12424
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>
Resent-Message-Id: <E1Rwno3-0008Bf-Fm@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 04:46:27 +0000

Proposal --

Old:=20

  The response to a HEAD request is cacheable and MAY be used to satisfy =
a
  subsequent HEAD request; see [Part6]. It also MAY be used to update a
  previously cached representation from that resource; if the new field =
values
  indicate that the cached representation differs from the current
  representation (as would be indicated by a change in Content-Length, =
ETag or
  Last-Modified), then the cache MUST treat the cache entry as stale.
  =20
New:  =20

The response to a HEAD request is cacheable; it MAY be used to satisfy
subsequent HEAD requests.=20

If the Content-Length, ETag or Last-Modified value of a HEAD response =
differs
from that in the selected GET response (as per [ref to p6 2.7]), the =
cache
MUST consider that selected response to be stale.



On 07/02/2012, at 5:04 PM, Amos Jeffries wrote:

> On 7/02/2012 5:03 p.m., Mark Nottingham wrote:
>> I've been bothered by this text (p2 6.4 HEAD) for a while:
>>=20
>>>    The response to a HEAD request is cacheable and MAY be used to
>>>    satisfy a subsequent HEAD request; see [Part6].  It also MAY be =
used
>>>    to update a previously cached representation from that resource; =
if
>>>    the new field values indicate that the cached representation =
differs
>>>    from the current representation (as would be indicated by a =
change in
>>>    Content-Length, ETag or Last-Modified), then the cache MUST treat =
the
>>>    cache entry as stale.
>> A few problems:
>>=20
>> 1. Since it specifies required cache behaviour, it really should be =
in p6
>> 2. The second MAY seems to conflict with the MUST
>> 3. Caches can store multiple representations for a resource, so there =
is no "current representation."
>=20
> My reading is that there is an erroneous ";" in the middle of the =
second sentence and "current" is the origins viewpoint of current.
>=20
>=20
>>=20
>> Part of the problem here really is that it's not "updating" any =
response, but it is potentially invalidating an old one.
>>=20
>> To resolve this, we could construct a requirement that refers to p6 =
2.7 ("Caching Negotiated Responses") to identify the correct response to =
compare to and (potentially) invalidate.
>>=20
>> However, I wonder if a) this is widely implemented, and b) the =
complexity is worth it.
>>=20
>> I.e., we could alternatively just remove everything after the first =
sentence (i.e., treat the second MAY as primary, and therefore make the =
whole thing redundant).
>>=20
>> Thoughts?
>=20
> Its useful that a HEAD 200 be treated identically to how the =
equivalent GET 200 response would have regarding invalidation and =
content negotiation details. The absence of a body seems not =
particularly relevant to the act of or reasons for invalidation. The =
presence of a body is just a performance edge GET conditionals have over =
HEAD.
>=20
> The paragraph does seem like a convoluted way of saying that though.
>=20
> IMHO changing that second paragraph to "SHOULD invalidate" and =
referencing the negotiation section for the what/how/when bits is the =
right thing to do, even if not implemented very widely right now. The =
origins HEAD result having changed is a very clear sign that the cached =
representation is not really useful now anyway.
>=20
> AYJ
>=20
>>=20
>>=20
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/227>
>>=20
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sun Feb 12 20:58:35 2012
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 DD0AB21F8659 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:58:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.026
X-Spam-Level: 
X-Spam-Status: No, score=-9.026 tagged_above=-999 required=5 tests=[AWL=1.573, 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 49Acgcsdx6tt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 20:58:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2552121F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Feb 2012 20:58:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwnyZ-0000W8-1r for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 04:57:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RwnyP-0000VE-2a for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 04:57:09 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RwnyM-00032m-Sd for ietf-http-wg@w3.org; Mon, 13 Feb 2012 04:57:08 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id F3589509EB for <ietf-http-wg@w3.org>; Sun, 12 Feb 2012 23:56:45 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 13 Feb 2012 15:56:42 +1100
Message-Id: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RwnyM-00032m-Sd 6fc03843d4b234d70090b294509716bd
X-Original-To: ietf-http-wg@w3.org
Subject: #337: Field names in cache-control header arguments
Archived-At: <http://www.w3.org/mid/8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12425
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>
Resent-Message-Id: <E1RwnyZ-0000W8-1r@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 04:57:19 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/337>

> The discussion of optional field-names in "private" and "no-cache" is =
vague about whether the cache MAY or MUST revalidate when handling a =
subsequent request for that resource. That is, if another request for =
the resource comes in, and the cached response is still fresh, is the =
cache allowed to return it, minus the forbidden headers, or is it =
required to revalidate, and merge in new values of those headers from =
the 304 response?)

See =
<http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-18#section-3.2.2> =
for the relevant text.


I had a look at this. I think we can fix things for private -- proposal =
is to change:

... That is, a shared cache MUST NOT store the specified field-names(s), =
whereas it MAY store the remainder of the response message.

to

... That is, a shared cache MUST NOT store the specified field-names(s), =
whereas it MAY store the remainder of the response message (and =
subsequently reuse it).


However, the semantics of these arguments on no-cache is much less =
clear. IME this isn't implemented, so I'd suggest deprecating it by =
changing:

      If the no-cache response directive specifies one or more field-
      names, this requirement is limited to the field-values associated
      with the listed response header fields.  That is, a cache MUST NOT
      send the specified field-name(s) in the response to a subsequent
      request without successful validation on the origin server.  This
      allows an origin server to prevent the re-use of certain header
      fields in a response, while still allowing caching of the rest of
      the response.

      Note: Most HTTP/1.0 caches will not recognize or obey this
      directive.  Also, no-cache response directives with field-names
      are often handled by implementations as if an unqualified no-cache
      directive was received; i.e., the special handling for the
      qualified form is not widely implemented.


To:

"""
The no-cache response directive was originally defined to allow =
specification of one or more field-names as a parameter value. However, =
this form is not widely implemented, and their semantics are not =
well-defined; as a result, this form is deprecated, and servers SHOULD =
NOT send them. Caches are advised to silently ignore these parameters =
and treat the response as if it had contained a bare no-cache directive.
"""

Comments? I'm not against also deprecating them in this fashion on =
private, if there's support for that.


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





From ietf-http-wg-request@listhub.w3.org  Sun Feb 12 21:00:43 2012
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 8332221F8711 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 21:00:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.049
X-Spam-Level: 
X-Spam-Status: No, score=-9.049 tagged_above=-999 required=5 tests=[AWL=1.550, 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 g2HD5lGkppk1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 21:00:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7438121F86A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Feb 2012 21:00:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rwo13-0000l6-6P for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 04:59:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rwo0t-0000ho-15 for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 04:59:43 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rwo0q-0006Ws-Rw for ietf-http-wg@w3.org; Mon, 13 Feb 2012 04:59:42 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.36.65]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2905250A64; Sun, 12 Feb 2012 23:59:18 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net>
Date: Mon, 13 Feb 2012 15:59:16 +1100
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Larry Masinter <masinter@adobe.com>, httpbis Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rwo0q-0006Ws-Rw 499b62f7ed9071420b818afc6721acdf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also #43)
Archived-At: <http://www.w3.org/mid/F5646201-718C-4BA5-A644-9828186B88B0@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12426
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>
Resent-Message-Id: <E1Rwo13-0000l6-6P@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 04:59:53 +0000

Assigned for -19.

On 01/02/2012, at 4:13 PM, Mark Nottingham wrote:

>=20
> On 08/01/2012, at 2:28 AM, Julian Reschke wrote:
>=20
>> To make this change we could add to:
>>=20
>> "The field value consists of a single URI-reference. When it has the =
form of a relative reference ([RFC3986], Section 4.2), the final value =
is computed by resolving it against the effective request URI =
([RFC3986], Section 5)."
>>=20
>> saying
>>=20
>> "... If the original URI, as navigated to by the user agent, did =
contain a fragment identifier, and the final value does not, then the =
original URI's fragment identifier is added to the final value."
>>=20
>>=20
>> (and also we would kill =
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-18.html#=
rfc.section.9.5.p.9>).
>=20
> Works for me; +1. Some examples wouldn't go astray.




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





From ietf-http-wg-request@listhub.w3.org  Sun Feb 12 23:18:28 2012
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 8D13721F8605 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 23:18:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.865
X-Spam-Level: 
X-Spam-Status: No, score=-9.865 tagged_above=-999 required=5 tests=[AWL=0.734, 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 9nhnTY0kb0Gd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 12 Feb 2012 23:18:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8FA3821F85DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 12 Feb 2012 23:18:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwqA6-0002vq-G7 for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 07:17:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Rwq9j-0002mn-FN for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 07:16:59 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Rwq9h-0007nR-Jy for ietf-http-wg@w3.org; Mon, 13 Feb 2012 07:16:58 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1D7GVkA032754; Mon, 13 Feb 2012 08:16:31 +0100
Date: Mon, 13 Feb 2012 08:16:31 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120213071631.GW21225@1wt.eu>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rwq9h-0007nR-Jy 3803630eb2381c6d14fb34e6a8f26b98
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/20120213071631.GW21225@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12427
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>
Resent-Message-Id: <E1RwqA6-0002vq-G7@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 07:17:22 +0000

Hi Mark,

On Mon, Feb 13, 2012 at 03:10:06PM +1100, Mark Nottingham wrote:
> Looking at this a bit more.
> 
> We can't use OWS or BWS here, because they both include obs-fold.
> 
> So, proposal:
> 
> 
> Add a new construct:
> 
> SSP = SP /  1*BSP         ; preferred single space
> BSP = ( HTAB / SP )       ; "bad" space
> 
> And change Request-Line and Status-Line to:
> 
>      Request-Line   = Method SSP request-target SSP HTTP-Version BSP CRLF
>      Status-Line = HTTP-Version SSP Status-Code SSP Reason-Phrase BSP CRLF
> 
> With appropriate text cautioning against generation of BSP, but advising consumption of it.
> 
> Thoughts?

FWIW, haproxy has never allowed HTABs nor multiple spaces here and still
we dont get error reports. In fact the only times I catch this, it comes
from a poorly-written attack script.

I don't think we should relax the parsing rules, and it seems like Amos and
I were on the same line of "exactly matching" one SP.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 01:23:04 2012
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 9CE7821F86E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 01:23:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.061
X-Spam-Level: 
X-Spam-Status: No, score=-8.061 tagged_above=-999 required=5 tests=[AWL=2.538, 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 3NOw06ShuBBf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 01:23:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DDB821F86D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 01:23:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rws66-0005y7-Ju for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 09:21:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rws5s-0005x6-U3 for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 09:21:08 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rws5m-0003eo-47 for ietf-http-wg@w3.org; Mon, 13 Feb 2012 09:21:07 +0000
Received: (qmail invoked by alias); 13 Feb 2012 09:20:35 -0000
Received: from p5DCC2784.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.39.132] by mail.gmx.net (mp035) with SMTP; 13 Feb 2012 10:20:35 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18d8wlPXhUdV/StNZLCHwNE5rDBIWm8UYU1mfT8Q0 u3b8JAMVUaFF7l
Message-ID: <4F38D5DC.8020704@gmx.de>
Date: Mon, 13 Feb 2012 10:20:28 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <B14486FA-D8C3-4DD7-A100-8C8325F9D3D8@mnot.net> <4F318905.3000302@gmx.de> <39A8D9EE-6676-46CA-9B56-252A5321C671@mnot.net> <4F323731.2070706@gmx.de> <8C4A5D1D-75B0-4FE7-9FE8-0F6E7C292AE0@mnot.net>
In-Reply-To: <8C4A5D1D-75B0-4FE7-9FE8-0F6E7C292AE0@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rws5m-0003eo-47 9b80576e5496636b04a4d7737d8903cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #343: chunk-extensions
Archived-At: <http://www.w3.org/mid/4F38D5DC.8020704@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12428
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>
Resent-Message-Id: <E1Rws66-0005y7-Ju@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 09:21:22 +0000

On 2012-02-13 05:13, Mark Nottingham wrote:
> Assigning for -19.

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1535>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 04:39:22 2012
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 612EA21F8609 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 04:39:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.861
X-Spam-Level: 
X-Spam-Status: No, score=-9.861 tagged_above=-999 required=5 tests=[AWL=0.738, 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 LAXlCky0yfzk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 04:39:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CBC4421F8608 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 04:39:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rwv9w-0003e4-0v for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 12:37:32 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Rwv9l-0002u8-6j for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 12:37:21 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Rwv9g-0002Pi-0A for ietf-http-wg@w3.org; Mon, 13 Feb 2012 12:37:20 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 20032E6EE5 for <ietf-http-wg@w3.org>; Tue, 14 Feb 2012 01:36:52 +1300 (NZDT)
Message-ID: <4F3903E0.3020809@treenet.co.nz>
Date: Tue, 14 Feb 2012 01:36:48 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net> <20120213071631.GW21225@1wt.eu>
In-Reply-To: <20120213071631.GW21225@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rwv9g-0002Pi-0A 2303d972a6edcde54f0d93c6852aa4cb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/4F3903E0.3020809@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12429
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>
Resent-Message-Id: <E1Rwv9w-0003e4-0v@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 12:37:32 +0000

On 13/02/2012 8:16 p.m., Willy Tarreau wrote:
> Hi Mark,
>
> On Mon, Feb 13, 2012 at 03:10:06PM +1100, Mark Nottingham wrote:
>> Looking at this a bit more.
>>
>> We can't use OWS or BWS here, because they both include obs-fold.
>>
>> So, proposal:
>>
>>
>> Add a new construct:
>>
>> SSP = SP /  1*BSP         ; preferred single space
>> BSP = ( HTAB / SP )       ; "bad" space
>>
>> And change Request-Line and Status-Line to:
>>
>>       Request-Line   = Method SSP request-target SSP HTTP-Version BSP CRLF
>>       Status-Line = HTTP-Version SSP Status-Code SSP Reason-Phrase BSP CRLF
>>
>> With appropriate text cautioning against generation of BSP, but advising consumption of it.
>>
>> Thoughts?
> FWIW, haproxy has never allowed HTABs nor multiple spaces here and still
> we dont get error reports. In fact the only times I catch this, it comes
> from a poorly-written attack script.

Ah. Thank you for that ammo. :)

>
> I don't think we should relax the parsing rules, and it seems like Amos and
> I were on the same line of "exactly matching" one SP.

Yes.

I got argued into allowing multiple-SP while updating the parser on 
grounds of tolerance before a strict version went out. To my knowledge 
we have not had any bug reports about these internal SP either way, and 
no problems outside of testing software which made some effort to check 
the tolerance bounds.

The two problems I do know of are un-encoded SP within the URL from some 
Windows apps (not sure where its actually coming from, or if they are 
dead yet) and trailer SP bytes after the version string. The dev for 
those apps doing trailers have been fairly responsive towards fixing 
that at the client end already.

With the current RFC it is rather difficult to bring up evidence against 
OWS between "HTTP-version CRLF", despite being the common sense 
interpretation. The simple words "exactly match" would go a long way 
towards clarity there without any interoperability problem.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 05:00:12 2012
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 BF75821F851E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 05:00:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.876
X-Spam-Level: 
X-Spam-Status: No, score=-9.876 tagged_above=-999 required=5 tests=[AWL=0.723, 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 5GHO6SplsFXy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 05:00:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8B6021F851C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 05:00:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwvV4-0001Ha-GX for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 12:59:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1RwvUu-00018P-7Z for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 12:59:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1RwvUr-0003PR-Um for ietf-http-wg@w3.org; Mon, 13 Feb 2012 12:59:11 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1DCwRi8001712; Mon, 13 Feb 2012 13:58:27 +0100
Date: Mon, 13 Feb 2012 13:58:27 +0100
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120213125827.GC868@1wt.eu>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net> <20120213071631.GW21225@1wt.eu> <4F3903E0.3020809@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F3903E0.3020809@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RwvUr-0003PR-Um 5214ae7791abcb66d1219fd40c82c6a3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/20120213125827.GC868@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12430
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>
Resent-Message-Id: <E1RwvV4-0001Ha-GX@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 12:59:22 +0000

Hi Amos,

On Tue, Feb 14, 2012 at 01:36:48AM +1300, Amos Jeffries wrote:
> >FWIW, haproxy has never allowed HTABs nor multiple spaces here and still
> >we dont get error reports. In fact the only times I catch this, it comes
> >from a poorly-written attack script.
> 
> Ah. Thank you for that ammo. :)

You're welcome :-)

(...)
> The two problems I do know of are un-encoded SP within the URL from some 
> Windows apps (not sure where its actually coming from, or if they are 
> dead yet) and trailer SP bytes after the version string. The dev for 
> those apps doing trailers have been fairly responsive towards fixing 
> that at the client end already.

OK. I've never encountered these ones except in attacks. For instance,
here with a capture of such a failure on my reverse proxy :

  [02/Feb/2012:00:47:19.447] frontend http-in (#1): invalid request
  src 88.191.95.247, session #189428, backend <NONE> (#-1), server <NONE> (#-1)
  HTTP internal state 26, buffer flags 0x00809002, event #12
  request length 222 bytes, error at position 55:
 
  00000  GET //wp/wp-content/themes/automotive-blog-theme/Quick Cash Auto/timth
  00070+ umb.php HTTP/1.1\r\n
  00088  Accept: */*\r\n
  00101  Accept-Language: en-us\r\n
  00125  Accept-Encoding: gzip, deflate\r\n
  00157  User-Agent: Mozilla/5.0\r\n
  00182  Host: demo.1wt.eu\r\n
  00201  Connection: Close\r\n
  00220  \r\n
 
It was rejected because of the embedded space :-)

> With the current RFC it is rather difficult to bring up evidence against 
> OWS between "HTTP-version CRLF", despite being the common sense 
> interpretation. The simple words "exactly match" would go a long way 
> towards clarity there without any interoperability problem.

That was my point too. Mark, would you accept to update the wording when
two implementers feel like there's a risk of not being careful enough with
current wording ?

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 05:29:17 2012
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 0BC6B21F84D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 05:29:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.878
X-Spam-Level: 
X-Spam-Status: No, score=-9.878 tagged_above=-999 required=5 tests=[AWL=0.721, 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 sL-pjyJog+sO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 05:29:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3FF6121F84CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 05:29:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rwvwf-0001ud-Om for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 13:27:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RwvwQ-0001tm-Th for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 13:27:38 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RwvwN-0005Eh-30 for ietf-http-wg@w3.org; Mon, 13 Feb 2012 13:27:38 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 11B61E6EE5 for <ietf-http-wg@w3.org>; Tue, 14 Feb 2012 02:27:11 +1300 (NZDT)
Message-ID: <4F390FAC.7090102@treenet.co.nz>
Date: Tue, 14 Feb 2012 02:27:08 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net>
In-Reply-To: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RwvwN-0005Eh-30 51d1e19a1a3abd3497aa67d206975763
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #337: Field names in cache-control header arguments
Archived-At: <http://www.w3.org/mid/4F390FAC.7090102@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12431
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>
Resent-Message-Id: <E1Rwvwf-0001ud-Om@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 13:27:53 +0000

On 13/02/2012 5:56 p.m., Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/337>
>
>> The discussion of optional field-names in "private" and "no-cache" is vague about whether the cache MAY or MUST revalidate when handling a subsequent request for that resource. That is, if another request for the resource comes in, and the cached response is still fresh, is the cache allowed to return it, minus the forbidden headers, or is it required to revalidate, and merge in new values of those headers from the 304 response?)
> See<http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-18#section-3.2.2>  for the relevant text.
>
>
> I had a look at this. I think we can fix things for private -- proposal is to change:
>
> ... That is, a shared cache MUST NOT store the specified field-names(s), whereas it MAY store the remainder of the response message.
>
> to
>
> ... That is, a shared cache MUST NOT store the specified field-names(s), whereas it MAY store the remainder of the response message (and subsequently reuse it).

Its a hard sentance to phrase well. This new version still misses out 
mention of revalidation.

Perhapse a mention of whether it should erase the "private" control as 
well as the listed fields when storing and before re-use? That should 
make it a little clearer.

Perhapse something like:
"

That is, a shared cache MAY store and subsequently reuse the response, but MUST strip the specified field-names(s) and the private control before storing it.

"

NP: I include the private="..." control in the removal to help older 
caches see that the sanitized version of the response is cacheable. That 
is one useful detail which has been omitted entirely.


>
>
> However, the semantics of these arguments on no-cache is much less clear. IME this isn't implemented, so I'd suggest deprecating it by changing:
>
>        If the no-cache response directive specifies one or more field-
>        names, this requirement is limited to the field-values associated
>        with the listed response header fields.  That is, a cache MUST NOT
>        send the specified field-name(s) in the response to a subsequent
>        request without successful validation on the origin server.  This
>        allows an origin server to prevent the re-use of certain header
>        fields in a response, while still allowing caching of the rest of
>        the response.
>
>        Note: Most HTTP/1.0 caches will not recognize or obey this
>        directive.  Also, no-cache response directives with field-names
>        are often handled by implementations as if an unqualified no-cache
>        directive was received; i.e., the special handling for the
>        qualified form is not widely implemented.
>
>
> To:
>
> """
> The no-cache response directive was originally defined to allow specification of one or more field-names as a parameter value. However, this form is not widely implemented, and their semantics are not well-defined; as a result, this form is deprecated, and servers SHOULD NOT send them. Caches are advised to silently ignore these parameters and treat the response as if it had contained a bare no-cache directive.
> """
>
> Comments? I'm not against also deprecating them in this fashion on private, if there's support for that.

I have seen some apps try to use them before they ran up against Squids 
lack of implementation. It did seem useful for them to specify some 
headers (ie Cookie or a custom equivalent) that if present needed 
revalidation, or if that failed the response was perfectly usable stale 
(or not even stale yet) without the header.

So,  IMO keep it as an option and we can implement, the Squid reasons 
for no implementation is simply we have not got that far through RFC 
2616 yet.

What I don't get is the nasty overlap between no-cache and 
must-revalidate. Why no-cache with field names is equivalent to 
must-revalidate for those fields, but must-revalidate has no field-names 
list at all.

It would seem common sense for clarity to deprecate no-cache entirely 
for senders and move the field list to must-revalidate. The result is 
self-explanatory, (but does sadly consume a few more bytes).

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 05:33:05 2012
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 6EBFF21F84DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 05:33:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.894
X-Spam-Level: 
X-Spam-Status: No, score=-9.894 tagged_above=-999 required=5 tests=[AWL=0.705, 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 p2ANvE7VI-xf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 05:33:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0ED5921F84DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 05:33:01 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rww1F-0004E7-D0 for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 13:32:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Rww15-0004Cs-5X for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 13:32:27 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Rww0x-0005ML-B8 for ietf-http-wg@w3.org; Mon, 13 Feb 2012 13:32:26 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 1D63BE6E76; Tue, 14 Feb 2012 02:31:56 +1300 (NZDT)
Message-ID: <4F3910C9.2060001@treenet.co.nz>
Date: Tue, 14 Feb 2012 02:31:53 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: ietf-http-wg@w3.org
References: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net> <4F30BEE9.70005@treenet.co.nz> <8968055A-06E4-4313-BB13-52DBDDB1A4A6@mnot.net>
In-Reply-To: <8968055A-06E4-4313-BB13-52DBDDB1A4A6@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Rww0x-0005ML-B8 21b592dfc3b0b3a4c33c43d793f556dd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #227: HEAD and Caches
Archived-At: <http://www.w3.org/mid/4F3910C9.2060001@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12432
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>
Resent-Message-Id: <E1Rww1F-0004E7-D0@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 13:32:37 +0000

On 13/02/2012 5:45 p.m., Mark Nottingham wrote:
> Proposal --
>
> Old:
>
>    The response to a HEAD request is cacheable and MAY be used to satisfy a
>    subsequent HEAD request; see [Part6]. It also MAY be used to update a
>    previously cached representation from that resource; if the new field values
>    indicate that the cached representation differs from the current
>    representation (as would be indicated by a change in Content-Length, ETag or
>    Last-Modified), then the cache MUST treat the cache entry as stale.
>
> New:
>
> The response to a HEAD request is cacheable; it MAY be used to satisfy
> subsequent HEAD requests.
>
> If the Content-Length, ETag or Last-Modified value of a HEAD response differs
> from that in the selected GET response (as per [ref to p6 2.7]), the cache
> MUST consider that selected response to be stale.
>
>
>

+1.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 06:32:48 2012
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 3871121F849A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 06:32:48 -0800 (PST)
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=[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 rRTmZNNCX+6d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 06:32:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8001821F8498 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 06:32:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwwwP-0005JS-Jt for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 14:31:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1RwwwC-0005HD-GZ for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 14:31:28 +0000
Received: from mail-vw0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1Rwww7-0007El-Ky for ietf-http-wg@w3.org; Mon, 13 Feb 2012 14:31:27 +0000
Received: by vbbfq11 with SMTP id fq11so4409438vbb.2 for <ietf-http-wg@w3.org>; Mon, 13 Feb 2012 06:30:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/nGo81Wg7aaWZ6jDeZyussDmJRu9T93ot1fex+KaFtA=; b=A1FIutgJO3mCXVW+CcDrlsGHApekOOKR1hUVAvfHxfmKdYitSRGOwDofVvARWpxB6k C8ldQXEHog49dDoj0L/cUcJmmnk46z40hxsjGp+8biyyVsGoVS0Tt/JeID2FtLaSIzay JM+/9iTaSvxa4c9dkCD1qi1as62bCnK5Y0Sc8=
MIME-Version: 1.0
Received: by 10.52.94.75 with SMTP id da11mr6971315vdb.111.1329143458724; Mon, 13 Feb 2012 06:30:58 -0800 (PST)
Received: by 10.220.202.136 with HTTP; Mon, 13 Feb 2012 06:30:58 -0800 (PST)
In-Reply-To: <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <9FEEA58E-C211-4F0A-B74E-847D2784914C@mnot.net>
Date: Mon, 13 Feb 2012 08:30:58 -0600
Message-ID: <CACuKZqH_RDwQVGNSekLp=p51DDJDvimX19ZJAHu+F=At-RPoZA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1Rwww7-0007El-Ky 239117c2924aa5436d91587d8cd6794f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/CACuKZqH_RDwQVGNSekLp=p51DDJDvimX19ZJAHu+F=At-RPoZA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12433
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>
Resent-Message-Id: <E1RwwwP-0005JS-Jt@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 14:31:41 +0000

> BSP =3D ( HTAB / SP ) =A0 =A0 =A0 ; "bad" space
> =A0 =A0 Request-Line =A0 =3D Method SSP request-target SSP HTTP-Version B=
SP CRLF

Doesn't that mean a white space is *required* between HTTP-Version and CRLF=
?

It's good info from Willy/Amos that almost all requests generated use
single SP, thanks.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 08:00:24 2012
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 1D0A821F8681 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 08:00:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.402
X-Spam-Level: 
X-Spam-Status: No, score=-8.402 tagged_above=-999 required=5 tests=[AWL=2.197, 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 lUt5na-AwDLd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 08:00:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E838021F866D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 08:00:21 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RwyIn-0001Si-QI for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 15:58:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RwyIe-0001QJ-3M for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 15:58:44 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RwyIb-0001xc-Ne for ietf-http-wg@w3.org; Mon, 13 Feb 2012 15:58:43 +0000
Received: (qmail invoked by alias); 13 Feb 2012 15:58:14 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp020) with SMTP; 13 Feb 2012 16:58:14 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+35fsebW63ncDsaMKSGElzeKOKGryPZyAvUZ2nbn vdP0fQ3X71Tc2W
Message-ID: <4F393308.9060402@gmx.de>
Date: Mon, 13 Feb 2012 16:58:00 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net>
In-Reply-To: <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RwyIb-0001xc-Ne 7ea7878885fe14a0b88db11aa1b40810
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/4F393308.9060402@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12434
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>
Resent-Message-Id: <E1RwyIn-0001Si-QI@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 15:58:53 +0000

On 2012-02-07 04:21, Mark Nottingham wrote:
> Ticket:<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/341>
> ...

I'm not sure we need to bake error handling into the ABNF. If we do it 
here, why not for HTTP-date?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb 13 15:11:36 2012
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 AE10621F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 15:11:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.105
X-Spam-Level: 
X-Spam-Status: No, score=-8.105 tagged_above=-999 required=5 tests=[AWL=2.494, 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 09gMLnEASgzk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Feb 2012 15:11:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 822A521E802D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Feb 2012 15:11:32 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rx51g-00062l-DX for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Feb 2012 23:09:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rx51O-00061u-Ne for ietf-http-wg@listhub.w3.org; Mon, 13 Feb 2012 23:09:22 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rx51N-0002Mr-2x for ietf-http-wg@w3.org; Mon, 13 Feb 2012 23:09:22 +0000
Received: (qmail invoked by alias); 13 Feb 2012 23:08:54 -0000
Received: from p5DCC2246.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.34.70] by mail.gmx.net (mp027) with SMTP; 14 Feb 2012 00:08:54 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19P7b4nHQxPMV0d1GAkw1g56tP082wnpXwf2AN/FT Vpge70l2f7ilNK
Message-ID: <4F3997FB.1020605@gmx.de>
Date: Tue, 14 Feb 2012 00:08:43 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <20120213230333.14867.87500.idtracker@ietfa.amsl.com>
In-Reply-To: <20120213230333.14867.87500.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20120213230333.14867.87500.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rx51N-0002Mr-2x 48575277396f3b910b123b4a895d8b2c
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: I-D Action: draft-reschke-http-status-308-05.txt
Archived-At: <http://www.w3.org/mid/4F3997FB.1020605@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12435
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>
Resent-Message-Id: <E1Rx51g-00062l-DX@frink.w3.org>
Resent-Date: Mon, 13 Feb 2012 23:09:40 +0000

FYI - this version tries to address feedback I received both from our 
friendly AD (StPeter), and the document shepherd (Cyrus Daboo).

Diffs: 
<http://tools.ietf.org/rfcdiff?url2=draft-reschke-http-status-308-05.txt>

HTML version with feedback links: 
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-05.html>

Best regards, Julian

-------- Original Message --------
Subject: I-D Action: draft-reschke-http-status-308-05.txt
Date: Mon, 13 Feb 2012 15:03:33 -0800
From: internet-drafts@ietf.org
Reply-To: internet-drafts@ietf.org
To: i-d-announce@ietf.org


A New Internet-Draft is available from the on-line Internet-Drafts 
directories.

	Title           : The Hypertext Transfer Protocol (HTTP) Status Code 
308 (Permanent Redirect)
	Author(s)       : Julian F. Reschke
	Filename        : draft-reschke-http-status-308-05.txt
	Pages           : 8
	Date            : 2012-02-13

    This document specifies the additional HyperText Transfer Protocol
    (HTTP) Status Code 308 (Permanent Redirect).


A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-reschke-http-status-308-05.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-reschke-http-status-308-05.txt

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt



From ietf-http-wg-request@listhub.w3.org  Wed Feb 15 01:40:28 2012
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 3A18F21F874A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 01:40:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.629
X-Spam-Level: 
X-Spam-Status: No, score=-9.629 tagged_above=-999 required=5 tests=[AWL=0.370, BAYES_00=-2.599, J_CHICKENPOX_111=0.6, 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 TdV3aSeeUnmp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 01:40:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2E1DF21F87BA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Feb 2012 01:40:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RxbJO-0006HK-AN for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Feb 2012 09:38:06 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1RxbJA-0006Fl-4e for ietf-http-wg@listhub.w3.org; Wed, 15 Feb 2012 09:37:52 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1RxbJ8-0004YQ-LT for ietf-http-wg@w3.org; Wed, 15 Feb 2012 09:37:51 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1RxbJ7-0003Fj-DW; Wed, 15 Feb 2012 04:37:49 -0500
Date: Wed, 15 Feb 2012 04:37:49 -0500 (EST)
From: Yves Lafon <ylafon@w3.org>
To: Adrien de Croy <adrien@qbik.com>
cc: ietf-http-wg@w3.org
In-Reply-To: <4F050EF2.7080403@qbik.com>
Message-ID: <alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet>
References: <alpine.DEB.1.10.1201040855590.2163@wnl.j3.bet> <900baf69b7a31814f99cb40158785a52@treenet.co.nz> <alpine.DEB.1.10.1201041912110.23131@wnl.j3.bet> <9fc7c7bc34ff534905f69a220831a289@treenet.co.nz> <4F050EF2.7080403@qbik.com>
User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RxbJ8-0004YQ-LT 7c5027ea2fc67e6f198b35301ba56915
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #311 Add limitations to Range to reduce its use as a   denial-of-service   tool
Archived-At: <http://www.w3.org/mid/alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12436
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>
Resent-Message-Id: <E1RxbJO-0006HK-AN@frink.w3.org>
Resent-Date: Wed, 15 Feb 2012 09:38:06 +0000

On Thu, 5 Jan 2012, Adrien de Croy wrote:

>
> while we're on the topic of range requests, there are an increasing numbe=
r of=20
> agents that fail when range requests are responded to with a 200 and full=
=20
> content.
>
> Things like
>
> * MS Windows update
> * iTunes
> * AppleTV client
> * various other updaters
> * anything relying on BITS in Windows.
>
> etc.
>
> This is a conflict with any gateway AV scanning which requires the entire=
=20
> entity in order to scan it and which therefore removes Range headers from=
=20
> requests.
>
> Could/should we add language to send a stronger message to agent authors =
to=20
> deter them from such behaviour?  It makes little or no sense to post an e=
rror=20
> about a misconfigured gateway simply because it downgrades all range requ=
ests=20
> to full requests.  The entire entity is still available to be sent back t=
o=20
> the client, it just refuses to play if it can't get its way.

It remindes me of a WebDAV client that was waiting for the connection to=20
be closed after receiving a successful response to a PUT. Keeping the=20
connection open was making the client stall, expecting a specific=20
behaviour of a particular class of servers.

So what you ask is actually more general, it's "Do not make assumptions on=
=20
the behaviour of the server or a proxy, as observable behaviour can change=
=20
over time" and this is specially true for optional parts of the spec, like=
=20
ranges.

--=20
Baroula que barouleras, au ti=C3=A9u toujou t'entourneras.

         ~~Yves



From ietf-http-wg-request@listhub.w3.org  Wed Feb 15 13:47:47 2012
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 973E321E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 13:47:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.213
X-Spam-Level: 
X-Spam-Status: No, score=-8.213 tagged_above=-999 required=5 tests=[AWL=2.386, 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 0aW0hUZnVwxG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 13:47:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C9A8A21F8504 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Feb 2012 13:47:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rxmfx-0001hO-DF for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Feb 2012 21:46:09 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RxmfR-000056-FU for ietf-http-wg@listhub.w3.org; Wed, 15 Feb 2012 21:45:37 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RxmfL-000235-VI for ietf-http-wg@w3.org; Wed, 15 Feb 2012 21:45:36 +0000
Received: (qmail invoked by alias); 15 Feb 2012 21:45:05 -0000
Received: from p3EE26B95.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.107.149] by mail.gmx.net (mp041) with SMTP; 15 Feb 2012 22:45:05 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/UayJqdDvUkyNl6LAThmWtc0Z9AkJ25XjJELT2jk cAlEIoqIYNO9BL
Message-ID: <4F3C275E.8000201@gmx.de>
Date: Wed, 15 Feb 2012 22:45:02 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "Roy T. Fielding" <fielding@gbiv.com>,  Larry Masinter <masinter@adobe.com>, httpbis Group <ietf-http-wg@w3.org>, Adam Barth <ietf@adambarth.com>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net> <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net>
In-Reply-To: <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RxmfL-000235-VI 71efed29fb0ce4af5a6aaa5f22ca484b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also  #43)
Archived-At: <http://www.w3.org/mid/4F3C275E.8000201@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12437
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>
Resent-Message-Id: <E1Rxmfx-0001hO-DF@frink.w3.org>
Resent-Date: Wed, 15 Feb 2012 21:46:09 +0000

On 2012-02-13 05:59, Mark Nottingham wrote:
> Assigned for -19.

Proposed patch here: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/295/295.diff>

This changes the description of the header field to:

9.5.  Location

    The "Location" header field is used to identify a newly created
    resource, or to redirect the recipient to a different location for
    completion of the request.

      Location = URI-reference

    For 201 (Created) responses, the Location is the URI of the new
    resource which was created by the request.  For 3xx responses, the
    location SHOULD indicate the server's preferred URI for automatic
    redirection to the resource.

    The field value consists of a single URI-reference.  When it has the
    form of a relative reference ([RFC3986], Section 4.2), the final
    value is computed by resolving it against the effective request URI
    ([RFC3986], Section 5).  If the original URI, as navigated to by the
    user agent, did contain a fragment identifier, and the final value
    does not, then the original URI's fragment identifier is added to the
    final value.

    For example, the original URI "http://www.example.org/~tim", combined
    with a field value given as:

      Location: /pub/WWW/People.html#tim

    would result in a final value of
    "http://www.example.org/pub/WWW/People.html#tim"

    An original URI "http://www.example.org/index.html#larry", combined
    with a field value given as:

      Location: http://www.example.net/index.html

    would result in a final value of
    "http://www.example.net/index.html#larry", preserving the original
    fragment identifier.

       Note: Some recipients attempt to recover from Location fields that
       are not valid URI references.  This specification does not mandate
       or define such processing, but does allow it (see Section 1.1).

    There are circumstances in which a fragment identifier in a Location
    URI would not be appropriate.  For instance, when it appears in a 201
    Created response, where the Location header field specifies the URI
    for the entire created resource.

       Note: The Content-Location header field (Section 6.7 of [Part3])
       differs from Location in that the Content-Location identifies the
       most specific resource corresponding to the enclosed
       representation.  It is therefore possible for a response to
       contain header fields for both Location and Content-Location.


And also adds the following Security Consideration:

    Furthermore, appending the fragment identifier from one URI to
    another one obtained from a Location header field might leak
    confidential information to the target server -- although the
    fragment identifier is not transmitted in the final request, it might
    be visible to the user agent through other means, such as scripting).

Best regards, Julian


> On 01/02/2012, at 4:13 PM, Mark Nottingham wrote:
>
>>
>> On 08/01/2012, at 2:28 AM, Julian Reschke wrote:
>>
>>> To make this change we could add to:
>>>
>>> "The field value consists of a single URI-reference. When it has the form of a relative reference ([RFC3986], Section 4.2), the final value is computed by resolving it against the effective request URI ([RFC3986], Section 5)."
>>>
>>> saying
>>>
>>> "... If the original URI, as navigated to by the user agent, did contain a fragment identifier, and the final value does not, then the original URI's fragment identifier is added to the final value."
>>>
>>>
>>> (and also we would kill<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-18.html#rfc.section.9.5.p.9>).
>>
>> Works for me; +1. Some examples wouldn't go astray.
>
>
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Wed Feb 15 18:26:37 2012
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 D0CA721E8026 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 18:26:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.499
X-Spam-Level: 
X-Spam-Status: No, score=-6.499 tagged_above=-999 required=5 tests=[AWL=4.100, 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 nUz0dsnV215w for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 18:26:33 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 92D0C21E8022 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Feb 2012 18:26:33 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rxr22-00023K-A4 for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 02:25:14 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cyrus@daboo.name>) id 1Rxr1n-00021D-A1 for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 02:24:59 +0000
Received: from daboo.name ([173.13.55.49]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <cyrus@daboo.name>) id 1Rxr1i-00013l-Em for ietf-http-wg@w3.org; Thu, 16 Feb 2012 02:24:58 +0000
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 899F221F9BAF; Wed, 15 Feb 2012 21:24:30 -0500 (EST)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8FexsexrRGnO; Wed, 15 Feb 2012 21:24:25 -0500 (EST)
Received: from [10.0.1.8] (unknown [173.13.55.49]) by daboo.name (Postfix) with ESMTPSA id 3792821F9B9F; Wed, 15 Feb 2012 21:24:25 -0500 (EST)
Date: Wed, 15 Feb 2012 21:24:27 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: HTTP Working Group <ietf-http-wg@w3.org>
cc: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <F1E52FB735919886BD1D0EF7@cyrus.local>
X-Mailer: Mulberry/4.1.0a3 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size=723
Received-SPF: none client-ip=173.13.55.49; envelope-from=cyrus@daboo.name; helo=daboo.name
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Rxr1i-00013l-Em 1159cebf05c038b5431c4473193b6781
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: I-D Action: draft-reschke-http-status-308-05.txt
Archived-At: <http://www.w3.org/mid/F1E52FB735919886BD1D0EF7@cyrus.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12438
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>
Resent-Message-Id: <E1Rxr22-00023K-A4@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 02:25:14 +0000

Hi,

--On February 14, 2012 12:08:43 AM +0100 Julian Reschke 
<julian.reschke@gmx.de> wrote:

> FYI - this version tries to address feedback I received both from our
> friendly AD (StPeter), and the document shepherd (Cyrus Daboo).
>
> Diffs:
> <http://tools.ietf.org/rfcdiff?url2=draft-reschke-http-status-308-05.txt>
>
> HTML version with feedback links:
> <http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-05.html>

I am the document shepherd for this draft. I'd like to get confirmation 
that folks on this list have reviewed the draft and are OK with it. It is 
straightforward and won't take long to review. Please send technical 
comments to the list, or thumbs up/down to me, thanks.

-- 
Cyrus Daboo



From ietf-http-wg-request@listhub.w3.org  Wed Feb 15 21:20:38 2012
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 715CE21E8011 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 21:20:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 eN8YuSwg4t4s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 21:20:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7E1B11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Feb 2012 21:20:30 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rxtkk-00042Q-Jd for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 05:19:34 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RxtkT-0003xJ-Di for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 05:19:17 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RxtkO-00059y-AW for ietf-http-wg@w3.org; Thu, 16 Feb 2012 05:19:16 +0000
Received: from lhw6fxn1.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DAE4250A5D; Thu, 16 Feb 2012 00:18:48 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F3C275E.8000201@gmx.de>
Date: Thu, 16 Feb 2012 16:18:39 +1100
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Larry Masinter <masinter@adobe.com>, httpbis Group <ietf-http-wg@w3.org>, Adam Barth <ietf@adambarth.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3F6B3B55-C81B-483E-A4CF-F638AEF84C53@mnot.net>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net> <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net> <4F3C275E.8000201@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RxtkO-00059y-AW 2d10daeb8f351cec98f99febbaff5b60
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also #43)
Archived-At: <http://www.w3.org/mid/3F6B3B55-C81B-483E-A4CF-F638AEF84C53@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12439
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>
Resent-Message-Id: <E1Rxtkk-00042Q-Jd@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 05:19:34 +0000

+1


On 16/02/2012, at 8:45 AM, Julian Reschke wrote:

> On 2012-02-13 05:59, Mark Nottingham wrote:
>> Assigned for -19.
>=20
> Proposed patch here: =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/295/295.diff=
>
>=20
> This changes the description of the header field to:
>=20
> 9.5.  Location
>=20
>   The "Location" header field is used to identify a newly created
>   resource, or to redirect the recipient to a different location for
>   completion of the request.
>=20
>     Location =3D URI-reference
>=20
>   For 201 (Created) responses, the Location is the URI of the new
>   resource which was created by the request.  For 3xx responses, the
>   location SHOULD indicate the server's preferred URI for automatic
>   redirection to the resource.
>=20
>   The field value consists of a single URI-reference.  When it has the
>   form of a relative reference ([RFC3986], Section 4.2), the final
>   value is computed by resolving it against the effective request URI
>   ([RFC3986], Section 5).  If the original URI, as navigated to by the
>   user agent, did contain a fragment identifier, and the final value
>   does not, then the original URI's fragment identifier is added to =
the
>   final value.
>=20
>   For example, the original URI "http://www.example.org/~tim", =
combined
>   with a field value given as:
>=20
>     Location: /pub/WWW/People.html#tim
>=20
>   would result in a final value of
>   "http://www.example.org/pub/WWW/People.html#tim"
>=20
>   An original URI "http://www.example.org/index.html#larry", combined
>   with a field value given as:
>=20
>     Location: http://www.example.net/index.html
>=20
>   would result in a final value of
>   "http://www.example.net/index.html#larry", preserving the original
>   fragment identifier.
>=20
>      Note: Some recipients attempt to recover from Location fields =
that
>      are not valid URI references.  This specification does not =
mandate
>      or define such processing, but does allow it (see Section 1.1).
>=20
>   There are circumstances in which a fragment identifier in a Location
>   URI would not be appropriate.  For instance, when it appears in a =
201
>   Created response, where the Location header field specifies the URI
>   for the entire created resource.
>=20
>      Note: The Content-Location header field (Section 6.7 of [Part3])
>      differs from Location in that the Content-Location identifies the
>      most specific resource corresponding to the enclosed
>      representation.  It is therefore possible for a response to
>      contain header fields for both Location and Content-Location.
>=20
>=20
> And also adds the following Security Consideration:
>=20
>   Furthermore, appending the fragment identifier from one URI to
>   another one obtained from a Location header field might leak
>   confidential information to the target server -- although the
>   fragment identifier is not transmitted in the final request, it =
might
>   be visible to the user agent through other means, such as =
scripting).
>=20
> Best regards, Julian
>=20
>=20
>> On 01/02/2012, at 4:13 PM, Mark Nottingham wrote:
>>=20
>>>=20
>>> On 08/01/2012, at 2:28 AM, Julian Reschke wrote:
>>>=20
>>>> To make this change we could add to:
>>>>=20
>>>> "The field value consists of a single URI-reference. When it has =
the form of a relative reference ([RFC3986], Section 4.2), the final =
value is computed by resolving it against the effective request URI =
([RFC3986], Section 5)."
>>>>=20
>>>> saying
>>>>=20
>>>> "... If the original URI, as navigated to by the user agent, did =
contain a fragment identifier, and the final value does not, then the =
original URI's fragment identifier is added to the final value."
>>>>=20
>>>>=20
>>>> (and also we would =
kill<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-18.h=
tml#rfc.section.9.5.p.9>).
>>>=20
>>> Works for me; +1. Some examples wouldn't go astray.
>>=20
>>=20
>>=20
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Feb 15 23:33:54 2012
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 D011D21F84F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 23:33:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.586
X-Spam-Level: 
X-Spam-Status: No, score=-8.586 tagged_above=-999 required=5 tests=[AWL=2.013, 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 3OS6f5+Mnvtd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2012 23:33:50 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B965C21F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Feb 2012 23:33:50 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rxvp2-00024A-6S for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 07:32:08 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1Rxvoh-00022W-PU for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 07:31:47 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Rxvob-0001Pv-Go for ietf-http-wg@w3.org; Thu, 16 Feb 2012 07:31:46 +0000
Received: From [192.168.1.10] (unverified [219.89.217.118]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3381)) with SMTP id <0018866004@smtp.qbik.com>; Thu, 16 Feb 2012 20:31:15 +1300
Message-ID: <4F3CB0A2.1030904@qbik.com>
Date: Thu, 16 Feb 2012 20:30:42 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120202 Thunderbird/11.0
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Rxvob-0001Pv-Go 96ee09a35163bb4f3de16ceb51fe25e3
X-Original-To: ietf-http-wg@w3.org
Subject: RFC format - time for an update?
Archived-At: <http://www.w3.org/mid/4F3CB0A2.1030904@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12440
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>
Resent-Message-Id: <E1Rxvp2-00024A-6S@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 07:32:08 +0000

Hi all

I'm sure this is probably the wrong list to send this to, so if someone 
could point me to the correct place, it would be appreciated.

I've had the feeling for a while that the restrictions on formatting of 
RFCs and I-Ds (in terms of layout, columns, lines etc) place serious 
limitations on the ability of authors to adequately specify designs.

For instance the inability to show images supporting concepts that can't 
be done in ascii-art and 76 columns.

Specifications after all are intended to convey information to enable 
interoperable implementations.  Therefore interop may suffer as a result 
of inability to adequately specify.

Is it therefore time for a change, maybe to drag the format out of the 
70's (or whenever it was solidified)?

Most other standards bodies seem to have adopted a rich text format.

Regards

Adrien

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 00:00:04 2012
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 0C8BC21E8035 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 00:00:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.99
X-Spam-Level: 
X-Spam-Status: No, score=-7.99 tagged_above=-999 required=5 tests=[AWL=2.609, 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 s3q3EjZJRt3B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 00:00:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2BDB221E802E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 00:00:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RxwEd-0007Wz-OT for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 07:58:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1RxwES-0007W5-Ny for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 07:58:24 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1RxwEL-0002Hs-I6 for ietf-http-wg@w3.org; Thu, 16 Feb 2012 07:58:23 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q1G7v4ck018846; Thu, 16 Feb 2012 08:57:04 +0100 (CET)
Received: from [192.168.217.105] (p5B3E7885.dip.t-dialin.net [91.62.120.133]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 99FE72AC; Thu, 16 Feb 2012 08:57:04 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4F3CB0A2.1030904@qbik.com>
Date: Thu, 16 Feb 2012 08:57:03 +0100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <206435D4-FF82-4CCB-A05C-2035897D1C30@tzi.org>
References: <4F3CB0A2.1030904@qbik.com>
To: Adrien de Croy <adrien@qbik.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RxwEL-0002Hs-I6 4aa6ecc005a41eb9b10638045ed5d939
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC format - time for an update?
Archived-At: <http://www.w3.org/mid/206435D4-FF82-4CCB-A05C-2035897D1C30@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12441
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>
Resent-Message-Id: <E1RxwEd-0007Wz-OT@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 07:58:35 +0000

TL;DR answer: no.

Long answer: There is a raging debate about this about once a year, =
often on the main IETF mailing list, making that unusable for about two =
weeks in a row. =20

Each time, the result is to stick with the RFC format.

> Most other standards bodies seem to have adopted a rich text format.

Yes.  We are different.
(In many ways, not just this one, but definitely in this one.)

Most definitely don't debate it here.

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 00:13:26 2012
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 B8B4121F8522 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 00:13:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.355
X-Spam-Level: 
X-Spam-Status: No, score=-8.355 tagged_above=-999 required=5 tests=[AWL=1.644, BAYES_00=-2.599, J_CHICKENPOX_22=0.6, 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 EC6TmejjYSBy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 00:13:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2EE521F851E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 00:13:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RxwSS-00034X-Um for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 08:12:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1RxwSF-00033Z-R8 for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 08:12:39 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1RxwSA-0002lX-Mc for ietf-http-wg@w3.org; Thu, 16 Feb 2012 08:12:39 +0000
Received: From [192.168.1.10] (unverified [219.89.217.118]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3381)) with SMTP id <0018866047@smtp.qbik.com>; Thu, 16 Feb 2012 21:12:12 +1300
Message-ID: <4F3CBA38.2030807@qbik.com>
Date: Thu, 16 Feb 2012 21:11:36 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120202 Thunderbird/11.0
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4F3CB0A2.1030904@qbik.com> <206435D4-FF82-4CCB-A05C-2035897D1C30@tzi.org>
In-Reply-To: <206435D4-FF82-4CCB-A05C-2035897D1C30@tzi.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RxwSA-0002lX-Mc 9d262ec3b67b2bbba9dbab8d0ebd731a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC format - time for an update?
Archived-At: <http://www.w3.org/mid/4F3CBA38.2030807@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12442
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>
Resent-Message-Id: <E1RxwSS-00034X-Um@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 08:12:52 +0000

ok thanks

nice to know I'm not alone

Regards

Adrien


On 16/02/2012 8:57 p.m., Carsten Bormann wrote:
> TL;DR answer: no.
>
> Long answer: There is a raging debate about this about once a year, often on the main IETF mailing list, making that unusable for about two weeks in a row.
>
> Each time, the result is to stick with the RFC format.
>
>> Most other standards bodies seem to have adopted a rich text format.
> Yes.  We are different.
> (In many ways, not just this one, but definitely in this one.)
>
> Most definitely don't debate it here.
>
> Grüße, Carsten
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 00:18:29 2012
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 5003121E802E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 00:18:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=3.701, BAYES_00=-2.599, J_CHICKENPOX_22=0.6, 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 UCUDORhoDkDa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 00:18:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0178321E802C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 00:18:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RxwXT-0005gx-BJ for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 08:18:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alexey.melnikov@isode.com>) id 1RxwXH-0005fb-2L for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 08:17:51 +0000
Received: from rufus.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1RxwXB-0000cv-Os for ietf-http-wg@w3.org; Thu, 16 Feb 2012 08:17:49 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1329380244; d=isode.com; s=selector; i=@isode.com; bh=uO1zUQ4CzPfeAlzhgjkXNLhcYeWDepGmWt/Z2wtoelM=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=ErjJ3lE1adTI0zEPVTqKvFYmWHCaArLST1UT13RTzAIQssWNViHfo76rimn4pS0eQ0j97d vgAjJx09UeNlfCxLfzyh7FYUJ4vm3Xxzy1bBeGTuObvRqCBqb+LdaWj+4Mom0Noj0I0v+f Eh8IYrkkKb7axfGziVsYkJV1qH7l4W8=;
Received: from [192.168.20.2] ((unknown) [212.183.140.15])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <Tzy7eQAvKJ-W@rufus.isode.com>; Thu, 16 Feb 2012 08:17:15 +0000
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <4F3CBB7A.9000605@isode.com>
Date: Thu, 16 Feb 2012 08:16:58 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
To: Adrien de Croy <adrien@qbik.com>, Carsten Bormann <cabo@tzi.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4F3CB0A2.1030904@qbik.com> <206435D4-FF82-4CCB-A05C-2035897D1C30@tzi.org> <4F3CBA38.2030807@qbik.com>
In-Reply-To: <4F3CBA38.2030807@qbik.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-transfer-encoding: quoted-printable
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=rufus.isode.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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RxwXB-0000cv-Os 9398de91591aab4e9cc00f465c88cf67
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC format - time for an update?
Archived-At: <http://www.w3.org/mid/4F3CBB7A.9000605@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12443
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>
Resent-Message-Id: <E1RxwXT-0005gx-BJ@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 08:18:03 +0000

On 16/02/2012 08:11, Adrien de Croy wrote:
>
> ok thanks
>
> nice to know I'm not alone
I will forward your messages to the newly hired RFC Series Editor, who=20
is the right person to talk to about this kind of stuff.
>
> Regards
>
> Adrien
>
>
> On 16/02/2012 8:57 p.m., Carsten Bormann wrote:
>> TL;DR answer: no.
>>
>> Long answer: There is a raging debate about this about once a year,=20
>> often on the main IETF mailing list, making that unusable for about=20
>> two weeks in a row.
>>
>> Each time, the result is to stick with the RFC format.
>>
>>> Most other standards bodies seem to have adopted a rich text format.
>> Yes.  We are different.
>> (In many ways, not just this one, but definitely in this one.)
>>
>> Most definitely don't debate it here.
>>
>> Gr=FC=DFe, Carsten
>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 01:09:23 2012
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 B09AD21F870A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 01:09:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.395
X-Spam-Level: 
X-Spam-Status: No, score=-8.395 tagged_above=-999 required=5 tests=[AWL=2.204, 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 9MroxLzoy9Uz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 01:09:22 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A3EBD21F85ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 01:09:21 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RxxKB-0002wZ-7k for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 09:08:23 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RxxJx-0002oA-Dy for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 09:08:09 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RxxJr-0005DQ-Ux for ietf-http-wg@w3.org; Thu, 16 Feb 2012 09:08:08 +0000
Received: (qmail invoked by alias); 16 Feb 2012 09:07:37 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp019) with SMTP; 16 Feb 2012 10:07:37 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/XHUAXzHXXJa4r0OJr5kPRdHJ+yy3G3EtrhgvFtd Uh1dM5d1SUjzK6
Message-ID: <4F3CC758.90306@gmx.de>
Date: Thu, 16 Feb 2012 10:07:36 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: Adrien de Croy <adrien@qbik.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4F3CB0A2.1030904@qbik.com>
In-Reply-To: <4F3CB0A2.1030904@qbik.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RxxJr-0005DQ-Ux 229906e4a5645dad1c49f00c875921a4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC format - time for an update?
Archived-At: <http://www.w3.org/mid/4F3CC758.90306@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12444
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>
Resent-Message-Id: <E1RxxKB-0002wZ-7k@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 09:08:23 +0000

On 2012-02-16 08:30, Adrien de Croy wrote:
>
> Hi all
>
> I'm sure this is probably the wrong list to send this to, so if someone
> could point me to the correct place, it would be appreciated.

rfc-interest@rfc-editor.org

> I've had the feeling for a while that the restrictions on formatting of
> RFCs and I-Ds (in terms of layout, columns, lines etc) place serious
> limitations on the ability of authors to adequately specify designs.

...Lack of semantics. Pagination. Reflow. 18N, at least for contact 
information and examples.

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 06:39:11 2012
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 CFFDE21F8740 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 06:39:11 -0800 (PST)
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=[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 jRQj2oTPkqz3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 06:39:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9A2B121F86B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 06:39:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ry2St-0006T7-Nb for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 14:37:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1Ry2Sc-0006SB-MJ for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 14:37:26 +0000
Received: from smtpout3.laposte.net ([193.253.67.228] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Ry2SS-0008VH-2Q for ietf-http-wg@w3.org; Thu, 16 Feb 2012 14:37:25 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8506-out with ME id aecp1i0044WQcrc03ecp5n; Thu, 16 Feb 2012 15:36:49 +0100
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id EE5769CD for <ietf-http-wg@w3.org>; Thu, 16 Feb 2012 15:36:48 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mNf9xVYGsMee for <ietf-http-wg@w3.org>; Thu, 16 Feb 2012 15:36:47 +0100 (CET)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP for <ietf-http-wg@w3.org>; Thu, 16 Feb 2012 15:36:47 +0100 (CET)
Received: from 163.116.6.10 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Thu, 16 Feb 2012 15:36:47 +0100
Message-ID: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
Date: Thu, 16 Feb 2012 15:36:47 +0100
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-4.fc17
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.228; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ry2SS-0008VH-2Q 27b1bbfdd2020d59f9da92ba829ef34e
X-Original-To: ietf-http-wg@w3.org
Subject: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12445
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>
Resent-Message-Id: <E1Ry2St-0006T7-Nb@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 14:37:43 +0000

Hi,

Now that browsers have started refusing redirection of https sessions, there
is no clean way for a proxy to point browsers to an https authentication
portal when they need to be authenticated or re-authenticated.

The 407 error must be extended to indicate the https proxy authentication
portal location to handle the cases where it is not desirable to have proxy
auth transmitted in clear, and clients are too dumb to support anything more
complex than basic auth over http or https.

(the other â€œsolutionâ€� is DPI, but that's not really appealing except to proxy
aplicance manufacturers)

Best regards,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 07:45:23 2012
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 09BD021F87CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 07:45:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.249
X-Spam-Level: 
X-Spam-Status: No, score=-8.249 tagged_above=-999 required=5 tests=[AWL=2.350, 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 HKpocgaaBc0c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 07:45:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EDFBE21F85DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 07:45:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ry3Uz-00015V-2G for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 15:43:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1Ry3Uh-00014T-Sb for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 15:43:39 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Ry3Uc-0001IE-A9 for ietf-http-wg@w3.org; Thu, 16 Feb 2012 15:43:38 +0000
Received: by bkcjg15 with SMTP id jg15so2627608bkc.2 for <ietf-http-wg@w3.org>; Thu, 16 Feb 2012 07:43:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fXmfk1eEYoD+tndm+LZhC0IxJDI4zea0iCtZYNdyFtc=; b=eB3LYKt2P8Lar3K6K3WyPMg11+R4kE+syMvpeXkNTxOM1yD208gIgZmdTlEAXy6gWQ A1JB1N053iym+ILUGJNo6f/lx5hvJvx8DCPwhlJs0fBYrbuAYxl4S28uAGh6/VKnnD+Z VGIX8lwrCX3N6EbYa23B0tgyfnjqVuAifxHbU=
MIME-Version: 1.0
Received: by 10.204.128.79 with SMTP id j15mr1511331bks.75.1329406988508; Thu, 16 Feb 2012 07:43:08 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Thu, 16 Feb 2012 07:43:08 -0800 (PST)
In-Reply-To: <F1E52FB735919886BD1D0EF7@cyrus.local>
References: <F1E52FB735919886BD1D0EF7@cyrus.local>
Date: Thu, 16 Feb 2012 07:43:08 -0800
Message-ID: <CABkgnnWpbrn0-vRo1yXngZWjaZEaQJ6MyQJutj07b5PNprOztA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Cyrus Daboo <cyrus@daboo.name>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Julian Reschke <julian.reschke@gmx.de>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1Ry3Uc-0001IE-A9 2a9e9dce86cc10dce4c2742b3f937fa1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: I-D Action: draft-reschke-http-status-308-05.txt
Archived-At: <http://www.w3.org/mid/CABkgnnWpbrn0-vRo1yXngZWjaZEaQJ6MyQJutj07b5PNprOztA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12446
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>
Resent-Message-Id: <E1Ry3Uz-00015V-2G@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 15:43:57 +0000

Read it.  Like it.  Would like to be able to use it.

On 15 February 2012 18:24, Cyrus Daboo <cyrus@daboo.name> wrote:
> Hi,
>
>
> --On February 14, 2012 12:08:43 AM +0100 Julian Reschke
> <julian.reschke@gmx.de> wrote:
>
>> FYI - this version tries to address feedback I received both from our
>> friendly AD (StPeter), and the document shepherd (Cyrus Daboo).
>>
>> Diffs:
>> <http://tools.ietf.org/rfcdiff?url2=draft-reschke-http-status-308-05.txt>
>>
>> HTML version with feedback links:
>> <http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-05.html>
>
>
> I am the document shepherd for this draft. I'd like to get confirmation that
> folks on this list have reviewed the draft and are OK with it. It is
> straightforward and won't take long to review. Please send technical
> comments to the list, or thumbs up/down to me, thanks.
>
> --
> Cyrus Daboo
>
>


From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 09:45:55 2012
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 D125D11E8080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 09:45:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.887
X-Spam-Level: 
X-Spam-Status: No, score=-9.887 tagged_above=-999 required=5 tests=[AWL=0.712, 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 h+CjP41wQce1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 09:45:55 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 372BF21F8878 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 09:45:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ry5Nu-0001iB-JD for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 17:44:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Ry5Ng-0001hH-0t for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 17:44:32 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Ry5Ne-0007uE-Ah for ietf-http-wg@w3.org; Thu, 16 Feb 2012 17:44:31 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1GHi0MZ025999; Thu, 16 Feb 2012 18:44:00 +0100
Date: Thu, 16 Feb 2012 18:44:00 +0100
From: Willy Tarreau <w@1wt.eu>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Cc: ietf-http-wg@w3.org
Message-ID: <20120216174400.GD22315@1wt.eu>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ry5Ne-0007uE-Ah 4ce042a7a36efb7c4c915751e47db3c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/20120216174400.GD22315@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12447
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>
Resent-Message-Id: <E1Ry5Nu-0001iB-JD@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 17:44:46 +0000

On Thu, Feb 16, 2012 at 03:36:47PM +0100, Nicolas Mailhot wrote:
> Hi,
> 
> Now that browsers have started refusing redirection of https sessions, there
> is no clean way for a proxy to point browsers to an https authentication
> portal when they need to be authenticated or re-authenticated.
> 
> The 407 error must be extended to indicate the https proxy authentication
> portal location to handle the cases where it is not desirable to have proxy
> auth transmitted in clear, and clients are too dumb to support anything more
> complex than basic auth over http or https.
> 
> (the other ???solution??? is DPI, but that's not really appealing except to proxy
> aplicance manufacturers)

Well, this is one more reason for urging all browser vendors to support
proxying over https. This will put an end to this redirection madness
which prevents most HTTP agents from working in such environments (eg:
firefox cannot even update itself at a customer's due to such proxies,
so everyone uses outdated versions until they decide to download the full
image again).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 12:54:53 2012
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 DBA9121E8044 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 12:54:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[AWL=1.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 rfJfSGnLj1Wh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 12:54:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7E4F011E80BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 12:54:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ry8Kc-0002CP-Gi for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 20:53:34 +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 1Ry8KI-00029f-Ca for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 20:53:14 +0000
Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a77.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1Ry8KB-00039o-KV for ietf-http-wg@w3.org; Thu, 16 Feb 2012 20:53:13 +0000
Received: from homiemail-a77.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTP id 5B55F94064; Thu, 16 Feb 2012 12:52:43 -0800 (PST)
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=PFofT/DxTY7juIwP JOEKtnh3fd9J66vS3cF7OXAoU56yIXCvIN7QHHrrPJDLV6TcgV9MilHzbyyyedF2 e/1mNdQ68njv5/1JmR+knt7dQDv4ObMcNAvpIEIqp9fUUIEB9U6wyFXnFM/ialEE VeRwDv5Lszh9JOK8g/g9LH9Vp3E=
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=ljF2DC55EVObtXPOVfygpR1Jz4k=; b=r1QV46HtVnDYO+T/toBWPOuhTRD8 zzGdM6i0djgtnRIuk41ihE7dMK2hLbpDsVBjwv0RQ/j9VKV7cZgBlU/DzY74To01 wgZWF/pZVMCQ+tdTvW59gSX2dHIHVmVh76dh+HHwm2pAwp/TdAAN2hxAb1xhX8sP R52peHuojZcJX9k=
Received: from [10.134.89.83] (unknown [75.103.10.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTPSA id 1D72F94005; Thu, 16 Feb 2012 12:52:43 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <4F3C275E.8000201@gmx.de>
Date: Thu, 16 Feb 2012 12:52:47 -0800
Cc: Mark Nottingham <mnot@mnot.net>, Larry Masinter <masinter@adobe.com>, httpbis Group <ietf-http-wg@w3.org>, Adam Barth <ietf@adambarth.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A856BE50-5605-4C63-9C7C-BC3721607628@gbiv.com>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net> <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net> <4F3C275E.8000201@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.5; envelope-from=fielding@gbiv.com; helo=homiemail-a77.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 1Ry8KB-00039o-KV c07b8346a32eefc6b5b0b0dd9042c9a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also #43)
Archived-At: <http://www.w3.org/mid/A856BE50-5605-4C63-9C7C-BC3721607628@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12448
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>
Resent-Message-Id: <E1Ry8Kc-0002CP-Gi@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 20:53:34 +0000

On Feb 15, 2012, at 1:45 PM, Julian Reschke wrote:

> On 2012-02-13 05:59, Mark Nottingham wrote:
>> Assigned for -19.
>=20
> Proposed patch here: =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/295/295.diff=
>
>=20
> This changes the description of the header field to:
>=20
> 9.5.  Location
>=20
>   The "Location" header field is used to identify a newly created
>   resource, or to redirect the recipient to a different location for
>   completion of the request.

While you are at it, please change the above to

   The "Location" header field MAY be sent in responses to refer to
   a specific resource in accordance with the semantics of the status
   code.

the rest (new stuff) looks good.

....Roy



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 14:30:46 2012
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 AA08C21F8885 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 14:30:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.147
X-Spam-Level: 
X-Spam-Status: No, score=-8.147 tagged_above=-999 required=5 tests=[AWL=2.452, 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 Ch1LeLI2eUza for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 14:30:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 12DBE21F887D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 14:30:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ry9pS-0004wZ-4P for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 22:29:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Ry9pB-0004qz-EV for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 22:29:13 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Ry9p6-0001yg-Gr for ietf-http-wg@w3.org; Thu, 16 Feb 2012 22:29:12 +0000
Received: (qmail invoked by alias); 16 Feb 2012 22:28:42 -0000
Received: from p5DCC2AA5.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.42.165] by mail.gmx.net (mp037) with SMTP; 16 Feb 2012 23:28:42 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX196oe0zQfF63d9FkqukOEZ/3dgLlObFgXCs+IWWBO a5x7TDW62Zvxsm
Message-ID: <4F3D8317.3050206@gmx.de>
Date: Thu, 16 Feb 2012 23:28:39 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Mark Nottingham <mnot@mnot.net>, Larry Masinter <masinter@adobe.com>,  httpbis Group <ietf-http-wg@w3.org>, Adam Barth <ietf@adambarth.com>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net> <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net> <4F3C275E.8000201@gmx.de> <A856BE50-5605-4C63-9C7C-BC3721607628@gbiv.com>
In-Reply-To: <A856BE50-5605-4C63-9C7C-BC3721607628@gbiv.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ry9p6-0001yg-Gr b0e2d5d286d3a85d6f042b2ac5fccf46
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also  #43)
Archived-At: <http://www.w3.org/mid/4F3D8317.3050206@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12449
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>
Resent-Message-Id: <E1Ry9pS-0004wZ-4P@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 22:29:30 +0000

On 2012-02-16 21:52, Roy T. Fielding wrote:
> On Feb 15, 2012, at 1:45 PM, Julian Reschke wrote:
>
>> On 2012-02-13 05:59, Mark Nottingham wrote:
>>> Assigned for -19.
>>
>> Proposed patch here:<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/295/295.diff>
>>
>> This changes the description of the header field to:
>>
>> 9.5.  Location
>>
>>    The "Location" header field is used to identify a newly created
>>    resource, or to redirect the recipient to a different location for
>>    completion of the request.
>
> While you are at it, please change the above to
>
>     The "Location" header field MAY be sent in responses to refer to
>     a specific resource in accordance with the semantics of the status
>     code.

Ok.

> the rest (new stuff) looks good.
>
> ....Roy

Thanks.

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1536>




From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 15:13:46 2012
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 99C8B21E8064 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 15:13:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.909
X-Spam-Level: 
X-Spam-Status: No, score=-9.909 tagged_above=-999 required=5 tests=[AWL=0.690, 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 wZPNNc7GfubN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 15:13:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DA6621E8051 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 15:13:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyAUI-00021c-M5 for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2012 23:11:42 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RyAU1-0001yy-QJ for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2012 23:11:25 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RyATs-0007oq-T8 for ietf-http-wg@w3.org; Thu, 16 Feb 2012 23:11:25 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 66374E7115 for <ietf-http-wg@w3.org>; Fri, 17 Feb 2012 12:10:47 +1300 (NZDT)
Message-ID: <4F3D8CF2.6080007@treenet.co.nz>
Date: Fri, 17 Feb 2012 12:10:42 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <F1E52FB735919886BD1D0EF7@cyrus.local>
In-Reply-To: <F1E52FB735919886BD1D0EF7@cyrus.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RyATs-0007oq-T8 ec25570719ec21dd06a1d3249c06d597
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: I-D Action: draft-reschke-http-status-308-05.txt
Archived-At: <http://www.w3.org/mid/4F3D8CF2.6080007@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12450
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>
Resent-Message-Id: <E1RyAUI-00021c-M5@frink.w3.org>
Resent-Date: Thu, 16 Feb 2012 23:11:42 +0000

On 16/02/2012 3:24 p.m., Cyrus Daboo wrote:
> Hi,
>
> --On February 14, 2012 12:08:43 AM +0100 Julian Reschke wrote:
>
>> FYI - this version tries to address feedback I received both from our
>> friendly AD (StPeter), and the document shepherd (Cyrus Daboo).
>>
>> Diffs:
>> <http://tools.ietf.org/rfcdiff?url2=draft-reschke-http-status-308-05.txt> 
>>
>>
>> HTML version with feedback links:
>> <http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-05.html>
>
> I am the document shepherd for this draft. I'd like to get 
> confirmation that folks on this list have reviewed the draft and are 
> OK with it. It is straightforward and won't take long to review. 
> Please send technical comments to the list, or thumbs up/down to me, 
> thanks.
>

Read it. Like it. Already using/testing it.  ;)

AYJ


From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 17:01:03 2012
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 BE24A21E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 17:01:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.894
X-Spam-Level: 
X-Spam-Status: No, score=-5.894 tagged_above=-999 required=5 tests=[AWL=4.405, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 JMUNZNANiyDW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 17:01:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DD3AC21E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 17:00:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyCA6-0003Rh-Jl for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 00:58:59 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <duerst@it.aoyama.ac.jp>) id 1RyC9N-0002v9-OU for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 00:58:13 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1RyC9J-0002Mx-Bg for ietf-http-wg@w3.org; Fri, 17 Feb 2012 00:58:13 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q1H0vfOL031193 for <ietf-http-wg@w3.org>; Fri, 17 Feb 2012 09:57:41 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 7b23_3760_64be7bdc_5902_11e1_9ae1_001d096c566a; Fri, 17 Feb 2012 09:57:40 +0900
Received: from [IPv6:::1] ([133.2.210.1]:58406) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S159BDC4> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Fri, 17 Feb 2012 09:57:45 +0900
Message-ID: <4F3DA604.4000904@it.aoyama.ac.jp>
Date: Fri, 17 Feb 2012 09:57:40 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Adrien de Croy <adrien@qbik.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4F3CB0A2.1030904@qbik.com>
In-Reply-To: <4F3CB0A2.1030904@qbik.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RyC9J-0002Mx-Bg 78d48fe62786b84ea2931ca6dc2d6ccc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RFC format - time for an update?
Archived-At: <http://www.w3.org/mid/4F3DA604.4000904@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12451
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>
Resent-Message-Id: <E1RyCA6-0003Rh-Jl@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 00:58:58 +0000

There's also a list for people interested in the work of the RFC Editor. 
Below are the relevant list headers. There's discussion about this topic 
on that list once in a while, too.

Regards,   Martin.

List-Id: "A list for discussion of the RFC series and RFC Editor functions."
	<rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>,
	<mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>,
	<mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>


On 2012/02/16 16:30, Adrien de Croy wrote:
>
> Hi all
>
> I'm sure this is probably the wrong list to send this to, so if someone
> could point me to the correct place, it would be appreciated.
>
> I've had the feeling for a while that the restrictions on formatting of
> RFCs and I-Ds (in terms of layout, columns, lines etc) place serious
> limitations on the ability of authors to adequately specify designs.
>
> For instance the inability to show images supporting concepts that can't
> be done in ascii-art and 76 columns.
>
> Specifications after all are intended to convey information to enable
> interoperable implementations. Therefore interop may suffer as a result
> of inability to adequately specify.
>
> Is it therefore time for a change, maybe to drag the format out of the
> 70's (or whenever it was solidified)?
>
> Most other standards bodies seem to have adopted a rich text format.
>
> Regards
>
> Adrien
>


From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 17:39:40 2012
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 7784821E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 17:39:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 MI-ESkFwSEeA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 17:39:40 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3E9221E8016 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 17:39:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyCmc-0001in-Ms for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 01:38:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RyCmA-0000Cv-2h for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 01:38:18 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RyCm8-0003Tv-5U for ietf-http-wg@w3.org; Fri, 17 Feb 2012 01:38:17 +0000
Received: from home.hno.se (cl-1345.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1H1bMxf009885; Fri, 17 Feb 2012 01:37:42 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1H1a0Uh010317; Fri, 17 Feb 2012 02:36:13 +0100
Message-ID: <1329377101.22776.22.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Date: Thu, 16 Feb 2012 08:25:01 +0100
In-Reply-To: <8968055A-06E4-4313-BB13-52DBDDB1A4A6@mnot.net>
References: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net> <4F30BEE9.70005@treenet.co.nz> <8968055A-06E4-4313-BB13-52DBDDB1A4A6@mnot.net>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Fri, 17 Feb 2012 01:37:43 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RyCm8-0003Tv-5U 9a219b79c8d2893e181b5203773d7e1c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #227: HEAD and Caches
Archived-At: <http://www.w3.org/mid/1329377101.22776.22.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12455
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>
Resent-Message-Id: <E1RyCmc-0001in-Ms@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 01:38:46 +0000

mÃ¥n 2012-02-13 klockan 15:45 +1100 skrev Mark Nottingham:
> New:   
> 
> The response to a HEAD request is cacheable; it MAY be used to satisfy
> subsequent HEAD requests. 

You just lost the property of HEAD updating GET responses. This is a
very intentional property.

HEAD response == GET response minus body. As such it has the same cache
metadata update properties as 304 responses or merge of 204 responses.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 17:39:40 2012
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 912D821E8016 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 17:39:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 5uwYq3a9Ej1p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 17:39:40 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E42B121E807E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 17:39:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyCmD-0000MN-IX for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 01:38:21 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RyClz-0008J1-DX for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 01:38:07 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RyCls-0003Tc-UW for ietf-http-wg@w3.org; Fri, 17 Feb 2012 01:38:06 +0000
Received: from home.hno.se (cl-1345.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1H1bHmP009805; Fri, 17 Feb 2012 01:37:38 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1H1a0Ue010317; Fri, 17 Feb 2012 02:36:07 +0100
Message-ID: <1329375480.22776.3.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 16 Feb 2012 07:58:00 +0100
In-Reply-To: <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Fri, 17 Feb 2012 01:37:38 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RyCls-0003Tc-UW 35a5ba2acf9beb7c61d8957b8c8ada35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/1329375480.22776.3.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12452
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>
Resent-Message-Id: <E1RyCmD-0000MN-IX@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 01:38:21 +0000

tis 2012-02-07 klockan 08:38 -0800 skrev Martin Thomson:

> There isn't a security problem.  X has the information and could
> forward to Y itself.

No it doesn't. Y may require authentication / session cookies / IP based
access lists etc which X can not provide on it's own.

Obviously it only makes a significant difference for user-agents using
explicit URLs and not in the fuzzy case of surfing some web site with a
browser.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 18:01:16 2012
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 EAE2121E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 18:01:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 oE-BcpLodMRn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 18:01:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6681E21E808F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 18:01:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyCmL-0000n0-6I for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 01:38:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RyCm0-0008Lm-8P for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 01:38:08 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RyClv-0003Th-RO for ietf-http-wg@w3.org; Fri, 17 Feb 2012 01:38:07 +0000
Received: from home.hno.se (cl-1345.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1H1bJUl009876; Fri, 17 Feb 2012 01:37:39 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1H1a0Uf010317; Fri, 17 Feb 2012 02:36:09 +0100
Message-ID: <1329375798.22776.5.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 16 Feb 2012 08:03:18 +0100
In-Reply-To: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Fri, 17 Feb 2012 01:37:40 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RyClv-0003Th-RO 34450350876878c2800882d926984baf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/1329375798.22776.5.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12453
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>
Resent-Message-Id: <E1RyCmL-0000n0-6I@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 01:38:29 +0000

tis 2012-02-07 klockan 12:03 +1100 skrev Mark Nottingham:

> """
> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be sent and definition of new chunk-extensions is discouraged.
> """

+1 I think.

chunking is transport, and transport should be kept as unambiguous as
possible.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 18:01:17 2012
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 50D5A21E808F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 18:01:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 mIiPTaZSoFle for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 18:01:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B00AA21E80A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 18:01:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyCqr-00013V-Sn for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 01:43:10 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RyCqg-0000vG-HD for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 01:42:58 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RyCqe-0000W8-J2 for ietf-http-wg@w3.org; Fri, 17 Feb 2012 01:42:57 +0000
Received: from home.hno.se (cl-1345.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1H1gACn022005; Fri, 17 Feb 2012 01:42:34 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1H1a0Ui010317; Fri, 17 Feb 2012 02:36:14 +0100
Message-ID: <1329377835.22776.29.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 16 Feb 2012 08:37:15 +0100
In-Reply-To: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net>
References: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Fri, 17 Feb 2012 01:42:34 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RyCqe-0000W8-J2 1a52423bf2a3ae73373a4971160ef8e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #337: Field names in cache-control header arguments
Archived-At: <http://www.w3.org/mid/1329377835.22776.29.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12456
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>
Resent-Message-Id: <E1RyCqr-00013V-Sn@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 01:43:09 +0000

mÃ¥n 2012-02-13 klockan 15:56 +1100 skrev Mark Nottingham:

> I had a look at this. I think we can fix things for private -- proposal is to change:
> 
> ... That is, a shared cache MUST NOT store the specified field-names(s), whereas it MAY store the remainder of the response message.
> 
> to
> 
> ... That is, a shared cache MUST NOT store the specified field-names(s), whereas it MAY store the remainder of the response message (and subsequently reuse it).

Ok.

> However, the semantics of these arguments on no-cache is much less
> clear. IME this isn't implemented, so I'd suggest deprecating it by
> changing:

qualified no-cache == qualified private, except that private only
applies to shared caches.

>       If the no-cache response directive specifies one or more field-
>       names, this requirement is limited to the field-values associated
>       with the listed response header fields.  That is, a cache MUST NOT
>       send the specified field-name(s) in the response to a subsequent
>       request without successful validation on the origin server.  This
>       allows an origin server to prevent the re-use of certain header
>       fields in a response, while still allowing caching of the rest of
>       the response.
> 
>       Note: Most HTTP/1.0 caches will not recognize or obey this
>       directive.  Also, no-cache response directives with field-names
>       are often handled by implementations as if an unqualified no-cache
>       directive was received; i.e., the special handling for the
>       qualified form is not widely implemented.

I don't see a need for bloating the specification with this note. It do
not add any value, only confusion.

> To:
> 
> """
> The no-cache response directive was originally defined to allow
> specification of one or more field-names as a parameter value.
> However, this form is not widely implemented, and their semantics are
> not well-defined; as a result, this form is deprecated, and servers
> SHOULD NOT send them. Caches are advised to silently ignore these
> parameters and treat the response as if it had contained a bare
> no-cache directive.
> """

Why?

The original text for no-cache is fine imho.

> Comments? I'm not against also deprecating them in this fashion on
> private, if there's support for that.

Why?

Cache-Control: private=Set-Cookie

makes a whole lot sense to support, and I see no reason why to deprecate
this.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Thu Feb 16 18:01:17 2012
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 8870321E808F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 18:01:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 KUtxL9PfOtYZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Feb 2012 18:01:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ECD2C21E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Feb 2012 18:01:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyCmT-0001Ck-J9 for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 01:38:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RyCm0-0008N5-RX for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 01:38:08 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RyClv-0003Ti-RF for ietf-http-wg@w3.org; Fri, 17 Feb 2012 01:38:07 +0000
Received: from home.hno.se (cl-1345.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1H1bKNi009878; Fri, 17 Feb 2012 01:37:41 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1H1a0Ug010317; Fri, 17 Feb 2012 02:36:11 +0100
Message-ID: <1329376938.22776.20.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 16 Feb 2012 08:22:18 +0100
In-Reply-To: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net>
References: <82FD845F-2F98-445E-8F2F-3BCA1632A853@mnot.net>
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Fri, 17 Feb 2012 01:37:41 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-0.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RyClv-0003Ti-RF 81d86e0291b1df49b5260092c19522f6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #227: HEAD and Caches
Archived-At: <http://www.w3.org/mid/1329376938.22776.20.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12454
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>
Resent-Message-Id: <E1RyCmT-0001Ck-J9@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 01:38:37 +0000

tis 2012-02-07 klockan 15:03 +1100 skrev Mark Nottingham:

> A few problems:
> 
> 1. Since it specifies required cache behaviour, it really should be in p6

Yes.

> 2. The second MAY seems to conflict with the MUST

Not really but should perhaps read "cached", not "cache".

It's a mutually exclusive condition. Remember that MUST have priority
over MAY, and with the two even in the same sentence there isn't much
room for confusion.

If the cached entry identity matches the HEAD response then it may be
updated with information from HEAD just as in the case of 304 responses
or 204 responses.

If the cached entry identity do not match the HEAD response then the
cached entry is stale even if it's cached expiry information says
otherwise.


> 3. Caches can store multiple representations for a resource, so there is no "current representation."

Not really a problem.

If there is no Vary then URI == Resource.

On resources using Vary then representations of URIs should have
identification means making them unique

a) ETag
b) Content-Location

and on Vary not using * then there is a clear mapping of
request->representation allowing HEAD responses to clearly indicate
earlier responses that match this request as stale.

> Part of the problem here really is that it's not "updating" any
> response, but it is potentially invalidating an old one.

What?

HEAD responses that match the cached representation may update the
cached representation with new Date etc. It's a form of cache validation
if you like.

> To resolve this, we could construct a requirement that refers to p6
> 2.7 ("Caching Negotiated Responses") to identify the correct response
> to compare to and (potentially) invalidate. 

It's simply the last known response that matches the request.

This response may be composed by aggregating many earlier responses

304
HEAD response
merged 204 responses
partial 200 response
200 response

> However, I wonder if a) this is widely implemented, and b) the
> complexity is worth it.

a) Probably not.

b) Probably worthwhile explaining the above response merge model of
caches.

> I.e., we could alternatively just remove everything after the first
> sentence (i.e., treat the second MAY as primary, and therefore make
> the whole thing redundant).

Some common guidance on how/when cache entries are
updated/merged/invalidated may help. The same properties & conditions
applies in all cases. Both in intent (keeping cache up to date avoiding
unneeded roundtrips) and issues (avoiding bad updates, servers not
providing correct data in many cases)

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 07:43:40 2012
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 A611A21F86D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 07:43:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 G7JCMSDLMaWV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 07:43:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8BD5321F86D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 07:43:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyPwl-0008M5-HA for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 15:42:07 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1RyPwX-0008J6-MF for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 15:41:53 +0000
Received: from mail-vw0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1RyPwS-0006tA-Jn for ietf-http-wg@w3.org; Fri, 17 Feb 2012 15:41:52 +0000
Received: by vbbfq11 with SMTP id fq11so3351863vbb.2 for <ietf-http-wg@w3.org>; Fri, 17 Feb 2012 07:41:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=EhYEDxuHI0lA9dFWDWQr1PpOuoUDVYtcmd/lPK5QRRo=; b=qlXWBJrTxSQz+iGSWE93PO/Ls/D3s2sVYDNgAiHL66sxcdEb+9mzaBb07GONVzQFS8 KCdDaAGsdh2BPwxfz23Z5u2sG60w31jsLystvXHZpyW8/6iJhlq6lrsD8A7FhFUXfup5 1A4PBRK/D9f25aX6TxkJm3kT6DxUVxG30nvLc=
MIME-Version: 1.0
Received: by 10.52.90.164 with SMTP id bx4mr3313316vdb.128.1329493283115; Fri, 17 Feb 2012 07:41:23 -0800 (PST)
Received: by 10.220.202.136 with HTTP; Fri, 17 Feb 2012 07:41:22 -0800 (PST)
In-Reply-To: <1329375798.22776.5.camel@home.hno.se>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <1329375798.22776.5.camel@home.hno.se>
Date: Fri, 17 Feb 2012 09:41:22 -0600
Message-ID: <CACuKZqGf=-q-kS59ib_GiuvNQG9KWt1z8_yX0B1PqGqOY9v5fA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1RyPwS-0006tA-Jn f8213ff82cb40ce58da86218fa894c50
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/CACuKZqGf=-q-kS59ib_GiuvNQG9KWt1z8_yX0B1PqGqOY9v5fA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12457
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>
Resent-Message-Id: <E1RyPwl-0008M5-HA@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 15:42:07 +0000

Are white spaces allowed between chunk-size and CRLF? (Apparently so
in RFC2616: section 2.1 implied *LWS)

On Thu, Feb 16, 2012 at 1:03 AM, Henrik Nordstr=F6m
<henrik@henriknordstrom.net> wrote:
> tis 2012-02-07 klockan 12:03 +1100 skrev Mark Nottingham:
>
>> """
>> Use of chunk-extensions by senders is deprecated; they SHOULD NOT be sen=
t and definition of new chunk-extensions is discouraged.
>> """
>
> +1 I think.
>
> chunking is transport, and transport should be kept as unambiguous as
> possible.
>
> Regards
> Henrik
>
>


From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 07:55:52 2012
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 1DF5421F87C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 07:55:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.356
X-Spam-Level: 
X-Spam-Status: No, score=-8.356 tagged_above=-999 required=5 tests=[AWL=2.243, 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 QuVfsstZ5N4h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 07:55:51 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8F90C21F8730 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 07:55:51 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyQ8y-0004BY-ST for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 15:54:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RyQ8m-00048T-8m for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 15:54:32 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RyQ8h-0004bx-EL for ietf-http-wg@w3.org; Fri, 17 Feb 2012 15:54:31 +0000
Received: (qmail invoked by alias); 17 Feb 2012 15:54:00 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.83]) [217.91.35.233] by mail.gmx.net (mp031) with SMTP; 17 Feb 2012 16:54:00 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18Ypg8M17AYMq1FTWcTZZYMH3KUHZUwNvevAUw9DF xTyLLCQag+LP3q
Message-ID: <4F3E7816.4070709@gmx.de>
Date: Fri, 17 Feb 2012 16:53:58 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: ietf@ietf.org
CC: IETF Apps Discuss <apps-discuss@ietf.org>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <20120217144555.26744.99147.idtracker@ietfa.amsl.com>
In-Reply-To: <20120217144555.26744.99147.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RyQ8h-0004bx-EL 0ba2e746e881180771d8f181e750a5a8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-reschke-http-status-308-05.txt> (The Hypertext  Transfer Protocol (HTTP) Status Code 308 (Permanent Redirect)) to Experimental  RFC
Archived-At: <http://www.w3.org/mid/4F3E7816.4070709@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12458
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>
Resent-Message-Id: <E1RyQ8y-0004BY-ST@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 15:54:44 +0000

(FYI)

Also, an HTML version with feedback links is available at 
<http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-05.html>.

Best regards, Julian

On 2012-02-17 15:45, The IESG wrote:
>
> The IESG has received a request from an individual submitter to consider
> the following document:
> - 'The Hypertext Transfer Protocol (HTTP) Status Code 308 (Permanent
>     Redirect)'
>    <draft-reschke-http-status-308-05.txt>  as an Experimental RFC
>
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action. Please send substantive comments to the
> ietf@ietf.org mailing lists by 2012-03-16. Exceptionally, comments may be
> sent to iesg@ietf.org instead. In either case, please retain the
> beginning of the Subject line to allow automated sorting.
>
> Abstract
>
>
>     This document specifies the additional HyperText Transfer Protocol
>     (HTTP) Status Code 308 (Permanent Redirect).
>
>
>
>
> The file can be obtained via
> http://datatracker.ietf.org/doc/draft-reschke-http-status-308/
>
> IESG discussion can be tracked via
> http://datatracker.ietf.org/doc/draft-reschke-http-status-308/
>
>
> No IPR declarations have been submitted directly on this I-D.
>
>
> _______________________________________________
> IETF-Announce mailing list
> IETF-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/ietf-announce
>



From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 12:22:21 2012
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 B2E2F21E802E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 12:22:21 -0800 (PST)
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=[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 PtKdkljBI2Hc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 12:22:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 16F2921E802B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 12:22:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyUIX-00023y-Jy for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 20:20:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1RyUIL-000237-2I for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 20:20:41 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1RyUIJ-0005KL-1m for ietf-http-wg@w3.org; Fri, 17 Feb 2012 20:20:40 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8508-out with ME id b8LB1i0054WQcrc038LBXm; Fri, 17 Feb 2012 21:20:12 +0100
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 6070D1A4A; Fri, 17 Feb 2012 21:20:11 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X7vBCzLlpszI; Fri, 17 Feb 2012 21:20:09 +0100 (CET)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Fri, 17 Feb 2012 21:20:09 +0100 (CET)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Fri, 17 Feb 2012 21:20:09 +0100
Message-ID: <ee6612fe73668c0cb971789f45cee6aa.squirrel@arekh.dyndns.org>
In-Reply-To: <20120216174400.GD22315@1wt.eu>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org> <20120216174400.GD22315@1wt.eu>
Date: Fri, 17 Feb 2012 21:20:09 +0100
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Willy Tarreau" <w@1wt.eu>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-4.fc17
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RyUIJ-0005KL-1m 5d0884d0428cb4432f9558de244e9d15
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/ee6612fe73668c0cb971789f45cee6aa.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12459
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>
Resent-Message-Id: <E1RyUIX-00023y-Jy@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 20:20:53 +0000

Le Jeu 16 fÃ©vrier 2012 18:44, Willy Tarreau a Ã©crit :
> On Thu, Feb 16, 2012 at 03:36:47PM +0100, Nicolas Mailhot wrote:

>> The 407 error must be extended to indicate the https proxy authentication
>> portal location to handle the cases where it is not desirable to have proxy
>> auth transmitted in clear, and clients are too dumb to support anything more
>> complex than basic auth over http or https.

>
> Well, this is one more reason for urging all browser vendors to support
> proxying over https. This will put an end to this redirection madness
> which prevents most HTTP agents from working in such environments (eg:
> firefox cannot even update itself at a customer's due to such proxies,
> so everyone uses outdated versions until they decide to download the full
> image again).

Thank you for your support
I believe fixing this hole in the spec is also needed to get working captive
portals (instead of the current half-working piles of bandaids that never
quite work correctly)


-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 13:19:01 2012
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 C5DBA11E8076 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 13:19:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 884Wz3CigN6Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 13:19:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 654E011E8081 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 13:19:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyVBo-0008Hp-3U for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 21:18:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1RyVBe-0008H9-Vl for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 21:17:51 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RyVBd-0002fe-3F for ietf-http-wg@w3.org; Fri, 17 Feb 2012 21:17:50 +0000
Received: from home.hno.se (home.henriknordstrom.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1HLHLLT019843; Fri, 17 Feb 2012 21:17:22 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1HLGowD013391; Fri, 17 Feb 2012 22:16:50 +0100
Message-ID: <1329513410.7272.3.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Fri, 17 Feb 2012 22:16:50 +0100
In-Reply-To: <CACuKZqGf=-q-kS59ib_GiuvNQG9KWt1z8_yX0B1PqGqOY9v5fA@mail.gmail.com>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <1329375798.22776.5.camel@home.hno.se> <CACuKZqGf=-q-kS59ib_GiuvNQG9KWt1z8_yX0B1PqGqOY9v5fA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Fri, 17 Feb 2012 21:17:23 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RyVBd-0002fe-3F d0529615b5f6a2ce48d0924894845e3a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/1329513410.7272.3.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12460
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>
Resent-Message-Id: <E1RyVBo-0008Hp-3U@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 21:18:00 +0000

fre 2012-02-17 klockan 09:41 -0600 skrev Zhong Yu:
> Are white spaces allowed between chunk-size and CRLF? (Apparently so
> in RFC2616: section 2.1 implied *LWS)

Probably.

But I do expect quite many implementations to fail if presented with
chunk extensions or odd whitespace here so better not compose such chunk
formatting.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 13:28:59 2012
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 73D8B11E8094 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 13:28:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.599
X-Spam-Level: 
X-Spam-Status: No, score=-8.599 tagged_above=-999 required=5 tests=[AWL=2.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 EqBsGB2G3Quq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 13:28:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ACEFC11E808D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 13:28:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyVLB-0000ed-Sd for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 21:27:41 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <daniel@haxx.se>) id 1RyVKy-0000dh-Gl for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 21:27:28 +0000
Received: from giant.haxx.se ([80.67.6.50]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1RyVKt-0002xq-Nn for ietf-http-wg@w3.org; Fri, 17 Feb 2012 21:27:27 +0000
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id q1HLQ87X008256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 Feb 2012 22:26:08 +0100
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id q1HLQ8XQ008252; Fri, 17 Feb 2012 22:26:08 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Fri, 17 Feb 2012 22:26:08 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Zhong Yu <zhong.j.yu@gmail.com>
cc: =?ISO-8859-15?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <CACuKZqGf=-q-kS59ib_GiuvNQG9KWt1z8_yX0B1PqGqOY9v5fA@mail.gmail.com>
Message-ID: <alpine.DEB.2.00.1202172221470.26722@tvnag.unkk.fr>
References: <99C2C1C5-2CF3-4967-A5D9-F2705D580F8A@mnot.net> <1329375798.22776.5.camel@home.hno.se> <CACuKZqGf=-q-kS59ib_GiuvNQG9KWt1z8_yX0B1PqGqOY9v5fA@mail.gmail.com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Received-SPF: none client-ip=80.67.6.50; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RyVKt-0002xq-Nn 478a5b25cd90c706ac6b2090413e1833
X-Original-To: ietf-http-wg@w3.org
Subject: Re: chunk-extensions
Archived-At: <http://www.w3.org/mid/alpine.DEB.2.00.1202172221470.26722@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12461
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>
Resent-Message-Id: <E1RyVLB-0000ed-Sd@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 21:27:41 +0000

On Fri, 17 Feb 2012, Zhong Yu wrote:

> Are white spaces allowed between chunk-size and CRLF? (Apparently so in 
> RFC2616: section 2.1 implied *LWS)

When I wrote the chunked encoded parser for libcurl I hadn't realized the idea 
of implied *LWS.

Now, eleven years later I check the code just because of this mail thread and 
I'll be darned - it doesn't allow white spaces after the hex digits! This 
said, I don't think I've _ever_ seen a bug (report) due to this.

I wouldn't mind if we spelled out HTTPbis to not allow them as they basically 
never happen in the wild.

-- 

  / daniel.haxx.se


From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 15:11:34 2012
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 ACDDA11E80B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 15:11:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.1
X-Spam-Level: 
X-Spam-Status: No, score=-8.1 tagged_above=-999 required=5 tests=[AWL=2.199, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 YBxEo+wU7ajX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 15:11:32 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2FEB111E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 15:11:32 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyWve-00021L-8R for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 23:09:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1RyWvP-0001ul-76 for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 23:09:11 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1RyWvK-0001u2-73 for ietf-http-wg@w3.org; Fri, 17 Feb 2012 23:09:10 +0000
Received: by bkcjg15 with SMTP id jg15so4387854bkc.2 for <ietf-http-wg@w3.org>; Fri, 17 Feb 2012 15:08:40 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.204.9.214 as permitted sender) client-ip=10.204.9.214;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.204.9.214 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.204.9.214]) by 10.204.9.214 with SMTP id m22mr4028928bkm.111.1329520120456 (num_hops = 1); Fri, 17 Feb 2012 15:08:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=vpF8xyKrvYy/JnJ6pzh8Leb85/J+1WEgY0lcINsMbgI=; b=nw5Hb02a0vY8Eq1dMlU8RrKJzVwtmCWdpSn2L9Tvr29PBdtgm8dfbEswnJSuo5fMA7 7to1PecvzevA1vbtaUmetjxE0d+6xjp7/agHa9/NAJCxKRphccgjDqKbuYVwUjvAcnvd 3v0+ap/LT3eQcPl3jDnOrSdE3vBgHqtNhWqhM=
MIME-Version: 1.0
Received: by 10.204.9.214 with SMTP id m22mr3297563bkm.111.1329520120371; Fri, 17 Feb 2012 15:08:40 -0800 (PST)
Received: by 10.204.241.81 with HTTP; Fri, 17 Feb 2012 15:08:40 -0800 (PST)
In-Reply-To: <1329375480.22776.3.camel@home.hno.se>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <1329375480.22776.3.camel@home.hno.se>
Date: Fri, 17 Feb 2012 15:08:40 -0800
Message-ID: <CABkgnnUCHw4=yM0jO6apkuSJe+vLkGKRPZGDvxwiV3_WXuUkOg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: =?UTF-8?Q?Henrik_Nordstr=C3=B6m?= <henrik@henriknordstrom.net>,  Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1RyWvK-0001u2-73 b760488eb6cfe72a314b336ae33537f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CABkgnnUCHw4=yM0jO6apkuSJe+vLkGKRPZGDvxwiV3_WXuUkOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12462
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>
Resent-Message-Id: <E1RyWve-00021L-8R@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 23:09:26 +0000

2012/2/15 Henrik Nordstr=C3=B6m <henrik@henriknordstrom.net>:
> tis 2012-02-07 klockan 08:38 -0800 skrev Martin Thomson:
>
>> There isn't a security problem. =C2=A0X has the information and could
>> forward to Y itself.
>
> No it doesn't. Y may require authentication / session cookies / IP based
> access lists etc which X can not provide on it's own.

Damn, I can be dense sometimes.  Obviously, if I can convince you to
send me a POST that says "transfer $10 to acct number X" (which is
trivially easy) and then redirect you to your bank, if you have an
open session and the bank doesn't check Referer (though that wouldn't
necessarily help), you've just made an easy $10.

Are there any measures that browsers could take to limit this sort of
thing?  I'm thinking for Julian's 308 draft in particular.  Obviously
it already applies to 307.  The 308 draft only cites Section 11 of p2,
which doesn't even mention this particular problem.

Just off the cuff, it seems to me that a method preserving redirect
(307, 308) should almost operate in the same sort of security context
as a cross domain request (CORS).  That means that user credentials
are removed unless the target resource explicitly accepts them.  Or
you could just take the position that this is a problem for the target
site.

Problem?  Or have I just missed something else?


From ietf-http-wg-request@listhub.w3.org  Fri Feb 17 15:22:40 2012
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 CDCE521F8704 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 15:22:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.31
X-Spam-Level: 
X-Spam-Status: No, score=-10.31 tagged_above=-999 required=5 tests=[AWL=-0.333, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 O7f+fJVmwJn4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Feb 2012 15:22:33 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2747B21F86F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Feb 2012 15:22:33 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RyX6e-0006ED-Sw for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Feb 2012 23:20:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w3c@adambarth.com>) id 1RyX6S-00065J-CP for ietf-http-wg@listhub.w3.org; Fri, 17 Feb 2012 23:20:36 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w3c@adambarth.com>) id 1RyX6N-0002G8-D2 for ietf-http-wg@w3.org; Fri, 17 Feb 2012 23:20:35 +0000
Received: by werb14 with SMTP id b14so2752877wer.2 for <ietf-http-wg@w3.org>; Fri, 17 Feb 2012 15:20:05 -0800 (PST)
Received-SPF: pass (google.com: domain of w3c@adambarth.com designates 10.180.78.233 as permitted sender) client-ip=10.180.78.233;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of w3c@adambarth.com designates 10.180.78.233 as permitted sender) smtp.mail=w3c@adambarth.com
Received: from mr.google.com ([10.180.78.233]) by 10.180.78.233 with SMTP id e9mr1299166wix.0.1329520805360 (num_hops = 1); Fri, 17 Feb 2012 15:20:05 -0800 (PST)
Received: by 10.180.78.233 with SMTP id e9mr1128734wix.0.1329520805288; Fri, 17 Feb 2012 15:20:05 -0800 (PST)
Received: from mail-lpp01m010-f43.google.com (mail-lpp01m010-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id p10sm197741wic.0.2012.02.17.15.20.03 (version=SSLv3 cipher=OTHER); Fri, 17 Feb 2012 15:20:04 -0800 (PST)
Received: by lagp5 with SMTP id p5so5670963lag.2 for <ietf-http-wg@w3.org>; Fri, 17 Feb 2012 15:20:03 -0800 (PST)
Received-SPF: pass (google.com: domain of w3c@adambarth.com designates 10.152.132.133 as permitted sender) client-ip=10.152.132.133;
Received: from mr.google.com ([10.152.132.133]) by 10.152.132.133 with SMTP id ou5mr7945558lab.46.1329520803126 (num_hops = 1); Fri, 17 Feb 2012 15:20:03 -0800 (PST)
Received: by 10.152.132.133 with SMTP id ou5mr6631881lab.46.1329520803111; Fri, 17 Feb 2012 15:20:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.112.100.66 with HTTP; Fri, 17 Feb 2012 15:19:33 -0800 (PST)
In-Reply-To: <CABkgnnUCHw4=yM0jO6apkuSJe+vLkGKRPZGDvxwiV3_WXuUkOg@mail.gmail.com>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <1329375480.22776.3.camel@home.hno.se> <CABkgnnUCHw4=yM0jO6apkuSJe+vLkGKRPZGDvxwiV3_WXuUkOg@mail.gmail.com>
From: Adam Barth <w3c@adambarth.com>
Date: Fri, 17 Feb 2012 15:19:33 -0800
Message-ID: <CAJE5ia9i77xJ3pbtNLm5h36yZrkBd+e95ogqZ7srAFMAgjc0Vw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>,  Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkhD78/EYhg7RozPirueVVDI9wGyAI0FKpo3DkZonKZjbI2P9HABzQkJjo8LgXEGVGZjJpO
Received-SPF: none client-ip=74.125.82.171; envelope-from=w3c@adambarth.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1RyX6N-0002G8-D2 d1730b31bddc52de3cfbdc03852e27ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/CAJE5ia9i77xJ3pbtNLm5h36yZrkBd+e95ogqZ7srAFMAgjc0Vw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12463
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>
Resent-Message-Id: <E1RyX6e-0006ED-Sw@frink.w3.org>
Resent-Date: Fri, 17 Feb 2012 23:20:48 +0000

2012/2/17 Martin Thomson <martin.thomson@gmail.com>:
> 2012/2/15 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
>> tis 2012-02-07 klockan 08:38 -0800 skrev Martin Thomson:
>>
>>> There isn't a security problem. =A0X has the information and could
>>> forward to Y itself.
>>
>> No it doesn't. Y may require authentication / session cookies / IP based
>> access lists etc which X can not provide on it's own.
>
> Damn, I can be dense sometimes. =A0Obviously, if I can convince you to
> send me a POST that says "transfer $10 to acct number X" (which is
> trivially easy) and then redirect you to your bank, if you have an
> open session and the bank doesn't check Referer (though that wouldn't
> necessarily help), you've just made an easy $10.
>
> Are there any measures that browsers could take to limit this sort of
> thing?

You're describing a CSRF attack.  There is a moderate size literature
about possible browser solutions to CSRF, but none of them have caught
on.  In the meantime, web site defend themselves against this attack
using secret tokens.

For more details, please see
<http://www.adambarth.com/papers/2008/barth-jackson-mitchell-b.pdf>.

Adam


From ietf-http-wg-request@listhub.w3.org  Sat Feb 18 07:54:17 2012
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 C7CE121F851D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 07:54:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.369
X-Spam-Level: 
X-Spam-Status: No, score=-9.369 tagged_above=-999 required=5 tests=[AWL=-0.929, BAYES_20=-0.74, MIME_8BIT_HEADER=0.3, 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 G3YiIkVet5jA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 07:54:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2367321F851E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Feb 2012 07:54:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RymaB-0001eO-DF for ietf-http-wg-dist@listhub.w3.org; Sat, 18 Feb 2012 15:52:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1Ryma6-0001db-Fi for ietf-http-wg@listhub.w3.org; Sat, 18 Feb 2012 15:52:14 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1Ryma4-0001bM-4u for ietf-http-wg@w3.org; Sat, 18 Feb 2012 15:52:13 +0000
Received: from home.hno.se (home.henriknordstrom.net [IPv6:2001:16d8:ff00:540::2]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1IFplRA021905; Sat, 18 Feb 2012 15:51:49 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1IFpEsX000687; Sat, 18 Feb 2012 16:51:14 +0100
Message-ID: <1329580274.27771.14.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Sat, 18 Feb 2012 16:51:14 +0100
In-Reply-To: <CABkgnnUCHw4=yM0jO6apkuSJe+vLkGKRPZGDvxwiV3_WXuUkOg@mail.gmail.com>
References: <D0B459B9-B399-48F5-B1FC-F90F2D420BD9@mnot.net> <4F313FE3.2060302@gmx.de> <op.v9bfj6fw64w2qv@annevk-macbookpro.local> <4F314C5F.40009@gmx.de> <CABkgnnXt6seg=fAyMS04RhZ=CyFr4uUg9K7mnEq4NAcoVi+ORQ@mail.gmail.com> <1329375480.22776.3.camel@home.hno.se> <CABkgnnUCHw4=yM0jO6apkuSJe+vLkGKRPZGDvxwiV3_WXuUkOg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Sat, 18 Feb 2012 15:51:49 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Ryma4-0001bM-4u 0f977d731304c1516cb43d7bbbccedcc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #328: user Intervention on Redirects
Archived-At: <http://www.w3.org/mid/1329580274.27771.14.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12464
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>
Resent-Message-Id: <E1RymaB-0001eO-DF@frink.w3.org>
Resent-Date: Sat, 18 Feb 2012 15:52:19 +0000

fre 2012-02-17 klockan 15:08 -0800 skrev Martin Thomson:


> Damn, I can be dense sometimes.  Obviously, if I can convince you to
> send me a POST that says "transfer $10 to acct number X" (which is
> trivially easy) and then redirect you to your bank, if you have an
> open session and the bank doesn't check Referer (though that wouldn't
> necessarily help), you've just made an easy $10.

Yes.

> Are there any measures that browsers could take to limit this sort of
> thing?

Yes, and they do to various degree.

> Just off the cuff, it seems to me that a method preserving redirect
> (307, 308) should almost operate in the same sort of security context
> as a cross domain request (CORS).  That means that user credentials
> are removed unless the target resource explicitly accepts them.  Or
> you could just take the position that this is a problem for the target
> site.

It's a problem for all involved.

user-agent should limit the exposure of automatic cross-domain actions
other than GET.

Non-safe methods (i.e. mostly anything except for HEAD/GET) should not
be automatically retried on redirect.

Origin servers with user-sensitive actions performed via POST need to
use embedded session parameters to protect from cross-domain actions
(i.e. embedded one-time parameter in forms to verify the origin of the
submitting form)

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Sat Feb 18 09:20:09 2012
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 C9F4721F851D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 09:20:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.924
X-Spam-Level: 
X-Spam-Status: No, score=-9.924 tagged_above=-999 required=5 tests=[AWL=0.675, 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 GsoT-4uL3DLO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 09:20:09 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1254121F851B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Feb 2012 09:20:09 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rynvd-0004LI-0k for ietf-http-wg-dist@listhub.w3.org; Sat, 18 Feb 2012 17:18:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RynvT-0004Hr-1D for ietf-http-wg@listhub.w3.org; Sat, 18 Feb 2012 17:18:23 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RynvR-00064k-Bz for ietf-http-wg@w3.org; Sat, 18 Feb 2012 17:18:22 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id EB957E7197 for <ietf-http-wg@w3.org>; Sun, 19 Feb 2012 06:17:56 +1300 (NZDT)
Message-ID: <4F3FDD43.6040704@treenet.co.nz>
Date: Sun, 19 Feb 2012 06:17:55 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>    <20120216174400.GD22315@1wt.eu> <ee6612fe73668c0cb971789f45cee6aa.squirrel@arekh.dyndns.org>
In-Reply-To: <ee6612fe73668c0cb971789f45cee6aa.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RynvR-00064k-Bz 872f1f36f68e217a90b70a1182a5aac8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/4F3FDD43.6040704@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12465
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>
Resent-Message-Id: <E1Rynvd-0004LI-0k@frink.w3.org>
Resent-Date: Sat, 18 Feb 2012 17:18:33 +0000

On 18/02/2012 9:20 a.m., Nicolas Mailhot wrote:
> Le Jeu 16 fÃ©vrier 2012 18:44, Willy Tarreau a Ã©crit :
>> On Thu, Feb 16, 2012 at 03:36:47PM +0100, Nicolas Mailhot wrote:
>>> The 407 error must be extended to indicate the https proxy authentication
>>> portal location to handle the cases where it is not desirable to have proxy
>>> auth transmitted in clear, and clients are too dumb to support anything more
>>> complex than basic auth over http or https.

The counter side of that is whether such clients likely to be smart 
enough to do TLS to the proxy anyway?

You mention some recent change in browser behviour on redirect to 
CONNECT. Can you point me at some reference material for that change?


>> Well, this is one more reason for urging all browser vendors to support
>> proxying over https. This will put an end to this redirection madness
>> which prevents most HTTP agents from working in such environments (eg:
>> firefox cannot even update itself at a customer's due to such proxies,
>> so everyone uses outdated versions until they decide to download the full
>> image again).
> Thank you for your support
> I believe fixing this hole in the spec is also needed to get working captive
> portals (instead of the current half-working piles of bandaids that never
> quite work correctly)

IME you will find all of us proxy folk in support of the idea. The 
browser folk seem strangely quite whenever it comes up.

AYJ


From ietf-http-wg-request@listhub.w3.org  Sat Feb 18 09:32:40 2012
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 D089B21F854C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 09:32:40 -0800 (PST)
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=[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 VCILgNPPfVqb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 09:32:40 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1F46A21F8548 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Feb 2012 09:32:40 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ryo7J-0000J3-8n for ietf-http-wg-dist@listhub.w3.org; Sat, 18 Feb 2012 17:30:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henry.story@bblfish.net>) id 1Ryo79-0000IC-1W for ietf-http-wg@listhub.w3.org; Sat, 18 Feb 2012 17:30:27 +0000
Received: from mail-ww0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henry.story@bblfish.net>) id 1Ryo77-0006h4-3u for ietf-http-wg@w3.org; Sat, 18 Feb 2012 17:30:26 +0000
Received: by wgbdt12 with SMTP id dt12so3040817wgb.26 for <ietf-http-wg@w3.org>; Sat, 18 Feb 2012 09:29:59 -0800 (PST)
Received-SPF: pass (google.com: domain of henry.story@bblfish.net designates 10.180.93.4 as permitted sender) client-ip=10.180.93.4;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of henry.story@bblfish.net designates 10.180.93.4 as permitted sender) smtp.mail=henry.story@bblfish.net
Received: from mr.google.com ([10.180.93.4]) by 10.180.93.4 with SMTP id cq4mr5006224wib.21.1329586199171 (num_hops = 1); Sat, 18 Feb 2012 09:29:59 -0800 (PST)
Received: by 10.180.93.4 with SMTP id cq4mr4188663wib.21.1329586199084; Sat, 18 Feb 2012 09:29:59 -0800 (PST)
Received: from bblfish.home (AAubervilliers-651-1-233-24.w83-200.abo.wanadoo.fr. [83.200.8.24]) by mx.google.com with ESMTPS id hb10sm11696097wib.10.2012.02.18.09.29.56 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 18 Feb 2012 09:29:56 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=windows-1252
From: Henry Story <henry.story@bblfish.net>
X-Priority: 3 (Normal)
In-Reply-To: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
Date: Sat, 18 Feb 2012 18:29:53 +0100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQn3FwvhXT8g5T/3Yn8j3NHOtj/5ZesCBHxBr7mM9p2fc7pjaHx8fRg/89piTY50YgUfMg+j
Received-SPF: none client-ip=74.125.82.45; envelope-from=henry.story@bblfish.net; helo=mail-ww0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Ryo77-0006h4-3u 6b63a4b1e7164f4646fb45c4b03d59ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12466
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>
Resent-Message-Id: <E1Ryo7J-0000J3-8n@frink.w3.org>
Resent-Date: Sat, 18 Feb 2012 17:30:37 +0000

On 16 Feb 2012, at 15:36, Nicolas Mailhot wrote:

> Hi,
>=20
> Now that browsers have started refusing redirection of https sessions, =
there
> is no clean way for a proxy to point browsers to an https =
authentication
> portal when they need to be authenticated or re-authenticated.

Hi Nicolas. I am working on WebID - an https protocol ( =
http://webid.info/spec ) -
so this sounds like it could be important to us. Do you have a pointer =
to=20
explain the situation here in more detail? I am not sure what kind of =
redirects
get refused, for what reason, etc....


>=20
> The 407 error must be extended to indicate the https proxy =
authentication
> portal location to handle the cases where it is not desirable to have =
proxy
> auth transmitted in clear, and clients are too dumb to support =
anything more
> complex than basic auth over http or https.
>=20
> (the other =93solution=94 is DPI, but that's not really appealing =
except to proxy
> aplicance manufacturers)
>=20
> Best regards,
>=20
> --=20
> Nicolas Mailhot
>=20
>=20

Social Web Architect
http://bblfish.net/



From ietf-http-wg-request@listhub.w3.org  Sat Feb 18 10:58:23 2012
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 054E521F85C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 10:58:23 -0800 (PST)
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=[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 rwPHisOUfbUu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 10:58:22 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F106F21F85BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Feb 2012 10:58:21 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RypSr-0001nW-Nd for ietf-http-wg-dist@listhub.w3.org; Sat, 18 Feb 2012 18:56:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1RypSg-0001mC-P0 for ietf-http-wg@listhub.w3.org; Sat, 18 Feb 2012 18:56:46 +0000
Received: from smtpout1.laposte.net ([193.253.67.226] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1RypSe-0000zo-Ey for ietf-http-wg@w3.org; Sat, 18 Feb 2012 18:56:45 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8501-out with ME id bWwG1i00D4WQcrc03WwGDr; Sat, 18 Feb 2012 19:56:17 +0100
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 8892918C0; Sat, 18 Feb 2012 19:56:16 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O5vCnOXZToc5; Sat, 18 Feb 2012 19:56:14 +0100 (CET)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Sat, 18 Feb 2012 19:56:14 +0100 (CET)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Sat, 18 Feb 2012 19:56:14 +0100
Message-ID: <73d3f3afbf70a977546f7c0f72d554ac.squirrel@arekh.dyndns.org>
In-Reply-To: <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org> <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
Date: Sat, 18 Feb 2012 19:56:14 +0100
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Henry Story" <henry.story@bblfish.net>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-4.fc17
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.226; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RypSe-0000zo-Ey 822f75eb804a842a99ed3fe216c1fab2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/73d3f3afbf70a977546f7c0f72d554ac.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12467
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>
Resent-Message-Id: <E1RypSr-0001nW-Nd@frink.w3.org>
Resent-Date: Sat, 18 Feb 2012 18:56:57 +0000

Le Sam 18 fÃ©vrier 2012 18:29, Henry Story a Ã©crit :
>
>On 16 Feb 2012, at 15:36, Nicolas Mailhot wrote:

>> Hi,
>
>> Now that browsers have started refusing redirection of https sessions, there
>> is no clean way for a proxy to point browsers to an https authentication
>> portal when they need to be authenticated or re-authenticated.

> Hi Nicolas. I am working on WebID - an https protocol (
> http://webid.info/spec ) -
> so this sounds like it could be important to us. Do you have a pointer to
> explain the situation here in more detail? I am not sure what kind of redirects
> get refused, for what reason, etc....

Hi Henry,

The problem as I understand it is pretty simple.

When you're managing an hotspot or corporate proxy you want to make sure only
authorized persons pass through. It's pretty easy to set up the network so
browsers have to pass through some control equipment to reach the internet.
However it's much more difficult to convince them to display some
authorization page so users can actually provide their credentials.

In both cases you need to handle generic browsers without any special
configuration, otherwise you can not support visitors (and they can use a wide
range of devices, from desktops to laptops, netbooks, tablets, the range
always increases).

So the usual workflow would be:

1. user with some browser-capable equipment arrives on the network (usually
you can not control physical access well enough to be sure every connecting
user is authorized to)
2. he types some address in his browser
3. network routes the request through the control equipment
4. the control equipment needs to know who the user is. In case of a visitor
it also probably needs to display some information to tell the user where to
get the required authorization. To get widest possible web client support,
it's usually done with http basic auth on an https portal page
5. the user fills in a valid user id and password
6. browser continues on the actual URL the user typed

In some cases it's even more complex since the authorization is not eternal or
the connection load is shared by several equipments that may be rebooted. In
that case setp 2. becomes:

2. the user is already engaged in some workflow on a web site (may have
started filling forms, have some http session state, etc)
3. network routes the request through the control equipment but the user auth
expired/was forgotten/the user never provided auth to this specific equipment
4. the control equipment needs to know/confirm who the user is (without
breaking the user workflow)
5. the user fills in a valid user id and password
6. browser continues whatever request triggered step 3 (forgetting forms users
may have spent quite a lot of time filling is not nice)

At step 2., the user is not typing the captive portal address (he might not
know it). To point the browser the right way, such equipments used to issue a
redirect. However that was never ideal (it's basically a man in the middle
attack) and browsers will not honour such redirects when the user is accessing
an https site since 2010 IIRC (I don't remember the CVE numbers, but every
major browser stopped honoring those redirects at about the same time) . So
now users get an empty page or a 'proxy does not like you' error page in the
middle of their https browsing

See also: https://en.wikipedia.org/wiki/Captive_portal

But the control equipments do not want to attack the user session. All they
want is to get the browser to display the captive portal auth page. All the
hacks detailed on the wikipedia page would never have been necessary if the
http protocol actually provided a standard way to get the browser to display
this page.

I'd really like the working group to define such a standard method. It
wouldn't be complex or difficult to implement in browsers, and it would solve
many actual problems now.

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Sat Feb 18 18:48:48 2012
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 262F321F848F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 18:48:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.938
X-Spam-Level: 
X-Spam-Status: No, score=-9.938 tagged_above=-999 required=5 tests=[AWL=0.661, 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 727yrumru5Wj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Feb 2012 18:48:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 29EF221F8484 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Feb 2012 18:48:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rywnk-0007Xt-6q for ietf-http-wg-dist@listhub.w3.org; Sun, 19 Feb 2012 02:47:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RywnY-0007Wx-HX for ietf-http-wg@listhub.w3.org; Sun, 19 Feb 2012 02:46:48 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RywnW-0005bm-6u for ietf-http-wg@w3.org; Sun, 19 Feb 2012 02:46:48 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 1AF6BE70E8 for <ietf-http-wg@w3.org>; Sun, 19 Feb 2012 15:46:21 +1300 (NZDT)
Message-ID: <4F406278.4090804@treenet.co.nz>
Date: Sun, 19 Feb 2012 15:46:16 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>    <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net> <73d3f3afbf70a977546f7c0f72d554ac.squirrel@arekh.dyndns.org>
In-Reply-To: <73d3f3afbf70a977546f7c0f72d554ac.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RywnW-0005bm-6u 49c719c9b1dccb1955d347a2bdf0c16b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/4F406278.4090804@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12468
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>
Resent-Message-Id: <E1Rywnk-0007Xt-6q@frink.w3.org>
Resent-Date: Sun, 19 Feb 2012 02:47:00 +0000

On 19/02/2012 7:56 a.m., Nicolas Mailhot wrote:
> Le Sam 18 fÃ©vrier 2012 18:29, Henry Story a Ã©crit :
>> On 16 Feb 2012, at 15:36, Nicolas Mailhot wrote:
>>> Hi,
>>> Now that browsers have started refusing redirection of https sessions, there
>>> is no clean way for a proxy to point browsers to an https authentication
>>> portal when they need to be authenticated or re-authenticated.
>> Hi Nicolas. I am working on WebID - an https protocol (
>> http://webid.info/spec ) -
>> so this sounds like it could be important to us. Do you have a pointer to
>> explain the situation here in more detail? I am not sure what kind of redirects
>> get refused, for what reason, etc....
> Hi Henry,
>
> The problem as I understand it is pretty simple.
>
> When you're managing an hotspot or corporate proxy you want to make sure only
> authorized persons pass through. It's pretty easy to set up the network so
> browsers have to pass through some control equipment to reach the internet.
> However it's much more difficult to convince them to display some
> authorization page so users can actually provide their credentials.
>
> In both cases you need to handle generic browsers without any special
> configuration, otherwise you can not support visitors (and they can use a wide
> range of devices, from desktops to laptops, netbooks, tablets, the range
> always increases).
>
> So the usual workflow would be:
>
> 1. user with some browser-capable equipment arrives on the network (usually
> you can not control physical access well enough to be sure every connecting
> user is authorized to)
> 2. he types some address in his browser
<snip>
>
> At step 2., the user is not typing the captive portal address (he might not
> know it). To point the browser the right way, such equipments used to issue a
> redirect. However that was never ideal (it's basically a man in the middle
> attack) and browsers will not honour such redirects when the user is accessing
> an https site since 2010 IIRC (I don't remember the CVE numbers, but every
> major browser stopped honoring those redirects at about the same time) . So

Ah, that restricted to 302, 300 and unknown 3xx redirects AFAIK, which 
are unsafe or difficult to allow safe auto-redirect for.

> now users get an empty page or a 'proxy does not like you' error page in the
> middle of their https browsing
>
> See also: https://en.wikipedia.org/wiki/Captive_portal
>
> But the control equipments do not want to attack the user session. All they
> want is to get the browser to display the captive portal auth page. All the
> hacks detailed on the wikipedia page would never have been necessary if the
> http protocol actually provided a standard way to get the browser to display
> this page.

Most of the hacks on the wikipedia page are involved with getting the 
packets to the portals proxy software without making the browser aware 
that it exists. Simple proxy auto-configuration avoids all of these 
hacks. They all happen long before HTTP gets a byte in edgewise.

How do you propose HTTP spec updates to solve "users who first use an 
email client or other will find the connection not working without 
explanation"? This being the problem which covers intercepted port 443 
packets for HTTPS portal.

>
> I'd really like the working group to define such a standard method. It
> wouldn't be complex or difficult to implement in browsers, and it would solve
> many actual problems now.

Do you mean a mechanism like the status 303 (See Other), 305 (Use Proxy) 
and 511 (Network Authentication Required)?

Notice how 302 is not in that list despite Wikipedia noting that most 
portals use 302. That would seem to be one part of the underlying 
problem. The other part being browsers defaulting to disable WPAD 
support (needed for 303 to work) or treating 303 as 302 including those 
security protections.


The "correct" workflow for a captive portal depends on whether the 
packets are intercepted:
  511 with login "splash" page doing some form of side-band 
authentication, or
  305 whereon the browser uses the portal proxy and hopefully sends 
credentials

... or not intercepted:
  303 redirecting to a resource which emits 407 then on success 303 
redirects back to the original URI, whereon the browse sends credentials.


Note that only the 511 NAT intercept case involves changes to the spec, 
and that is being done as 
http://tools.ietf.org/id/draft-nottingham-http-new-status-04.txt.

AYJ


From ietf-http-wg-request@listhub.w3.org  Sun Feb 19 00:21:57 2012
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 2C49921F84EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Feb 2012 00:21:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.598
X-Spam-Level: 
X-Spam-Status: No, score=-8.598 tagged_above=-999 required=5 tests=[AWL=-1.079, BAYES_20=-0.74, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_54=0.6, 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 Iv2+ujKK4tb6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Feb 2012 00:21:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8328E21F84EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 19 Feb 2012 00:21:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rz1zp-00037f-Nk for ietf-http-wg-dist@listhub.w3.org; Sun, 19 Feb 2012 08:19:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dra@redevised.net>) id 1Rz1zf-00036n-PE for ietf-http-wg@listhub.w3.org; Sun, 19 Feb 2012 08:19:39 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dra@redevised.net>) id 1Rz1zd-0003MM-QX for ietf-http-wg@w3.org; Sun, 19 Feb 2012 08:19:39 +0000
Received: by vcbfo11 with SMTP id fo11so4321004vcb.2 for <ietf-http-wg@w3.org>; Sun, 19 Feb 2012 00:19:11 -0800 (PST)
Received-SPF: pass (google.com: domain of dra@redevised.net designates 10.52.33.239 as permitted sender) client-ip=10.52.33.239;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of dra@redevised.net designates 10.52.33.239 as permitted sender) smtp.mail=dra@redevised.net
Received: from mr.google.com ([10.52.33.239]) by 10.52.33.239 with SMTP id u15mr7413149vdi.49.1329639551951 (num_hops = 1); Sun, 19 Feb 2012 00:19:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.33.239 with SMTP id u15mr5983091vdi.49.1329639551863; Sun, 19 Feb 2012 00:19:11 -0800 (PST)
Received: by 10.52.177.138 with HTTP; Sun, 19 Feb 2012 00:19:11 -0800 (PST)
Date: Sun, 19 Feb 2012 00:19:11 -0800
Message-ID: <CANNRn6Lg7XE+5oVjwJKaBz26TJrao1e-Td5DSy8V0=3SPO=hEA@mail.gmail.com>
From: Dale Anderson <dra@redevised.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
X-Gm-Message-State: ALoCoQm+xBqPO/qLENqHOybWg8O3sSAysT5/bSDNh/iVwX7Deuu6uprR7XWv6oDh20gk4dvQ3jmr
Received-SPF: none client-ip=209.85.220.171; envelope-from=dra@redevised.net; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Rz1zd-0003MM-QX 831207e010f29b1026fd362189ad8205
X-Original-To: ietf-http-wg@w3.org
Subject: Dale Anderson has lost touch and any casual acquaintances feel free  to CC him (EOM)
Archived-At: <http://www.w3.org/mid/CANNRn6Lg7XE+5oVjwJKaBz26TJrao1e-Td5DSy8V0=3SPO=hEA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12469
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>
Resent-Message-Id: <E1Rz1zp-00037f-Nk@frink.w3.org>
Resent-Date: Sun, 19 Feb 2012 08:19:49 +0000

Seriously, if that wasn't the end of the message;

And I thank the group and Mr. N kindly for having placed me in a
credited remark (I discovered it not by reviewing IETF documents but
by chance looking at results during search-engine optimization
research).

If anyone reads this and considers dra@redevised.net == dev/null, or
bingo=clam as we say in the F5 WebAccelerator department - hats off to
ye olde Pivia company that used to hail out of Ireland/Belfast on that
by the way - (meaning, bingo really is equatable with clam during
build verification tests in a failure case).

Drop me a line I cannot keep up on stuff like HTTP/2.0 but it has been
a real enriching experience here just chipping in and reading here and
there. Once I set up a grand formal piece of work and went through one
of the specific areas just for something to do at work that seemed
work-related.

Regards,

Dale Robert Anderson
Washington [a state amidst those united and aptly-branded (USA)]

[or warshington if you a spy posing in rural lands about my Cascadian
region, I think (to good effect, I think)].


From ietf-http-wg-request@listhub.w3.org  Sun Feb 19 02:25:33 2012
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 6D81021F8565 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Feb 2012 02:25:33 -0800 (PST)
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=[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 DjhHl4vX6qAs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Feb 2012 02:25:32 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9982221F850D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 19 Feb 2012 02:25:32 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rz3vr-0008Q4-MA for ietf-http-wg-dist@listhub.w3.org; Sun, 19 Feb 2012 10:23:51 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1Rz3vd-0008OP-Jy for ietf-http-wg@listhub.w3.org; Sun, 19 Feb 2012 10:23:37 +0000
Received: from smtpout1.laposte.net ([193.253.67.226] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Rz3vb-00013F-5E for ietf-http-wg@w3.org; Sun, 19 Feb 2012 10:23:37 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8502-out with ME id bmNv1i0094WQcrc03mNvcc; Sun, 19 Feb 2012 11:23:08 +0100
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 88434663; Sun, 19 Feb 2012 11:22:55 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vFfpDUB4GDgr; Sun, 19 Feb 2012 11:22:52 +0100 (CET)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Sun, 19 Feb 2012 11:22:52 +0100 (CET)
Received: from 192.168.0.4 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Sun, 19 Feb 2012 11:22:52 +0100
Message-ID: <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org>
In-Reply-To: <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org> <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
Date: Sun, 19 Feb 2012 11:22:52 +0100
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: squid3@treenet.co.nz
Cc: ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-4.fc17
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.226; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rz3vb-00013F-5E 2f9ada95618619645f569981a2b65963
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Secure (https) proxy authentification
Archived-At: <http://www.w3.org/mid/4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12470
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>
Resent-Message-Id: <E1Rz3vr-0008Q4-MA@frink.w3.org>
Resent-Date: Sun, 19 Feb 2012 10:23:51 +0000

Amos Jeffries writes:
> On 19/02/2012 7:56 a.m., Nicolas Mailhot wrote:
> > (I don't remember the CVE numbers, but every
> > major browser stopped honoring those redirects at about the same time) . So
>
> Ah, that restricted to 302, 300 and unknown 3xx redirects AFAIK, which
> are unsafe or difficult to allow safe auto-redirect for.

Yes, I totally understand the CVE logic, however this change broke most
authenticated proxy setups (and now that enterprises are finally retiring or
replacing ie6 they are stuck)

> Most of the hacks on the wikipedia page are involved with getting the
> packets to the portals proxy software without making the browser aware
> that it exists. Simple proxy auto-configuration avoids all of these
> hacks. They all happen long before HTTP gets a byte in edgewise.

This part does not require browser configuration, and proxy autoconfiguration
can be challenging on a huge corporate network. The main problem right now is
getting browser cooperation to display the authentication form.

> How do you propose HTTP spec updates to solve "users who first use an
> email client or other will find the connection not working without
> explanation"? This being the problem which covers intercepted port 443
> packets for HTTPS portal.

I don't have any bright idea there. Though if people continue migrating to
webmail, that will eventually be academic.

> > I'd really like the working group to define such a standard method. It
> > wouldn't be complex or difficult to implement in browsers, and it would solve
> > many actual problems now.
>
> Do you mean a mechanism like the status 303 (See Other), 305 (Use Proxy)
> and 511 (Network Authentication Required)?

511 is exactly what I need. I was not aware of it. Is it simplemented in any
browser yet? Where should I point the browser writers to get it implemented?

http://tools.ietf.org/id/draft-nottingham-http-new-status-04.txt ?

(except for the part where 511 generates a certificate error)

> Notice how 302 is not in that list despite Wikipedia noting that most
> portals use 302.

Most portals use 302, Bluecoat uses 307, and everyone is getting blocked by
browsers.

305 is useless for my needs as long as the RFC states that:

 Note: RFC 2068 was not clear that 305 was intended to redirect a
      single request, and to be generated by origin servers only.  Not
      observing these limitations has significant security consequences.

Anyway, 511 is much cleaner

> That would seem to be one part of the underlying
> problem. The other part being browsers defaulting to disable WPAD
> support (needed for 303 to work) or treating 303 as 302 including those
> security protections.

The RFC does state:

Note: Many pre-HTTP/1.1 user agents do not understand the 303
      status. When interoperability with such clients is a concern, the
      302 status code may be used instead

Thank you for your help!

BTW : it would be nice if 7.3.6. 7.3.7. 7.4.8. referenced the error 511 (and
if error 511 description included the proxy keyword) or people won't find it.

-- 
Nicolas Mailhot




From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 08:02:01 2012
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 8C10721F874C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 08:02:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.537
X-Spam-Level: 
X-Spam-Status: No, score=-6.537 tagged_above=-999 required=5 tests=[AWL=4.062, 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 DPRjWxSEWICF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 08:01:53 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2AF4321F860B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 08:01:53 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzVfC-0001r2-RZ for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 16:00:30 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <internet-drafts@ietf.org>) id 1RzVeu-0000cz-B2 for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 16:00:12 +0000
Received: from mail.ietf.org ([12.22.58.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1RzVep-0002Cx-9j for ietf-http-wg@w3.org; Mon, 20 Feb 2012 16:00:11 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1849621F8738 for <ietf-http-wg@w3.org>; Mon, 20 Feb 2012 07:59:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
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 9dod-SHfeQAU; Mon, 20 Feb 2012 07:59:37 -0800 (PST)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7955621F86E0; Mon, 20 Feb 2012 07:59:20 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.64p2
Message-ID: <20120220155920.6072.26038.idtracker@ietfa.amsl.com>
Date: Mon, 20 Feb 2012 07:59:20 -0800
Received-SPF: pass client-ip=12.22.58.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RzVep-0002Cx-9j bc881834e2684b56355fe948af178846
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-authscheme-registrations-03.txt
Archived-At: <http://www.w3.org/mid/20120220155920.6072.26038.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12471
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>
Resent-Message-Id: <E1RzVfC-0001r2-RZ@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 16:00:30 +0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies. This draft is a work item of the Hypertext Transfer Protocol Bis Worki=
ng Group of the IETF.

	Title           : Initial Hypertext Transfer Protocol (HTTP) Authenticatio=
n Scheme Registrations
	Author(s)       : Julian F. Reschke
	Filename        : draft-ietf-httpbis-authscheme-registrations-03.txt
	Pages           : 4
	Date            : 2012-02-20

   This document registers Hypertext Transfer Protocol (HTTP)
   authentication schemes which have been defined in standards-track
   RFCs before the IANA HTTP Authentication Scheme Registry was
   established.


A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-httpbis-authscheme-registrat=
ions-03.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-ietf-httpbis-authscheme-registrati=
ons-03.txt



From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 09:35:16 2012
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 E7BA021F8768 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 09:35:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.703
X-Spam-Level: 
X-Spam-Status: No, score=-9.703 tagged_above=-999 required=5 tests=[AWL=0.296, BAYES_00=-2.599, J_CHICKENPOX_111=0.6, 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 HLB0jGwDTkQz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 09:35:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F2CA621F86E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 09:35:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzX81-0005eu-Ug for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 17:34:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1RzX7k-0004tP-0r for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 17:34:04 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1RzX7e-0003y0-PG for ietf-http-wg@w3.org; Mon, 20 Feb 2012 17:34:02 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1RzX7f-0001n4-0F for ietf-http-wg@w3.org; Mon, 20 Feb 2012 12:33:59 -0500
Date: Mon, 20 Feb 2012 12:33:58 -0500 (EST)
From: Yves Lafon <ylafon@w3.org>
To: ietf-http-wg@w3.org
In-Reply-To: <alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet>
Message-ID: <alpine.DEB.1.10.1202201230080.4887@wnl.j3.bet>
References: <alpine.DEB.1.10.1201040855590.2163@wnl.j3.bet> <900baf69b7a31814f99cb40158785a52@treenet.co.nz> <alpine.DEB.1.10.1201041912110.23131@wnl.j3.bet> <9fc7c7bc34ff534905f69a220831a289@treenet.co.nz> <4F050EF2.7080403@qbik.com> <alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet>
User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RzX7e-0003y0-PG cafc1d3a7d2deb8e4bc0e2ecfa05ce70
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #311 Add limitations to Range to reduce its use as a    denial-of-service   tool
Archived-At: <http://www.w3.org/mid/alpine.DEB.1.10.1202201230080.4887@wnl.j3.bet>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12472
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>
Resent-Message-Id: <E1RzX81-0005eu-Ug@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 17:34:21 +0000

Based on the feedback received, here is the changeset:

<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1542>

--=20
Baroula que barouleras, au ti=C3=A9u toujou t'entourneras.

         ~~Yves



From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 10:09:44 2012
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 6CED621F87C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 10:09:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.383
X-Spam-Level: 
X-Spam-Status: No, score=-8.383 tagged_above=-999 required=5 tests=[AWL=2.216, 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 QVWktgYqS0Hd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 10:09:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 81DD121F87C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 10:09:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzXfY-00013D-WD for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 18:09:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RzXfH-00011x-Sz for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 18:08:44 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RzXfD-0006Ma-1G for ietf-http-wg@w3.org; Mon, 20 Feb 2012 18:08:43 +0000
Received: (qmail invoked by alias); 20 Feb 2012 18:08:11 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp040) with SMTP; 20 Feb 2012 19:08:11 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19IcT0Ypj9IcS1P5YHAWL/7QwQWYXvGDDecCJg0hR kBe/tnJgpi4zsu
Message-ID: <4F428C0A.4000608@gmx.de>
Date: Mon, 20 Feb 2012 19:08:10 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Yves Lafon <ylafon@w3.org>
CC: ietf-http-wg@w3.org
References: <alpine.DEB.1.10.1201040855590.2163@wnl.j3.bet> <900baf69b7a31814f99cb40158785a52@treenet.co.nz> <alpine.DEB.1.10.1201041912110.23131@wnl.j3.bet> <9fc7c7bc34ff534905f69a220831a289@treenet.co.nz> <4F050EF2.7080403@qbik.com> <alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet> <alpine.DEB.1.10.1202201230080.4887@wnl.j3.bet>
In-Reply-To: <alpine.DEB.1.10.1202201230080.4887@wnl.j3.bet>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RzXfD-0006Ma-1G 5db93bd82844f4175011e567a98648fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #311 Add limitations to Range to reduce its use as a    denial-of-service    tool
Archived-At: <http://www.w3.org/mid/4F428C0A.4000608@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12473
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>
Resent-Message-Id: <E1RzXfY-00013D-WD@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 18:09:00 +0000

On 2012-02-20 18:33, Yves Lafon wrote:
> Based on the feedback received, here is the changeset:
>
> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1542>

I think we need an addition to the "Changes from RFC 2616" section...




From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 14:00:01 2012
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 9977721E8011 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:00:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=0.350, 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 A7QSq5ogLsf6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:00:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C21F21E8010 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 14:00:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzbFS-0002b8-LF for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 21:58:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1RzbFC-0002a7-FX for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 21:58:02 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1RzbFA-00055s-K3 for ietf-http-wg@w3.org; Mon, 20 Feb 2012 21:58:01 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id C1000E70D7; Tue, 21 Feb 2012 10:57:35 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 21 Feb 2012 10:57:35 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <20120220155920.6072.26038.idtracker@ietfa.amsl.com>
References: <20120220155920.6072.26038.idtracker@ietfa.amsl.com>
Message-ID: <e626e624e442c512e321d3e8ce49ab47@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RzbFA-00055s-K3 eee979c97c1995dcf84f307a74f0d58c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-authscheme-registrations-03.txt
Archived-At: <http://www.w3.org/mid/e626e624e442c512e321d3e8ce49ab47@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12474
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>
Resent-Message-Id: <E1RzbFS-0002b8-LF@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 21:58:18 +0000

On 21.02.2012 04:59, internet-drafts@ietf.org wrote:
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories. This draft is a work item of the Hypertext Transfer
> Protocol Bis Working Group of the IETF.
>
> 	Title           : Initial Hypertext Transfer Protocol (HTTP)
> Authentication Scheme Registrations
> 	Author(s)       : Julian F. Reschke
> 	Filename        : draft-ietf-httpbis-authscheme-registrations-03.txt
> 	Pages           : 4
> 	Date            : 2012-02-20
>
>    This document registers Hypertext Transfer Protocol (HTTP)
>    authentication schemes which have been defined in standards-track
>    RFCs before the IANA HTTP Authentication Scheme Registry was
>    established.
>

Is NTLM already registered somewhere?

And also the rare "Kerberos" scheme? (Kerberos without the Negotiate 
wrappings).


Should we not register these and effectively burn the scheme names for 
future re-use?

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 14:08:23 2012
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 D29B521E800C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:08:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.221
X-Spam-Level: 
X-Spam-Status: No, score=-8.221 tagged_above=-999 required=5 tests=[AWL=2.378, 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 ebiGXjwOGaOd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:08:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E089821F85E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 14:08:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzbOb-0006Sr-Vf for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 22:07:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RzbOS-0006S1-HW for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 22:07:36 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RzbOQ-0005Ti-92 for ietf-http-wg@w3.org; Mon, 20 Feb 2012 22:07:35 +0000
Received: (qmail invoked by alias); 20 Feb 2012 22:07:07 -0000
Received: from p3EE270E3.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.112.227] by mail.gmx.net (mp072) with SMTP; 20 Feb 2012 23:07:07 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+PjrQqpteP8qiYnFWERiEMa8D/daTZD7p6N7K5cJ /jqxOHYXOI+TY9
Message-ID: <4F42C40A.7010907@gmx.de>
Date: Mon, 20 Feb 2012 23:07:06 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <20120220155920.6072.26038.idtracker@ietfa.amsl.com> <e626e624e442c512e321d3e8ce49ab47@treenet.co.nz>
In-Reply-To: <e626e624e442c512e321d3e8ce49ab47@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RzbOQ-0005Ti-92 cf9c48d6587049744fb3950aefe8c291
X-Original-To: ietf-http-wg@w3.org
Subject: Re: I-D Action: draft-ietf-httpbis-authscheme-registrations-03.txt
Archived-At: <http://www.w3.org/mid/4F42C40A.7010907@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12476
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>
Resent-Message-Id: <E1RzbOb-0006Sr-Vf@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 22:07:45 +0000

On 2012-02-20 22:57, Amos Jeffries wrote:
> On 21.02.2012 04:59, internet-drafts@ietf.org wrote:
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories. This draft is a work item of the Hypertext Transfer
>> Protocol Bis Working Group of the IETF.
>>
>> Title : Initial Hypertext Transfer Protocol (HTTP)
>> Authentication Scheme Registrations
>> Author(s) : Julian F. Reschke
>> Filename : draft-ietf-httpbis-authscheme-registrations-03.txt
>> Pages : 4
>> Date : 2012-02-20
>>
>> This document registers Hypertext Transfer Protocol (HTTP)
>> authentication schemes which have been defined in standards-track
>> RFCs before the IANA HTTP Authentication Scheme Registry was
>> established.
>>
>
> Is NTLM already registered somewhere?
>
> And also the rare "Kerberos" scheme? (Kerberos without the Negotiate
> wrappings).
>
>
> Should we not register these and effectively burn the scheme names for
> future re-use?

We probably should. Volunteers needed :-)

(This can happen as part of the document above, and also later on using 
the new registration process).

Best regards, Julian






From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 14:08:23 2012
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 E887F21F85E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:08:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.752
X-Spam-Level: 
X-Spam-Status: No, score=-9.752 tagged_above=-999 required=5 tests=[AWL=0.247, BAYES_00=-2.599, J_CHICKENPOX_111=0.6, 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 A+wjuORhxd7Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:08:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E441A21F85E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 14:08:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzbOI-0006Im-0W for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 22:07:26 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1RzbO8-0006Ht-B1 for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 22:07:16 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1RzbO6-0005Tv-7i for ietf-http-wg@w3.org; Mon, 20 Feb 2012 22:07:15 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1RzbO6-0006hn-H7; Mon, 20 Feb 2012 17:07:14 -0500
Date: Mon, 20 Feb 2012 17:07:14 -0500 (EST)
From: Yves Lafon <ylafon@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>
cc: ietf-http-wg@w3.org
In-Reply-To: <4F428C0A.4000608@gmx.de>
Message-ID: <alpine.DEB.1.10.1202201642030.19991@wnl.j3.bet>
References: <alpine.DEB.1.10.1201040855590.2163@wnl.j3.bet> <900baf69b7a31814f99cb40158785a52@treenet.co.nz> <alpine.DEB.1.10.1201041912110.23131@wnl.j3.bet> <9fc7c7bc34ff534905f69a220831a289@treenet.co.nz> <4F050EF2.7080403@qbik.com> <alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet> <alpine.DEB.1.10.1202201230080.4887@wnl.j3.bet> <4F428C0A.4000608@gmx.de>
User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RzbO6-0005Tv-7i 1c6f7e8bc2b66ef30ee69c57ae170218
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #311 Add limitations to Range to reduce its use as a     denial-of-service    tool
Archived-At: <http://www.w3.org/mid/alpine.DEB.1.10.1202201642030.19991@wnl.j3.bet>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12475
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>
Resent-Message-Id: <E1RzbOI-0006Im-0W@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 22:07:26 +0000

On Mon, 20 Feb 2012, Julian Reschke wrote:

> On 2012-02-20 18:33, Yves Lafon wrote:
>> Based on the feedback received, here is the changeset:
>>=20
>> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1542>
>
> I think we need an addition to the "Changes from RFC 2616" section...

I think not, for example, saying that a server may coalesce ranges is=20
implied in 2616, see
<<
A response to a request for
    multiple ranges, whose result is a single range, MAY be sent as a
    multipart/byteranges media type with one part.
>>
so it is mostly clarifications, no real changes.

--=20
Baroula que barouleras, au ti=C3=A9u toujou t'entourneras.

         ~~Yves



From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 14:27:47 2012
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 CB04821E8012 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:27:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.247
X-Spam-Level: 
X-Spam-Status: No, score=-8.247 tagged_above=-999 required=5 tests=[AWL=2.352, 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 w6Ptd5LJHOJO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 14:27:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C81B21E800C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 14:27:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzbhJ-0002D0-05 for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Feb 2012 22:27:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rzbh9-0002C9-GW for ietf-http-wg@listhub.w3.org; Mon, 20 Feb 2012 22:26:55 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rzbh1-00063y-QX for ietf-http-wg@w3.org; Mon, 20 Feb 2012 22:26:55 +0000
Received: (qmail invoked by alias); 20 Feb 2012 22:26:19 -0000
Received: from p3EE270E3.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.112.227] by mail.gmx.net (mp039) with SMTP; 20 Feb 2012 23:26:19 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19hZLNwJgZhKI/XNELbXMhlWvp6mkh2QeINOaVGRt 6vmiYkAQ2mUtzO
Message-ID: <4F42C889.20902@gmx.de>
Date: Mon, 20 Feb 2012 23:26:17 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Yves Lafon <ylafon@w3.org>
CC: ietf-http-wg@w3.org
References: <alpine.DEB.1.10.1201040855590.2163@wnl.j3.bet> <900baf69b7a31814f99cb40158785a52@treenet.co.nz> <alpine.DEB.1.10.1201041912110.23131@wnl.j3.bet> <9fc7c7bc34ff534905f69a220831a289@treenet.co.nz> <4F050EF2.7080403@qbik.com> <alpine.DEB.1.10.1202150433090.11557@wnl.j3.bet> <alpine.DEB.1.10.1202201230080.4887@wnl.j3.bet> <4F428C0A.4000608@gmx.de> <alpine.DEB.1.10.1202201642030.19991@wnl.j3.bet>
In-Reply-To: <alpine.DEB.1.10.1202201642030.19991@wnl.j3.bet>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rzbh1-00063y-QX 42211f82b0fb4e3a6ce60233df4da339
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #311 Add limitations to Range to reduce its use as a     denial-of-service     tool
Archived-At: <http://www.w3.org/mid/4F42C889.20902@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12477
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>
Resent-Message-Id: <E1RzbhJ-0002D0-05@frink.w3.org>
Resent-Date: Mon, 20 Feb 2012 22:27:05 +0000

On 2012-02-20 23:07, Yves Lafon wrote:
> On Mon, 20 Feb 2012, Julian Reschke wrote:
>
>> On 2012-02-20 18:33, Yves Lafon wrote:
>>> Based on the feedback received, here is the changeset:
>>>
>>> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1542>
>>
>> I think we need an addition to the "Changes from RFC 2616" section...
>
> I think not, for example, saying that a server may coalesce ranges is
> implied in 2616, see
> <<
> A response to a request for
> multiple ranges, whose result is a single range, MAY be sent as a
> multipart/byteranges media type with one part.
>>>
> so it is mostly clarifications, no real changes.

Ack.

So is the outcome of #311 that we actually did not make any normative 
changes?

In which case it would be good to close the bug with a short summary of 
what we changed, and what we did not. (In the issue tracker, not in the 
spec...)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 20:29:32 2012
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 B229A21F8577 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 20:29:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.716
X-Spam-Level: 
X-Spam-Status: No, score=-8.716 tagged_above=-999 required=5 tests=[AWL=1.583, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 UTH1VN1XKJ-5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 20:29:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 863FA21F8575 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 20:29:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzhKc-0005ni-DA for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 04:28:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RzhKM-0005Zx-1V for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 04:27:46 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RzhKK-0006kk-3o for ietf-http-wg@w3.org; Tue, 21 Feb 2012 04:27:45 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.53.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 891D922E1F4; Mon, 20 Feb 2012 23:27:20 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <1329377835.22776.29.camel@home.hno.se>
Date: Tue, 21 Feb 2012 15:27:18 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4C264781-ED7F-4392-A8E3-408689295898@mnot.net>
References: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net> <1329377835.22776.29.camel@home.hno.se>
To: =?iso-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RzhKK-0006kk-3o f2fca30c02771191505a72af0ae9273c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #337: Field names in cache-control header arguments
Archived-At: <http://www.w3.org/mid/4C264781-ED7F-4392-A8E3-408689295898@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12478
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>
Resent-Message-Id: <E1RzhKc-0005ni-DA@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 04:28:02 +0000

On 16/02/2012, at 6:37 PM, Henrik Nordstr=F6m wrote:

> m=E5n 2012-02-13 klockan 15:56 +1100 skrev Mark Nottingham:
>=20
>> I had a look at this. I think we can fix things for private -- =
proposal is to change:
>>=20
>> ... That is, a shared cache MUST NOT store the specified =
field-names(s), whereas it MAY store the remainder of the response =
message.
>>=20
>> to
>>=20
>> ... That is, a shared cache MUST NOT store the specified =
field-names(s), whereas it MAY store the remainder of the response =
message (and subsequently reuse it).
>=20
> Ok.
>=20
>> However, the semantics of these arguments on no-cache is much less
>> clear. IME this isn't implemented, so I'd suggest deprecating it by
>> changing:
>=20
> qualified no-cache =3D=3D qualified private, except that private only
> applies to shared caches.

That's not how they're currently specified.=20

Private says:

>       If the private response directive specifies one or more field-
>       names, this requirement is limited to the field-values =
associated
>       with the listed response header fields.  That is, a shared cache
>       MUST NOT store the specified field-names(s), whereas it MAY =
store
>       the remainder of the response message.

whereas no-cache says:

>       If the no-cache response directive specifies one or more field-
>       names, this requirement is limited to the field-values =
associated
>       with the listed response header fields.  That is, a cache MUST =
NOT
>       send the specified field-name(s) in the response to a subsequent
>       request without successful validation on the origin server.  =
This
>       allows an origin server to prevent the re-use of certain header
>       fields in a response, while still allowing caching of the rest =
of
>       the response.

Notice that private is about whether the specific field-names can be =
stored, where no-cache is about validation.=20

No-cache doesn't indicate whether the response can be served from cache =
without those headers, or whether it has to revalidate to check their =
values.=20

These are two very different behaviours, which is why I think this is =
underspecified and an interop problem.


>=20
>>      If the no-cache response directive specifies one or more field-
>>      names, this requirement is limited to the field-values =
associated
>>      with the listed response header fields.  That is, a cache MUST =
NOT
>>      send the specified field-name(s) in the response to a subsequent
>>      request without successful validation on the origin server.  =
This
>>      allows an origin server to prevent the re-use of certain header
>>      fields in a response, while still allowing caching of the rest =
of
>>      the response.
>>=20
>>      Note: Most HTTP/1.0 caches will not recognize or obey this
>>      directive.  Also, no-cache response directives with field-names
>>      are often handled by implementations as if an unqualified =
no-cache
>>      directive was received; i.e., the special handling for the
>>      qualified form is not widely implemented.
>=20
> I don't see a need for bloating the specification with this note. It =
do
> not add any value, only confusion.

That note has been in there for quite some time, and was added based =
upon previous discussion.


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





From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 20:34:45 2012
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 EF11F21F8594 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 20:34:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.886
X-Spam-Level: 
X-Spam-Status: No, score=-8.886 tagged_above=-999 required=5 tests=[AWL=1.713, 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 kxPVACN9YLBR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 20:34:45 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CEA9121F8592 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 20:34:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzhP8-00013z-QQ for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 04:32:42 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RzhOh-0000wZ-7w for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 04:32:16 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RzhOf-0002E6-6L for ietf-http-wg@w3.org; Tue, 21 Feb 2012 04:32:14 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.53.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 5F81322DD6D; Mon, 20 Feb 2012 23:31:51 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F393308.9060402@gmx.de>
Date: Tue, 21 Feb 2012 15:31:48 +1100
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <4F393308.9060402@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RzhOf-0002E6-6L 0b379c4d1fe632efa9e329821a2a9494
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12479
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>
Resent-Message-Id: <E1RzhP8-00013z-QQ@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 04:32:42 +0000

OK, but currently we don't talk about multiple spaces (or other =
whitespace) in the top-line anywhere; what's the appropriate vehicle?

IMO we should at least consider the BNF, because we do so for BWS =
elsewhere, and the more explicit, the better. Dates are complex, and =
it's reasonable not to make their BNF even more so.


On 14/02/2012, at 2:58 AM, Julian Reschke wrote:

> On 2012-02-07 04:21, Mark Nottingham wrote:
>> Ticket:<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/341>
>> ...
>=20
> I'm not sure we need to bake error handling into the ABNF. If we do it =
here, why not for HTTP-date?
>=20
> Best regards, Julian

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 21:48:19 2012
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 AAB4E21F848B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 21:48:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[AWL=1.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 sQj4IS0y58N3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 21:48:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 337D721F8491 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 21:48:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RziYz-0007Hl-3H for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 05:46:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1RziYn-0007Gu-QO for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 05:46:45 +0000
Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a87.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1RziYh-0004lo-FV for ietf-http-wg@w3.org; Tue, 21 Feb 2012 05:46:45 +0000
Received: from homiemail-a87.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a87.g.dreamhost.com (Postfix) with ESMTP id 20D1D26C05E; Mon, 20 Feb 2012 21:46:18 -0800 (PST)
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=l9ev6NRE2MHp7kph HaydvXik9XQPEEOXPJVHR3G3Shv/0lq6MJwoGUflwjwtFQI1vzvqPkEomM9l3wwg fP7RsFojIgrb8PE/vS7xVdV4aVp+bkK5unp/G3aGOYwQPrRithqfRaGUMjkchoo9 wTxfNmzrwGhgJYImBfMkjrdyvlQ=
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=WwccxEoGHRBNBBldxM6cC4ZSeOk=; b=N2T4k1CB7iPr3UYcxfxBjTXtWpXL mmL4oVbPmhwhZQ0NOo5SRMf19D0/56nvRP6OgYSn1GMpBQKvJlqducpNHH9pKfk8 NlgOO42HF/Jgf5C+s8jg0DU0QRROGHo7zBN8PMJFuS1gFugBcaxCJ/Mq/3nDuOzW YY38svygOrdg4BE=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a87.g.dreamhost.com (Postfix) with ESMTPSA id DE0FB26C00D; Mon, 20 Feb 2012 21:46:17 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net>
Date: Mon, 20 Feb 2012 21:46:18 -0800
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <4F393308.9060402@gmx.de> <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.202; envelope-from=fielding@gbiv.com; helo=homiemail-a87.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: lisa.w3.org 1RziYh-0004lo-FV 56814c775f3f4b8d9f2eb38249490ca6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12480
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>
Resent-Message-Id: <E1RziYz-0007Hl-3H@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 05:46:57 +0000

On Feb 20, 2012, at 8:31 PM, Mark Nottingham wrote:

> OK, but currently we don't talk about multiple spaces (or other =
whitespace) in the top-line anywhere; what's the appropriate vehicle?

There is no vehicle needed.  As I said in the ticket, the only =
interoperable behavior
is to send a single SP. If some implementations choose to receive more =
than one space,
that's their choice -- it is still not interoperable to send more than =
one space.
The ABNF defines what is valid to send, not what is robust to parse.  =
I'd rather change
Apache httpd's parser to forbid extra spaces than make the request-line =
less predictable.

....Roy



From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 22:17:18 2012
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 5523621F85C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 22:17:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.897
X-Spam-Level: 
X-Spam-Status: No, score=-9.897 tagged_above=-999 required=5 tests=[AWL=0.702, 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 imSlTf04qEde for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 22:17:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA5CC21F85AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 22:17:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzj0d-0004Yy-D8 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 06:15:31 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Rzj0S-0004UB-2M for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 06:15:20 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Rzj0P-0001Zs-SR for ietf-http-wg@w3.org; Tue, 21 Feb 2012 06:15:18 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1L6EV3W016497; Tue, 21 Feb 2012 07:14:31 +0100
Date: Tue, 21 Feb 2012 07:14:31 +0100
From: Willy Tarreau <w@1wt.eu>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Mark Nottingham <mnot@mnot.net>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120221061431.GA16490@1wt.eu>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <4F393308.9060402@gmx.de> <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net> <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Rzj0P-0001Zs-SR 703e52e5ed210630f05b034d7e7345fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/20120221061431.GA16490@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12481
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>
Resent-Message-Id: <E1Rzj0d-0004Yy-D8@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 06:15:31 +0000

On Mon, Feb 20, 2012 at 09:46:18PM -0800, Roy T. Fielding wrote:
> On Feb 20, 2012, at 8:31 PM, Mark Nottingham wrote:
> 
> > OK, but currently we don't talk about multiple spaces (or other whitespace) in the top-line anywhere; what's the appropriate vehicle?
> 
> There is no vehicle needed.  As I said in the ticket, the only interoperable behavior
> is to send a single SP. If some implementations choose to receive more than one space,
> that's their choice -- it is still not interoperable to send more than one space.
> The ABNF defines what is valid to send, not what is robust to parse.  I'd rather change
> Apache httpd's parser to forbid extra spaces than make the request-line less predictable.

Agreed!

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 22:17:18 2012
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 9209821F85AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 22:17:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.909
X-Spam-Level: 
X-Spam-Status: No, score=-8.909 tagged_above=-999 required=5 tests=[AWL=1.690, 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 cdH6MBLhvR2R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 22:17:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC6E621F85C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 22:17:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzj1G-0004iq-Ig for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 06:16:10 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rzj13-0004h1-ES for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 06:15:57 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rzj0x-0005wA-2e for ietf-http-wg@w3.org; Tue, 21 Feb 2012 06:15:56 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.53.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BFE5F22DD6D; Tue, 21 Feb 2012 01:15:28 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
Date: Tue, 21 Feb 2012 17:15:25 +1100
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <AF431F89-2351-4EB0-9752-E5600C4B0FF3@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <4F393308.9060402@gmx.de> <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net> <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
To: Roy T. Fielding <fielding@gbiv.com>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rzj0x-0005wA-2e b0a0c5a6eca886e707326a98482b8ef8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/AF431F89-2351-4EB0-9752-E5600C4B0FF3@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12482
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>
Resent-Message-Id: <E1Rzj1G-0004iq-Ig@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 06:16:10 +0000

On 21/02/2012, at 4:46 PM, Roy T. Fielding wrote:

> The ABNF defines what is valid to send, not what is robust to parse.

I know we flirt with this in a few places, but it would be nice to come =
out and say so explicitly somewhere.

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb 20 22:23:04 2012
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 4C8D921F861B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 22:23:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.757
X-Spam-Level: 
X-Spam-Status: No, score=-8.757 tagged_above=-999 required=5 tests=[AWL=-0.458, BAYES_00=-2.599, MANGLED_PILL=2.3, 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 dMVdxC9kZ4XB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Feb 2012 22:23:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B2BA321F8619 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Feb 2012 22:23:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzj7d-00069v-Qb for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 06:22:45 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Rzj7N-00066y-GB for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 06:22:29 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Rzj7L-0006NS-KY for ietf-http-wg@w3.org; Tue, 21 Feb 2012 06:22:28 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1L6LSUV016524; Tue, 21 Feb 2012 07:21:28 +0100
Date: Tue, 21 Feb 2012 07:21:28 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120221062128.GB16490@1wt.eu>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <4F393308.9060402@gmx.de> <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net> <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com> <AF431F89-2351-4EB0-9752-E5600C4B0FF3@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AF431F89-2351-4EB0-9752-E5600C4B0FF3@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rzj7L-0006NS-KY 65ec34aba3721f22b5bb3582486f15f7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/20120221062128.GB16490@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12483
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>
Resent-Message-Id: <E1Rzj7d-00069v-Qb@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 06:22:45 +0000

On Tue, Feb 21, 2012 at 05:15:25PM +1100, Mark Nottingham wrote:
> 
> On 21/02/2012, at 4:46 PM, Roy T. Fielding wrote:
> 
> > The ABNF defines what is valid to send, not what is robust to parse.
> 
> I know we flirt with this in a few places, but it would be nice to come out and say so explicitly somewhere.

In fact I think it's already stated in p1-1.1 :

   This document also uses ABNF to define valid protocol elements
   (Section 1.2).  In addition to the prose requirements placed upon
   them, Senders MUST NOT generate protocol elements that are invalid.

   Unless noted otherwise, Recipients MAY take steps to recover a usable
   protocol element from an invalid construct.  However, HTTP does not
   define specific error handling mechanisms, except in cases where it
   has direct impact on security.  This is because different uses of the
   protocol require different error handling strategies; for example, a
   Web browser may wish to transparently recover from a response where
   the Location header field doesn't parse according to the ABNF,
   whereby in a systems control protocol using HTTP, this type of error
   recovery could lead to dangerous consequences.

If that's not enough, maybe Roy's sentence above could be inserted before
"Senders MUST NOT..." in the first paragraph ?

Willy



From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 01:00:50 2012
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 72D6421F8602 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:00:50 -0800 (PST)
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=[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 pzA3uXO-Ptdu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:00:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0F9BE21F8601 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 01:00:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzlZ8-00077l-6Y for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 08:59:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1RzlYr-00076f-0e for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 08:59:01 +0000
Received: from smtpout3.laposte.net ([193.253.67.228] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1RzlYl-0007B8-4Z for ietf-http-wg@w3.org; Tue, 21 Feb 2012 08:58:59 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8505-out with ME id cYyN1i0044WQcrc03YyNNH; Tue, 21 Feb 2012 09:58:28 +0100
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 2D3F01D3; Tue, 21 Feb 2012 09:58:22 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zpVJ8M1HQLw2; Tue, 21 Feb 2012 09:58:16 +0100 (CET)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 21 Feb 2012 09:58:16 +0100 (CET)
Received: from 192.196.142.27 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 21 Feb 2012 09:58:16 +0100
Message-ID: <39d91a07ae0beb19a734e52496ab5700.squirrel@arekh.dyndns.org>
In-Reply-To: <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org> <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net> <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org>
Date: Tue, 21 Feb 2012 09:58:16 +0100
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
Cc: squid3@treenet.co.nz, ietf-http-wg@w3.org, "Jeff King" <peff@peff.net>, git@vger.kernel.org, "Daniel Stenberg" <daniel@haxx.se>
User-Agent: SquirrelMail/1.4.22-4.fc17
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.228; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RzlYl-0007B8-4Z eda509046d48b9e927ab028ca5f6e4ef
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP error 511 [Was: Secure (https) proxy authentification]
Archived-At: <http://www.w3.org/mid/39d91a07ae0beb19a734e52496ab5700.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12484
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>
Resent-Message-Id: <E1RzlZ8-00077l-6Y@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 08:59:18 +0000

Le Dim 19 fÃ©vrier 2012 11:22, Nicolas Mailhot a Ã©crit :

> 511 is exactly what I need. I was not aware of it. Is it simplemented in any
> browser yet? Where should I point the browser writers to get it implemented?
>
> http://tools.ietf.org/id/draft-nottingham-http-new-status-04.txt ?

I take that back. 511 is almost exactly what we need. However, when I pointed
the authors of some of the tools that pass through our proxy to it (curl, git)
they told me they could not parse html code in their tools, so they really
need a location (or similar) field containing the address of the
authentication portal to communicate it to the user. Without this field, they
can only stop with 'Network authentication is needed' instead of 'Please open
<url> in your browser to proceed'.

http://article.gmane.org/gmane.comp.version-control.git/191085
http://article.gmane.org/gmane.comp.version-control.git/191087
http://article.gmane.org/gmane.comp.version-control.git/191086

(the nearest thing there is in the spec is the url in meta, but it's only in
the example, not mandatory, and no one will write code for something they can
not be sure will exist)

We'd like to support those tools properly as their users' previous clumsy
attempts to navigate our current non-standard redirection method resulted in
internal security investigations.

It is a problem in our setup as we only block some URLs (others are allowed
transparently without auth), and we use several proxy farms in different
physical sites (to avoid spofs). So just opening any url in a browser won't
trigger an authentication request (the url may not be blocked, or the browser
may pass through a gateway where the user IP is already authorized, while
git/etc tried to access through another one).

Could you please revise the error 511 definition to add such a field ?

Regards,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 01:13:20 2012
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 C472021F8616 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:13:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.166
X-Spam-Level: 
X-Spam-Status: No, score=-10.166 tagged_above=-999 required=5 tests=[AWL=0.133, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 YG5Ei9I9ekZe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:13:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8C84A21F8512 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 01:13:05 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzlkj-0002NR-BO for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 09:11:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1Rzlke-0002MT-Nl for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 09:11:12 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1RzlkX-0004v3-OW for ietf-http-wg@w3.org; Tue, 21 Feb 2012 09:11:11 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1L9AbbR024546; Tue, 21 Feb 2012 09:10:38 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1L9Aa98003748; Tue, 21 Feb 2012 10:10:36 +0100
Message-ID: <1329815436.31567.24.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Tue, 21 Feb 2012 10:10:36 +0100
In-Reply-To: <4C264781-ED7F-4392-A8E3-408689295898@mnot.net>
References: <8EDFE9E9-97FB-41C0-AE6F-E0D6ABA58413@mnot.net> <1329377835.22776.29.camel@home.hno.se> <4C264781-ED7F-4392-A8E3-408689295898@mnot.net>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Tue, 21 Feb 2012 09:10:38 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RzlkX-0004v3-OW 336a9476072c05e7b6a142c102d48abc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #337: Field names in cache-control header arguments
Archived-At: <http://www.w3.org/mid/1329815436.31567.24.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12485
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>
Resent-Message-Id: <E1Rzlkj-0002NR-BO@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 09:11:17 +0000

tis 2012-02-21 klockan 15:27 +1100 skrev Mark Nottingham:

> Notice that private is about whether the specific field-names can be
> stored, where no-cache is about validation. 

There is no way in HTTP to revalidate headers other than to not cache
them and only use any new values seen from a revalidation response.

> These are two very different behaviours, which is why I think this is
> underspecified and an interop problem.

It's two slightly different wordings with the same result and meaning.

These headers MUST NOT be given from cache when servicing future
requests from a cached copy of this response, or any older responses
it's merged with.

It's possible that the description of private really mean to say MUST
NOT store, not MUST NOT cache, making them differ on where the headers
must be filtered (storing in cache vs reading from cache), but end
result in responses to future requests is the same regardless.


> >>      Note: Most HTTP/1.0 caches will not recognize or obey this
> >>      directive.  Also, no-cache response directives with field-names
> >>      are often handled by implementations as if an unqualified no-cache
> >>      directive was received; i.e., the special handling for the
> >>      qualified form is not widely implemented.
> > 
> > I don't see a need for bloating the specification with this note. It do
> > not add any value, only confusion.
> 
> That note has been in there for quite some time, and was added based upon previous discussion.

I remember the discussion, but it's kind of pointless and
counter-productive to have this note in the specification in the longer
perspective.

This holds for pretty much any other MAY there is in the specification,
these are not widely implemented. There is reasons why these are MAY and
not SHOULD.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 01:30:11 2012
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 662E221F84D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:30:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.273
X-Spam-Level: 
X-Spam-Status: No, score=-8.273 tagged_above=-999 required=5 tests=[AWL=2.326, 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 8E-l27e6suIy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:30:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 401AA21F857D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 01:30:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzm2H-0006Ko-EH for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 09:29:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Rzm25-0006JK-2G for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 09:29:13 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Rzm1y-0005hc-Fq for ietf-http-wg@w3.org; Tue, 21 Feb 2012 09:29:12 +0000
Received: (qmail invoked by alias); 21 Feb 2012 09:28:39 -0000
Received: from p3EE270E3.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.112.227] by mail.gmx.net (mp001) with SMTP; 21 Feb 2012 10:28:39 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18azykwktcaZz7EvwJEtgRZ7a2s+eISPTARoNvR9U BQMa6MLQe2F12k
Message-ID: <4F4363C1.90902@gmx.de>
Date: Tue, 21 Feb 2012 10:28:33 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: squid3@treenet.co.nz, ietf-http-wg@w3.org, Jeff King <peff@peff.net>,  git@vger.kernel.org, Daniel Stenberg <daniel@haxx.se>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>    <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>    <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org> <39d91a07ae0beb19a734e52496ab5700.squirrel@arekh.dyndns.org>
In-Reply-To: <39d91a07ae0beb19a734e52496ab5700.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rzm1y-0005hc-Fq af55dbb38270adbb4a289aa9c6a3a364
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP error 511 [Was: Secure (https) proxy authentification]
Archived-At: <http://www.w3.org/mid/4F4363C1.90902@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12486
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>
Resent-Message-Id: <E1Rzm2H-0006Ko-EH@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 09:29:25 +0000

On 2012-02-21 09:58, Nicolas Mailhot wrote:
>
> Le Dim 19 fÃ©vrier 2012 11:22, Nicolas Mailhot a Ã©crit :
>
>> 511 is exactly what I need. I was not aware of it. Is it simplemented in any
>> browser yet? Where should I point the browser writers to get it implemented?
>>
>> http://tools.ietf.org/id/draft-nottingham-http-new-status-04.txt ?
>
> I take that back. 511 is almost exactly what we need. However, when I pointed
> the authors of some of the tools that pass through our proxy to it (curl, git)
> they told me they could not parse html code in their tools, so they really
> need a location (or similar) field containing the address of the
> authentication portal to communicate it to the user. Without this field, they
> can only stop with 'Network authentication is needed' instead of 'Please open
> <url>  in your browser to proceed'.

Yes. The definition of status code 511 did not attempt to solve more 
problems than that.

> http://article.gmane.org/gmane.comp.version-control.git/191085
> http://article.gmane.org/gmane.comp.version-control.git/191087
> http://article.gmane.org/gmane.comp.version-control.git/191086
>
> (the nearest thing there is in the spec is the url in meta, but it's only in
> the example, not mandatory, and no one will write code for something they can
> not be sure will exist)
>
> We'd like to support those tools properly as their users' previous clumsy
> attempts to navigate our current non-standard redirection method resulted in
> internal security investigations.
>
> It is a problem in our setup as we only block some URLs (others are allowed
> transparently without auth), and we use several proxy farms in different
> physical sites (to avoid spofs). So just opening any url in a browser won't
> trigger an authentication request (the url may not be blocked, or the browser
> may pass through a gateway where the user IP is already authorized, while
> git/etc tried to access through another one).
>
> Could you please revise the error 511 definition to add such a field ?

The specification has already been approved, so it's too late to make 
more than editorial changes.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 01:46:52 2012
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 3C6A921F8618 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:46:52 -0800 (PST)
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=[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 JNhmJ6Ac9xdq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 01:46:51 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B55EF21F860F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 01:46:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzmHt-0003ZQ-DT for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 09:45:33 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1RzmHj-0003T6-3A for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 09:45:23 +0000
Received: from smtpout3.laposte.net ([193.253.67.228] helo=smtpout.laposte.net) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1RzmHc-0006Vy-5w for ietf-http-wg@w3.org; Tue, 21 Feb 2012 09:45:22 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8505-out with ME id cZko1i0034WQcrc03ZkoL3; Tue, 21 Feb 2012 10:44:48 +0100
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 174671D3; Tue, 21 Feb 2012 10:44:48 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FKACzjQu073r; Tue, 21 Feb 2012 10:44:45 +0100 (CET)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Tue, 21 Feb 2012 10:44:45 +0100 (CET)
Received: from 192.196.142.27 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Tue, 21 Feb 2012 10:44:45 +0100
Message-ID: <f5ee5676efa057beb51b00237a6c13b2.squirrel@arekh.dyndns.org>
In-Reply-To: <4F4363C1.90902@gmx.de>
References: <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org> <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net> <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org> <39d91a07ae0beb19a734e52496ab5700.squirrel@arekh.dyndns.org> <4F4363C1.90902@gmx.de>
Date: Tue, 21 Feb 2012 10:44:45 +0100
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: squid3@treenet.co.nz, ietf-http-wg@w3.org, "Jeff King" <peff@peff.net>, git@vger.kernel.org, "Daniel Stenberg" <daniel@haxx.se>, git@vger.kernel.org
User-Agent: SquirrelMail/1.4.22-4.fc17
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.228; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RzmHc-0006Vy-5w 3497486ff8b927b0bde71940a656ed2c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP error 511 [Was: Secure (https) proxy authentification]
Archived-At: <http://www.w3.org/mid/f5ee5676efa057beb51b00237a6c13b2.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12487
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>
Resent-Message-Id: <E1RzmHt-0003ZQ-DT@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 09:45:33 +0000

Le Mar 21 fÃ©vrier 2012 10:28, Julian Reschke a Ã©crit :
> On 2012-02-21 09:58, Nicolas Mailhot wrote:

>> Could you please revise the error 511 definition to add such a field ?
>
> The specification has already been approved, so it's too late to make
> more than editorial changes.

I know it has been approved, and we'll go with it as is for now on our network.
However, could it be extended to add this location field later please? (taking
into account the tool authors' feedback)

Best regards,

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 10:13:15 2012
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 3ED5121F88C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:13:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 QMdRLVsIMl73 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:12:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AC89221F88B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 10:12:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzuAz-0001S2-9H for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 18:10:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <wwwrun@ietfa.amsl.com>) id 1RzuAk-0001Qe-IP for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 18:10:42 +0000
Received: from mail.ietf.org ([12.22.58.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <wwwrun@ietfa.amsl.com>) id 1RzuAc-00006r-9r for ietf-http-wg@w3.org; Tue, 21 Feb 2012 18:10:41 +0000
Received: by ietfa.amsl.com (Postfix, from userid 30) id 43AB121F87BF; Tue, 21 Feb 2012 10:10:05 -0800 (PST)
From: IESG Secretary <iesg-secretary@ietf.org>
To: IETF Announcement list <ietf-announce@ietf.org>
Cc: mnot@mnot.net, ietf-http-wg@w3.org
reply-to: iesg@ietf.org
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0
Message-Id: <20120221181006.43AB121F87BF@ietfa.amsl.com>
Date: Tue, 21 Feb 2012 10:10:05 -0800 (PST)
Received-SPF: none client-ip=12.22.58.30; envelope-from=wwwrun@ietfa.amsl.com; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: maggie.w3.org 1RzuAc-00006r-9r a3510ea4a2dda55b5f174c4a10f3ddcc
X-Original-To: ietf-http-wg@w3.org
Subject: WG Review: Recharter of Hypertext Transfer Protocol Bis           (httpbis) 
Archived-At: <http://www.w3.org/mid/20120221181006.43AB121F87BF@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12488
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>
Resent-Message-Id: <E1RzuAz-0001S2-9H@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 18:10:57 +0000

A modified charter has been submitted for the Hypertext Transfer 
Protocol Bis (httpbis) working group in the Applications Area of the 
IETF.  The IESG has not made any determination as yet.  The modified 
charter is provided below for informational purposes only.  Please send 
your comments to the IESG mailing list (iesg@ietf.org) by Tuesday, 
February 28, 2012.

Hypertext Transfer Protocol Bis (httpbis)
=========================================

Charter
Last Modified: 2012-02-09

Current Status: Active Working Group

Chair(s):
    Mark Nottingham  <mnot@mnot.net>

Applications Area Director(s):
    Pete Resnick  <presnick@qualcomm.com>
    Peter Saint-Andre  <stpeter@stpeter.im>

Applications Area Advisor:
    Peter Saint-Andre  <stpeter@stpeter.im>

Mailing Lists:
    General Discussion:ietf-http-wg@w3.org
    To Subscribe:      ietf-http-wg-request@w3.org
        In Body:       subscribe
    Archive:           http://lists.w3.org/Archives/Public/ietf-http-wg/

Description of Working Group
----------------------------

This Working Group is charged with maintaining and developing
the "core" specifications for HTTP.

The Working Group's specification deliverables are:
* A document (or set of documents) that is suitable to supersede RFC
 2616 (HTTP/1.1) and move RFC 2817 to Historic status
* A document cataloguing the security properties of HTTP/1.1
* A document that specifies HTTP/2.0 an improved binding of HTTP's
 semantics to the underlying transport.

### HTTP/1.1

HTTP is one of the most successful and widely-used protocols on the
Internet today. However, its specification has several editorial issues.
Additionally, after years of implementation and extension, several
ambiguities have become evident, impairing interoperability and the
ability to easily implement and use HTTP.

The working group will refine RFC2616 to:
* Incorporate errata and updates (e.g., references, IANA registries,
 ABNF)
* Fix editorial problems which have led to misunderstandings of the
 specification
* Clarify conformance requirements
* Remove known ambiguities where they affect interoperability
* Clarify existing methods of extensibility
* Remove or deprecate those features that are not widely implemented
 and also unduly affect interoperability
* Where necessary, add implementation advice
* Document the security properties of HTTP and its associated
 mechanisms (e.g., Basic and Digest authentication, cookies, TLS) for
 common applications

It will also incorporate the generic authentication framework from RFC
2617, without obsoleting or updating that specification's definition of
the Basic and Digest schemes.

Finally, it will incorporate relevant portions of RFC 2817 (in
particular, the CONNECT method and advice on the use of Upgrade), so
that that specification can be moved to Historic status.

In doing so, it should consider:
* Implementer experience
* Demonstrated use of HTTP
* Impact on existing implementations and deployments

### HTTP/2.0

There is emerging implementation experience and interest in a protocol
that retains the semantics of HTTP, without the legacy of HTTP/1.x
message framing and syntax, which have been identified as hampering
performance and encouraging misuse of the underlying transport.

As such, there is an opportunity to create a new major
(non-wire-compatible) version of HTTP.

To do this, the Working Group will solicit candidates for this work from
the community, to be submitted as Internet-Drafts. Expected focus areas
for candidates include:

* Significantly improved perceived performance in common use cases
 (e.g., browsers, mobile)
* More efficient use of network resources; in particular, reducing the
 need to use multiple TCP connections
* Ability to be deployed on today's Internet, using IPv4 and IPv6, in
 the presence of NATs
* Maintaining HTTP's ease of deployment
* Reflecting modern security requirements and practices

Although proposals are not required to meet all of these goals, it is
expected that the resulting work (if undertaken) will be chartered to
meet them (and therefore, selecting one that meets the majority of them
as a starting point is in everyone's interest).

The Working Group will then select a starting point for the new work
based upon the following criteria:

* Compatibility with HTTP/1.1 semantics; i.e., it must be possible to
 pass through a HTTP/1.1 message with reasonable fidelity
* Broad implementer interest (e.g., from Web browsers, "back-end"
 or "web api" uses of HTTP, servers, intermediaries, CDNs, etc.)

Changes to the existing semantics of HTTP are out of scope in order to
preserve the meaning of messages that might cross a 1.1 --> 2.0 --> 1.1
request chain. However, the resulting effort may define new semantics to
further the goals above, along with suitable extensibility mechanisms
for defining additional semantics.

If the Working Group forms consensus around a proposal to use as a
starting point, it is expected it will re-charter to begin work on that
document (or set of documents). The resulting work will be known as
"HTTP/2.0", unless the Working Group determines that this isn't suitable
(e.g., for interoperability).

Although work on this new version will begin in parallel with completion
of work on HTTP/1.1, the Working Group will prioritize HTTP/1.1 work
until it is complete.

Goals and Milestones
---------------------

  Done        First HTTP/1.1 Revision Internet Draft

  Done        First HTTP Security Properties Internet Draft

  Feb 2012    Working Group Last Call for HTTP/1.1 Revision

  Feb 2012    Working Group Last Call for HTTP Security Properties

  Feb 2012    Call for Proposals for HTTP/2.0

  Apr 2012    Submit HTTP/1.1 Revision to IESG for consideration as a
              Proposed Standard

  Apr 2012    Submit HTTP Security Properties to IESG for
              consideration as Informational RFC

  June 2012   Re-charter to work on HTTP/2.0

###



From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 10:27:53 2012
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 0C42121F88E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:27:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 jP-aR6kqFc+4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:27:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DE26B21F889C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 10:27:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzuQk-0007w7-5V for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 18:27:14 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1RzuQX-0007vF-5u for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 18:27:01 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1RzuQQ-0000fj-8n for ietf-http-wg@w3.org; Tue, 21 Feb 2012 18:27:00 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 52ABA171D04; Tue, 21 Feb 2012 18:26:32 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1329848787; bh=vZfhfdI2JPt+S5 wBz+xyq8oBWnZfs7Cypgr8LqSsrLI=; b=W64wwWj7pP0qB02XfGLWmZgYA30s2J cjOVRxbTnaLFe3pIzD3WAR33Am/H40BzgSu4n0o+fmztc91XcgDaUmWCllITCx8E FSZqbVATa/vudvBHMd1zyP5DwuuTofCScbi0GxcVRgdaXKISmvaGVEk+2LOhNCrJ v0olf5R39ddHFdBMl7LbgmF0T7ssXLiRx4XZndacy6Okcx2DgPkFQiVwLaNqBNBI pvqEpd/GhS8RhkeHC3CkiuSjt/uBQTGSrvlMvFfVyXeXfyVuvu97ByIlVkCiKh8K z1jy5r+v3mVnYKV7WEGy1ydromEO6UNu4gAMTWXTNrHgKge9l5/7rckg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id czoRHLUbD36N; Tue, 21 Feb 2012 18:26:27 +0000 (GMT)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id DB40A171CFD; Tue, 21 Feb 2012 18:26:26 +0000 (GMT)
Message-ID: <4F43E1D3.4070201@cs.tcd.ie>
Date: Tue, 21 Feb 2012 18:26:27 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: iesg@ietf.org
CC: IETF-Discussion <ietf@ietf.org>, mnot@mnot.net, ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com>
In-Reply-To: <20120221181006.43AB121F87BF@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RzuQQ-0000fj-8n 11eec19ee0985d85a9ba61ba01997d4a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F43E1D3.4070201@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12489
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>
Resent-Message-Id: <E1RzuQk-0007w7-5V@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 18:27:14 +0000

Down below, for the proposed HTTP/2.0 work it says:

 > * Reflecting modern security requirements and practices

In some earlier discussion I asked what "modern" means
there. It seems to mean at least working well with TLS,
but I'm not sure what else is meant, if anything.

In particular, I think it'd be good to try get better
(more usable, more secure etc.) HTTP authentication
defined as a built-in part of HTTP/2.0.

My initial take is that if we're not going to do this
for a major revision of the protocol, then when are we
going to do it? So I'd like to see that included.

The counter argument offered was that better HTTP
authentication is complex and probably hard to get right
and so would be better handled separately.

While that's not an unreasonable point, my counter-counter
argument is that it doesn't seem to have worked very well
so far.

It was also argued that this charter is scoped to just
allow for selection of an initial candidate for HTTP/2.0
and there'd be another re-charter to follow based on that
selected candidate, so that discussion of specific
security features would be better done after that when
there's a specific protocol on which to do work.

My worry about that is that in practice the main
security aspects of a putative HTTP/2.0 will be very
hard to change at that point, so I'd like to see it
discussed as part of this phase of the work.

What do others think?

Thanks,
Stephen.

PS: When I say "like" above, that's what I'd personally
like, not a position that I'm adopting as a security AD.
(Alhough that'd be a fairly predictable position I guess:-)


On 02/21/2012 06:10 PM, IESG Secretary wrote:
> A modified charter has been submitted for the Hypertext Transfer
> Protocol Bis (httpbis) working group in the Applications Area of the
> IETF.  The IESG has not made any determination as yet.  The modified
> charter is provided below for informational purposes only.  Please send
> your comments to the IESG mailing list (iesg@ietf.org) by Tuesday,
> February 28, 2012.
>
> Hypertext Transfer Protocol Bis (httpbis)
> =========================================
>
> Charter
> Last Modified: 2012-02-09
>
> Current Status: Active Working Group
>
> Chair(s):
>      Mark Nottingham<mnot@mnot.net>
>
> Applications Area Director(s):
>      Pete Resnick<presnick@qualcomm.com>
>      Peter Saint-Andre<stpeter@stpeter.im>
>
> Applications Area Advisor:
>      Peter Saint-Andre<stpeter@stpeter.im>
>
> Mailing Lists:
>      General Discussion:ietf-http-wg@w3.org
>      To Subscribe:      ietf-http-wg-request@w3.org
>          In Body:       subscribe
>      Archive:           http://lists.w3.org/Archives/Public/ietf-http-wg/
>
> Description of Working Group
> ----------------------------
>
> This Working Group is charged with maintaining and developing
> the "core" specifications for HTTP.
>
> The Working Group's specification deliverables are:
> * A document (or set of documents) that is suitable to supersede RFC
>   2616 (HTTP/1.1) and move RFC 2817 to Historic status
> * A document cataloguing the security properties of HTTP/1.1
> * A document that specifies HTTP/2.0 an improved binding of HTTP's
>   semantics to the underlying transport.
>
> ### HTTP/1.1
>
> HTTP is one of the most successful and widely-used protocols on the
> Internet today. However, its specification has several editorial issues.
> Additionally, after years of implementation and extension, several
> ambiguities have become evident, impairing interoperability and the
> ability to easily implement and use HTTP.
>
> The working group will refine RFC2616 to:
> * Incorporate errata and updates (e.g., references, IANA registries,
>   ABNF)
> * Fix editorial problems which have led to misunderstandings of the
>   specification
> * Clarify conformance requirements
> * Remove known ambiguities where they affect interoperability
> * Clarify existing methods of extensibility
> * Remove or deprecate those features that are not widely implemented
>   and also unduly affect interoperability
> * Where necessary, add implementation advice
> * Document the security properties of HTTP and its associated
>   mechanisms (e.g., Basic and Digest authentication, cookies, TLS) for
>   common applications
>
> It will also incorporate the generic authentication framework from RFC
> 2617, without obsoleting or updating that specification's definition of
> the Basic and Digest schemes.
>
> Finally, it will incorporate relevant portions of RFC 2817 (in
> particular, the CONNECT method and advice on the use of Upgrade), so
> that that specification can be moved to Historic status.
>
> In doing so, it should consider:
> * Implementer experience
> * Demonstrated use of HTTP
> * Impact on existing implementations and deployments
>
> ### HTTP/2.0
>
> There is emerging implementation experience and interest in a protocol
> that retains the semantics of HTTP, without the legacy of HTTP/1.x
> message framing and syntax, which have been identified as hampering
> performance and encouraging misuse of the underlying transport.
>
> As such, there is an opportunity to create a new major
> (non-wire-compatible) version of HTTP.
>
> To do this, the Working Group will solicit candidates for this work from
> the community, to be submitted as Internet-Drafts. Expected focus areas
> for candidates include:
>
> * Significantly improved perceived performance in common use cases
>   (e.g., browsers, mobile)
> * More efficient use of network resources; in particular, reducing the
>   need to use multiple TCP connections
> * Ability to be deployed on today's Internet, using IPv4 and IPv6, in
>   the presence of NATs
> * Maintaining HTTP's ease of deployment
> * Reflecting modern security requirements and practices
>
> Although proposals are not required to meet all of these goals, it is
> expected that the resulting work (if undertaken) will be chartered to
> meet them (and therefore, selecting one that meets the majority of them
> as a starting point is in everyone's interest).
>
> The Working Group will then select a starting point for the new work
> based upon the following criteria:
>
> * Compatibility with HTTP/1.1 semantics; i.e., it must be possible to
>   pass through a HTTP/1.1 message with reasonable fidelity
> * Broad implementer interest (e.g., from Web browsers, "back-end"
>   or "web api" uses of HTTP, servers, intermediaries, CDNs, etc.)
>
> Changes to the existing semantics of HTTP are out of scope in order to
> preserve the meaning of messages that might cross a 1.1 -->  2.0 -->  1.1
> request chain. However, the resulting effort may define new semantics to
> further the goals above, along with suitable extensibility mechanisms
> for defining additional semantics.
>
> If the Working Group forms consensus around a proposal to use as a
> starting point, it is expected it will re-charter to begin work on that
> document (or set of documents). The resulting work will be known as
> "HTTP/2.0", unless the Working Group determines that this isn't suitable
> (e.g., for interoperability).
>
> Although work on this new version will begin in parallel with completion
> of work on HTTP/1.1, the Working Group will prioritize HTTP/1.1 work
> until it is complete.
>
> Goals and Milestones
> ---------------------
>
>    Done        First HTTP/1.1 Revision Internet Draft
>
>    Done        First HTTP Security Properties Internet Draft
>
>    Feb 2012    Working Group Last Call for HTTP/1.1 Revision
>
>    Feb 2012    Working Group Last Call for HTTP Security Properties
>
>    Feb 2012    Call for Proposals for HTTP/2.0
>
>    Apr 2012    Submit HTTP/1.1 Revision to IESG for consideration as a
>                Proposed Standard
>
>    Apr 2012    Submit HTTP Security Properties to IESG for
>                consideration as Informational RFC
>
>    June 2012   Re-charter to work on HTTP/2.0
>
> ###
>
> _______________________________________________
> IETF-Announce mailing list
> IETF-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/ietf-announce
>


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 10:35:14 2012
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 9685821F890B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:35:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.388
X-Spam-Level: 
X-Spam-Status: No, score=-8.388 tagged_above=-999 required=5 tests=[AWL=2.211, 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 5ROH2owvQVYz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:35:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB3B821F87F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 10:35:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzuX5-0002qZ-FU for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 18:33:47 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RzuWw-0002pi-37 for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 18:33:38 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RzuWu-0004HZ-45 for ietf-http-wg@w3.org; Tue, 21 Feb 2012 18:33:37 +0000
Received: (qmail invoked by alias); 21 Feb 2012 18:33:09 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 21 Feb 2012 19:33:09 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19TpeVESBpTFcNMG95D7qy1ZbQ5tFegp4OlHOAxlf TwAdjteVSoUf/O
Message-ID: <4F43E364.4040706@gmx.de>
Date: Tue, 21 Feb 2012 19:33:08 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: iesg@ietf.org, IETF-Discussion <ietf@ietf.org>, mnot@mnot.net,  ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie>
In-Reply-To: <4F43E1D3.4070201@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RzuWu-0004HZ-45 a97b5d4cc9942bf3bcdb3555369a35bb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F43E364.4040706@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12490
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>
Resent-Message-Id: <E1RzuX5-0002qZ-FU@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 18:33:47 +0000

On 2012-02-21 19:26, Stephen Farrell wrote:
>
> Down below, for the proposed HTTP/2.0 work it says:
>
>  > * Reflecting modern security requirements and practices
>
> In some earlier discussion I asked what "modern" means
> there. It seems to mean at least working well with TLS,
> but I'm not sure what else is meant, if anything.
>
> In particular, I think it'd be good to try get better
> (more usable, more secure etc.) HTTP authentication
> defined as a built-in part of HTTP/2.0.
>
> My initial take is that if we're not going to do this
> for a major revision of the protocol, then when are we
> going to do it? So I'd like to see that included.
>
> The counter argument offered was that better HTTP
> authentication is complex and probably hard to get right
> and so would be better handled separately.

I believe this should be orthogonal to HTTP/2.0. Is there a specific 
thing that makes it impossible to use the existing authentication framework?

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 10:38:11 2012
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 196F721E802A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:38:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.17
X-Spam-Level: 
X-Spam-Status: No, score=-7.17 tagged_above=-999 required=5 tests=[AWL=3.429, 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 ibfEK7dpb4O7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:38:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 78E4421E8041 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 10:37:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzuax-0003Gv-Dp for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 18:37:47 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Rzuak-0003Au-B0 for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 18:37:34 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Rzuai-0004Q8-Ld for ietf-http-wg@w3.org; Tue, 21 Feb 2012 18:37:33 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 09557171CFD; Tue, 21 Feb 2012 18:37:12 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1329849431; bh=AlCMV/MNyen9pi 4m8merGz6snae4PHBqyG1wj7h2H2Q=; b=iVoH8FDvdHoGxxa253z0XCWbz1Blv/ 580Cl5SAYXhp6NHWL6vvvCnMLCBdNFs9eUgialYy7wScwfrBZduQpOM+9x1fWXKU iTAYJw3nNrnx7SRb8gnmLTwkmIUJKHjxOVcxaQYrfLKpYvSUsASXWdPg9BlAxW4O 4qlC+tnLH5AAd2NuI9dhpoeOIG1i7WZQpVsvDkXRvuelselmx6dGgUnEGaJt+mNQ u0i0NMNJ/kBkUXcdHrDNeJkoElJw1dxp+pSFhRhRGh5uZxRrwE85wdq+lvDjcBIC Oyrrh3bvhtjrQgD29DeWGU3qmcr46k5vognt7C4YpNKM5Ua/f8fCUMyw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id W0Paum+Ao8Lb; Tue, 21 Feb 2012 18:37:11 +0000 (GMT)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 5D496171C28; Tue, 21 Feb 2012 18:37:11 +0000 (GMT)
Message-ID: <4F43E458.6030705@cs.tcd.ie>
Date: Tue, 21 Feb 2012 18:37:12 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: mnot@mnot.net, iesg@ietf.org, ietf-http-wg@w3.org,  IETF-Discussion <ietf@ietf.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de>
In-Reply-To: <4F43E364.4040706@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rzuai-0004Q8-Ld e34e305384ba1d1f2f4dae0f5c672d35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F43E458.6030705@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12491
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>
Resent-Message-Id: <E1Rzuax-0003Gv-Dp@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 18:37:47 +0000

On 02/21/2012 06:33 PM, Julian Reschke wrote:
> On 2012-02-21 19:26, Stephen Farrell wrote:
>>
>> Down below, for the proposed HTTP/2.0 work it says:
>>
>> > * Reflecting modern security requirements and practices
>>
>> In some earlier discussion I asked what "modern" means
>> there. It seems to mean at least working well with TLS,
>> but I'm not sure what else is meant, if anything.
>>
>> In particular, I think it'd be good to try get better
>> (more usable, more secure etc.) HTTP authentication
>> defined as a built-in part of HTTP/2.0.
>>
>> My initial take is that if we're not going to do this
>> for a major revision of the protocol, then when are we
>> going to do it? So I'd like to see that included.
>>
>> The counter argument offered was that better HTTP
>> authentication is complex and probably hard to get right
>> and so would be better handled separately.
>
> I believe this should be orthogonal to HTTP/2.0. Is there a specific
> thing that makes it impossible to use the existing authentication
> framework?

Who knows? We don't have a protocol on the table yet. I
would imagine that some level of backwards compatibility
would be a requirement of course, or at least an issue to
be considered.

But the existing HTTP client authentication is also not
necessarily very useful, and there have been a number of
efforts to improve on that, none of which seem to have
gotten sufficient traction to get widely deployed/used.
Maybe HTTP/2.0 is a good time to try fix that.

S.


>
>> ...
>
> Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 10:51:20 2012
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 4DB6B21F88B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:51:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.372
X-Spam-Level: 
X-Spam-Status: No, score=-8.372 tagged_above=-999 required=5 tests=[AWL=2.227, 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 8QHKuaccgsWi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 10:51:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD6C821F8866 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 10:51:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzunX-0007ok-EK for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 18:50:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1RzunM-0007nl-Ky for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 18:50:36 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1RzunH-0001NY-Qt for ietf-http-wg@w3.org; Tue, 21 Feb 2012 18:50:35 +0000
Received: (qmail invoked by alias); 21 Feb 2012 18:50:05 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp024) with SMTP; 21 Feb 2012 19:50:05 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19Y9Gp1oAhYCOL8Uu8O98gC3ANDH2AZ5z47Dnaesr N6gw5Ql75vUSz2
Message-ID: <4F43E75C.2010309@gmx.de>
Date: Tue, 21 Feb 2012 19:50:04 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: mnot@mnot.net, iesg@ietf.org, ietf-http-wg@w3.org,  IETF-Discussion <ietf@ietf.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie>
In-Reply-To: <4F43E458.6030705@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RzunH-0001NY-Qt 9c16955cb61aee217f993778e2516122
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F43E75C.2010309@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12492
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>
Resent-Message-Id: <E1RzunX-0007ok-EK@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 18:50:47 +0000

On 2012-02-21 19:37, Stephen Farrell wrote:
> ...
>> I believe this should be orthogonal to HTTP/2.0. Is there a specific
>> thing that makes it impossible to use the existing authentication
>> framework?
>
> Who knows? We don't have a protocol on the table yet. I
> would imagine that some level of backwards compatibility
> would be a requirement of course, or at least an issue to
> be considered.
>
> But the existing HTTP client authentication is also not
> necessarily very useful, and there have been a number of
> efforts to improve on that, none of which seem to have
> gotten sufficient traction to get widely deployed/used.
> Maybe HTTP/2.0 is a good time to try fix that.

Well, we have an existing authentication framework. It would be 
interesting to find out what's missing from it.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:21:47 2012
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 D8F5921F88BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:21:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 NbBfXZIA7U6p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:21:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA3C121F8647 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:21:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzy46-0000W2-8U for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:20:06 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Rzy3u-0000UW-2d for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:19:54 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Rzy3r-0004V0-Sz for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:19:52 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 580B8171CFD; Tue, 21 Feb 2012 22:19:30 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1329862770; bh=jKExa3zGtQKpr3 4w/OaU4I889GOABc8PGlcRxPT4asI=; b=6qouvOOY8VoFLQYHO05KlTj+nFks4K E7dL4IzgEsMlGBuO8t+C9Qo5l6M40RSxlq7IAZWGlCUC/afvIyffP/3r6xyhHFLR ZvTtBtla53jv60oeZXuVoY0rHnGs6MEsUWeMAngQMkNlxstr5DIno5tEugVwKsGo OiBm/HqlGPEFJn+Yb2aKV1FESblLMpz8KmbWh0aeDedHrX5PeNP74nJmCyOlRL4w hPiCXXVT7j+i6yCa4gwdSyrObXGvo129ekmi5XJw7n153e9miF5Gsl5LNUGHfGua MHDDWSuSCfN8PjXfvZzGz/q8qCwHTtJtUuLGSufXBku/wEEJqg4wqzIg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id Lh8fOcTD7hD1; Tue, 21 Feb 2012 22:19:30 +0000 (GMT)
Received: from [10.87.48.9] (unknown [86.42.23.218]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 9BC13171C28; Tue, 21 Feb 2012 22:19:28 +0000 (GMT)
Message-ID: <4F441870.8010206@cs.tcd.ie>
Date: Tue, 21 Feb 2012 22:19:28 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: mnot@mnot.net, IETF-Discussion <ietf@ietf.org>, iesg@ietf.org,  ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>
In-Reply-To: <4F43E75C.2010309@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Rzy3r-0004V0-Sz 1e12c2a3f8d46753da1ab1dd5aa8d210
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F441870.8010206@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12493
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>
Resent-Message-Id: <E1Rzy46-0000W2-8U@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:20:06 +0000

Hi Julian,

On 02/21/2012 06:50 PM, Julian Reschke wrote:
> On 2012-02-21 19:37, Stephen Farrell wrote:
>> ...
>>> I believe this should be orthogonal to HTTP/2.0. Is there a specific
>>> thing that makes it impossible to use the existing authentication
>>> framework?
>>
>> Who knows? We don't have a protocol on the table yet. I
>> would imagine that some level of backwards compatibility
>> would be a requirement of course, or at least an issue to
>> be considered.
>>
>> But the existing HTTP client authentication is also not
>> necessarily very useful, and there have been a number of
>> efforts to improve on that, none of which seem to have
>> gotten sufficient traction to get widely deployed/used.
>> Maybe HTTP/2.0 is a good time to try fix that.
>
> Well, we have an existing authentication framework. It would be
> interesting to find out what's missing from it.

Fair point.

I would wonder whether that framework could be used
as-is if HTTP/2.0 does do away "with the of HTTP/1.x
message framing and syntax" but I guess some equivalent
functionality could be defined in that case.

So as in my initial mail the 1st question here is, what
does "modern" mean in this draft charter? E.g. does it
mean "same as the current framework with different
bits" or something else? If so, what?

And then should it include adding some new options
or MTI auth schemes as part of HTTP/2.0 or even looking
at that? (I think it ought to include trying for that
personally, even if there is a higher-than-usual risk
of failure.)

S


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:29:39 2012
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 587DC11E80B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:29:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.247
X-Spam-Level: 
X-Spam-Status: No, score=-9.247 tagged_above=-999 required=5 tests=[AWL=0.730, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 cBZPmoktE693 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:29:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B2F6E11E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:29:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzyD0-0001iA-JS for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:29:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <robertc@robertcollins.net>) id 1RzyCp-0001h1-ES for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:29:07 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1RzyCn-00077o-6j for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:29:06 +0000
Received: by damc16 with SMTP id c16so8215088dam.2 for <ietf-http-wg@w3.org>; Tue, 21 Feb 2012 14:28:38 -0800 (PST)
Received-SPF: pass (google.com: domain of robertc@robertcollins.net designates 10.68.130.234 as permitted sender) client-ip=10.68.130.234;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of robertc@robertcollins.net designates 10.68.130.234 as permitted sender) smtp.mail=robertc@robertcollins.net
Received: from mr.google.com ([10.68.130.234]) by 10.68.130.234 with SMTP id oh10mr73921217pbb.143.1329863318808 (num_hops = 1); Tue, 21 Feb 2012 14:28:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.130.234 with SMTP id oh10mr61313909pbb.143.1329863318760; Tue, 21 Feb 2012 14:28:38 -0800 (PST)
Sender: robertc@robertcollins.net
Received: by 10.68.218.133 with HTTP; Tue, 21 Feb 2012 14:28:38 -0800 (PST)
X-Originating-IP: [122.58.129.196]
In-Reply-To: <4F43E75C.2010309@gmx.de>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>
Date: Wed, 22 Feb 2012 11:28:38 +1300
X-Google-Sender-Auth: wXIMSZGqG2e7GfbpymoiIlzOVXI
Message-ID: <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com>
From: Robert Collins <robertc@squid-cache.org>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, mnot@mnot.net, iesg@ietf.org,  ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnrpCTsVc8nmvCY0bd5FbuQV+XLliecr/5+nSfJthRoj2YV5BvUYZs73DmU4/vrOMGFTp08
Received-SPF: none client-ip=209.85.210.43; envelope-from=robertc@robertcollins.net; helo=mail-pz0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1RzyCn-00077o-6j ba5f597626c31548ff14b545361dbf83
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12494
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>
Resent-Message-Id: <E1RzyD0-0001iA-JS@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:29:18 +0000

On Wed, Feb 22, 2012 at 7:50 AM, Julian Reschke <julian.reschke@gmx.de> wrote:

>
> Well, we have an existing authentication framework. It would be interesting
> to find out what's missing from it.

browser id, openid, and oauth are all authentication frameworks built
on top of HTTP rather than with HTTP; being able to implement some or
all of those at the protocol layer would be very nice.

As to whats involved, I don't have a short-list at hand, sorry :)

-Rob


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:37:49 2012
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 4513011E80C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:37:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.457
X-Spam-Level: 
X-Spam-Status: No, score=-6.457 tagged_above=-999 required=5 tests=[AWL=3.519, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 LBT2VK2XveSW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:37:45 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E37911E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:37:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzyKG-00050c-2c for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:36:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1RzyK6-0004zB-0h for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:36:38 +0000
Received: from mail-gy0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1RzyK4-00050S-C9 for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:36:37 +0000
Received: by ghbf1 with SMTP id f1so3633166ghb.2 for <ietf-http-wg@w3.org>; Tue, 21 Feb 2012 14:36:11 -0800 (PST)
Received-SPF: pass (google.com: domain of barryleiba.mailing.lists@gmail.com designates 10.236.79.202 as permitted sender) client-ip=10.236.79.202;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of barryleiba.mailing.lists@gmail.com designates 10.236.79.202 as permitted sender) smtp.mail=barryleiba.mailing.lists@gmail.com; dkim=pass header.i=barryleiba.mailing.lists@gmail.com
Received: from mr.google.com ([10.236.79.202]) by 10.236.79.202 with SMTP id i50mr38819364yhe.61.1329863771223 (num_hops = 1); Tue, 21 Feb 2012 14:36:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wlAI9qGqrdpI0Qg+bLo1pTtyRBTmLqE4kMNDOl6q+Mg=; b=ZTReime3Jgul61jmJ+PaYPa4w9qHQHm25x7JtMj6v3Via61cJ8h+25gwqn+7THp4rB W3fnLN4Io06XL4ubnY5FJiI5x2wslMQqSh2pWMVhpRHjjWhBSnR1r8HuW1GC5EP92Jvm eVvsklmHyzejO37wo4t9U/nuQuBqw8bHiZZ48=
MIME-Version: 1.0
Received: by 10.236.79.202 with SMTP id i50mr30176471yhe.61.1329863771173; Tue, 21 Feb 2012 14:36:11 -0800 (PST)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.147.58.20 with HTTP; Tue, 21 Feb 2012 14:36:11 -0800 (PST)
In-Reply-To: <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com>
Date: Tue, 21 Feb 2012 17:36:11 -0500
X-Google-Sender-Auth: UljDvpXDS1VBlo33hwVtAJ_qLBU
Message-ID: <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Robert Collins <robertc@squid-cache.org>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "iesg@ietf.org" <iesg@ietf.org>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, IETF-Discussion <ietf@ietf.org>
Content-Type: multipart/alternative; boundary=20cf30051430ae31e804b9810945
Received-SPF: pass client-ip=209.85.160.171; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-gy0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1RzyK4-00050S-C9 7b9812e9d72971e80117ef88e101f5b8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12495
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>
Resent-Message-Id: <E1RzyKG-00050c-2c@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:36:48 +0000

--20cf30051430ae31e804b9810945
Content-Type: text/plain; charset=ISO-8859-1

>
> browser id, openid, and oauth are all authentication frameworks built
> on top of HTTP
>

OAuth is an authorization framework, not an authentication one.  Please be
careful to make the distinction.

What we're looking at here is the need for an HTTP authentication system
that (for example) doesn't send reusable credentials, is less susceptible
to spoofing attacks, and so on.

Barry

--20cf30051430ae31e804b9810945
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">browser id, openid, and oauth are all authen=
tication frameworks built<br>on top of HTTP<br>
</blockquote><div><br></div><div>OAuth is an authorization framework, not a=
n authentication one. =A0Please be careful to make the distinction.</div><d=
iv><br></div><div>What we&#39;re looking at here is the need for an HTTP au=
thentication system that (for example) doesn&#39;t send reusable credential=
s, is less susceptible to spoofing attacks, and so on.</div>
<div><br></div><div>Barry=A0</div>

--20cf30051430ae31e804b9810945--


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:39:23 2012
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 8816421F85F0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:39:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.526
X-Spam-Level: 
X-Spam-Status: No, score=-7.526 tagged_above=-999 required=5 tests=[AWL=3.073, 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 Yrol9maF0kWe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:39:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7788621F8611 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:39:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzyMD-0005KG-5T for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:38:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1RzyM3-0005IM-1F for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:38:39 +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 1RzyM0-00054a-En for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:38:38 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3385)) with SMTP id <0018876218@smtp.qbik.com>; Wed, 22 Feb 2012 11:38:12 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.0.8 (Build 3364)) with SMTP id <0010063297@sago.qbik.com>; Wed, 22 Feb 2012 11:38:05 +1300
Message-ID: <4F441CCD.4020907@qbik.com>
Date: Wed, 22 Feb 2012 11:38:05 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120216 Thunderbird/11.0
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: mnot@mnot.net, IETF-Discussion <ietf@ietf.org>, iesg@ietf.org,  ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>
In-Reply-To: <4F43E75C.2010309@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RzyM0-00054a-En aea0819683268047318a66d5b82a7879
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F441CCD.4020907@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12496
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>
Resent-Message-Id: <E1RzyMD-0005KG-5T@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:38:49 +0000

Hi Julian,

On 02/21/2012 06:50 PM, Julian Reschke wrote:
> On 2012-02-21 19:37, Stephen Farrell wrote:
>> ...
>>> I believe this should be orthogonal to HTTP/2.0. Is there a specific
>>> thing that makes it impossible to use the existing authentication
>>> framework?
>>
>> Who knows? We don't have a protocol on the table yet. I
>> would imagine that some level of backwards compatibility
>> would be a requirement of course, or at least an issue to
>> be considered.
>>
>> But the existing HTTP client authentication is also not
>> necessarily very useful, and there have been a number of
>> efforts to improve on that, none of which seem to have
>> gotten sufficient traction to get widely deployed/used.
>> Maybe HTTP/2.0 is a good time to try fix that.
>
> Well, we have an existing authentication framework. It would be
> interesting to find out what's missing from it.

session support with login and logout would be good.  I know it's a can 
of worms, with some serious security implications.

But this is why no websites use HTTP auth to speak of, which makes it 
difficult to do integrated authentication.

Adrien


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:41:02 2012
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 9355121F87A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:41:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 M7kJiVxAgyT5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:41:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31E5721F879D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:40:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzyO2-0005RZ-M1 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:40:42 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1RzyNs-0005Qi-Hd for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:40:32 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1RzyNq-0007M3-PK for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:40:32 +0000
Received: from [192.168.0.100] (unknown [101.170.32.89]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0828C50A64; Tue, 21 Feb 2012 17:40:01 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F441870.8010206@cs.tcd.ie>
Date: Wed, 22 Feb 2012 09:40:02 +1100
Cc: Julian Reschke <julian.reschke@gmx.de>, IETF-Discussion <ietf@ietf.org>, iesg@ietf.org, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1251.1)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1RzyNq-0007M3-PK 41eafa263843ac7fc5ecad413deac315
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12497
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>
Resent-Message-Id: <E1RzyO2-0005RZ-M1@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:40:42 +0000

On 22/02/2012, at 9:19 AM, Stephen Farrell wrote:

>=20
> Hi Julian,
>=20
> On 02/21/2012 06:50 PM, Julian Reschke wrote:
>> On 2012-02-21 19:37, Stephen Farrell wrote:
>>> ...
>>>> I believe this should be orthogonal to HTTP/2.0. Is there a =
specific
>>>> thing that makes it impossible to use the existing authentication
>>>> framework?
>>>=20
>>> Who knows? We don't have a protocol on the table yet. I
>>> would imagine that some level of backwards compatibility
>>> would be a requirement of course, or at least an issue to
>>> be considered.
>>>=20
>>> But the existing HTTP client authentication is also not
>>> necessarily very useful, and there have been a number of
>>> efforts to improve on that, none of which seem to have
>>> gotten sufficient traction to get widely deployed/used.
>>> Maybe HTTP/2.0 is a good time to try fix that.
>>=20
>> Well, we have an existing authentication framework. It would be
>> interesting to find out what's missing from it.
>=20
> Fair point.
>=20
> I would wonder whether that framework could be used
> as-is if HTTP/2.0 does do away "with the of HTTP/1.x
> message framing and syntax" but I guess some equivalent
> functionality could be defined in that case.

That shouldn't affect the framework at all. At most, you'd have to =
define how to re-serialise the current syntax if you don't have a way to =
"tunnel" it (since HTTP/1.1 passthrough is required).


> So as in my initial mail the 1st question here is, what
> does "modern" mean in this draft charter? E.g. does it
> mean "same as the current framework with different
> bits" or something else? If so, what?

As discussed off-list, I'd be happy to drop this phrase from *this* =
charter, in anticipation of it being worked out in discussions about the =
*next* one.


> And then should it include adding some new options
> or MTI auth schemes as part of HTTP/2.0 or even looking
> at that? (I think it ought to include trying for that
> personally, even if there is a higher-than-usual risk
> of failure.)


Based on past experience, I think the risk is very high, and we don't =
need to pile any more risk onto this particular project.=20

Also, most of the discussions about authentication and associated =
problems on the Web are *not* exclusive to HTTP or even protocol =
artefacts; they include concerns like UI and human factors, integration =
into hypertext, etc. As such, what we really need is a "whole of stack" =
focus on Web authentication; shoving it into this particular WG will, =
IMO, lead to a predictable failure.

Regards,


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






From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:47:15 2012
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 BC19521F87DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:47:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.462
X-Spam-Level: 
X-Spam-Status: No, score=-5.462 tagged_above=-999 required=5 tests=[AWL=4.515, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Tr2DwxFT+JfC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:47:15 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1177021F87DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:47:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzyU2-0007yE-00 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:46:54 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1RzyTp-0007xI-Np for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:46:41 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1RzyTo-0005Jk-EG for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:46:41 +0000
Received: by obcuy19 with SMTP id uy19so11645732obc.2 for <ietf-http-wg@w3.org>; Tue, 21 Feb 2012 14:46:14 -0800 (PST)
Received-SPF: pass (google.com: domain of tbray@textuality.com designates 10.182.89.65 as permitted sender) client-ip=10.182.89.65;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of tbray@textuality.com designates 10.182.89.65 as permitted sender) smtp.mail=tbray@textuality.com
Received: from mr.google.com ([10.182.89.65]) by 10.182.89.65 with SMTP id bm1mr16777434obb.52.1329864374633 (num_hops = 1); Tue, 21 Feb 2012 14:46:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.182.89.65 with SMTP id bm1mr14226759obb.52.1329864374544; Tue, 21 Feb 2012 14:46:14 -0800 (PST)
Received: by 10.182.137.69 with HTTP; Tue, 21 Feb 2012 14:46:14 -0800 (PST)
X-Originating-IP: [76.10.184.127]
In-Reply-To: <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
Date: Tue, 21 Feb 2012 14:46:14 -0800
Message-ID: <CAHBU6iuNhkPGZ5M3FyM2aZmqzVmRW2iRvtyQaYhk65s4FuVZDg@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Julian Reschke <julian.reschke@gmx.de>,  ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>, iesg@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQn4QqXDrBlDBEBwAEDcfXkxTpSmjU6hbYJvXDedTSrhTLQKlxDiFdtCHDkiOnNBoPp8QioM
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1RzyTo-0005Jk-EG 078ea1f5019b5439cc31f26f947e7f69
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CAHBU6iuNhkPGZ5M3FyM2aZmqzVmRW2iRvtyQaYhk65s4FuVZDg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12498
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>
Resent-Message-Id: <E1RzyU2-0007yE-00@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:46:54 +0000

[in-line]

On Tue, Feb 21, 2012 at 2:40 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> And then should it include adding some new options
>> or MTI auth schemes as part of HTTP/2.0 or even looking
>> at that? (I think it ought to include trying for that
>> personally, even if there is a higher-than-usual risk
>> of failure.)
>
>
> Based on past experience, I think the risk is very high, and we don't need to pile any more risk onto this particular project.

+1

HTTP's ability to be equipped with security technology has been
adequate, and I haven't heard much argument that its semantics were
the big obstacle to newer/better security.  Preserving its semantics
means its successor should be equally adequate.

Mnot is *understating* the risk of loading up the charter with this stuff. -T


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:54:17 2012
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 A41CC21F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:54:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.369
X-Spam-Level: 
X-Spam-Status: No, score=-9.369 tagged_above=-999 required=5 tests=[AWL=0.608, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 SlcAAuyhrXJV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:54:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE37921F85BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:54:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzyaz-0000Ao-EW for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:54:05 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <robertc@robertcollins.net>) id 1Rzyao-00009x-VU for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:53:55 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1Rzyam-0007ex-H9 for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:53:53 +0000
Received: by damc16 with SMTP id c16so8238362dam.2 for <ietf-http-wg@w3.org>; Tue, 21 Feb 2012 14:53:27 -0800 (PST)
Received-SPF: pass (google.com: domain of robertc@robertcollins.net designates 10.68.223.99 as permitted sender) client-ip=10.68.223.99;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of robertc@robertcollins.net designates 10.68.223.99 as permitted sender) smtp.mail=robertc@robertcollins.net
Received: from mr.google.com ([10.68.223.99]) by 10.68.223.99 with SMTP id qt3mr3164898pbc.122.1329864807258 (num_hops = 1); Tue, 21 Feb 2012 14:53:27 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.223.99 with SMTP id qt3mr2485621pbc.122.1329864807192; Tue, 21 Feb 2012 14:53:27 -0800 (PST)
Sender: robertc@robertcollins.net
Received: by 10.68.218.133 with HTTP; Tue, 21 Feb 2012 14:53:27 -0800 (PST)
X-Originating-IP: [122.58.129.196]
In-Reply-To: <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com>
Date: Wed, 22 Feb 2012 11:53:27 +1300
X-Google-Sender-Auth: ExO4ZQELscP2dOlNbzGPuL3z9w0
Message-ID: <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com>
From: Robert Collins <robertc@squid-cache.org>
To: Barry Leiba <barryleiba@computer.org>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkA1Uxbh2Aadkim3AvuR6LP60qHZyJENg4nO+HQQHtGzNBV3pHJ6/A6kcLy7i62Y7usYTm/
Received-SPF: none client-ip=209.85.210.43; envelope-from=robertc@robertcollins.net; helo=mail-pz0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Rzyam-0007ex-H9 ab58bd978c24a56673fda51ad9ddeded
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12500
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>
Resent-Message-Id: <E1Rzyaz-0000Ao-EW@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:54:05 +0000

On Wed, Feb 22, 2012 at 11:36 AM, Barry Leiba <barryleiba@computer.org> wro=
te:
>> browser id, openid, and oauth are all authentication frameworks built
>> on top of HTTP
>
>
> OAuth is an authorization framework, not an authentication one. =A0Please=
 be
> careful to make the distinction.

I call rubbish:

http://tools.ietf.org/html/rfc5849#section-1.1

And I quote: "   client
         An HTTP client (per [RFC2616]) capable of making OAuth-
         authenticated requests (Section 3).

   server
         An HTTP server (per [RFC2616]) capable of accepting OAuth-
         authenticated requests (Section 3)."

OAuth certainly *thinks* it provides *both* Authentication *and*
Authorization, and it uses the same header that Basic and Digest do -
Authorization.

> What we're looking at here is the need for an HTTP authentication system
> that (for example) doesn't send reusable credentials, is less susceptible=
 to
> spoofing attacks, and so on.

Those are good things too, though orthogonal to my point, which is
that some of the most widely deployed authentication - yes,
authentication - systems used by web sites are not part of the HTTP
protocol spec. OpenID  and cookie based systems in general.

(Though OAuth is a pleasing exception in that it can and does
preferentially use the Authorization header).

-Rob


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:54:18 2012
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 4AC8E21F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:54:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.599
X-Spam-Level: 
X-Spam-Status: No, score=-7.599 tagged_above=-999 required=5 tests=[AWL=3.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 3PtWsxa77BBR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:54:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 55BB521F8658 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:54:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzyag-00009q-Kh for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:53:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1RzyaW-000082-6O for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:53:36 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1RzyaU-0007ef-0x for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:53:35 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id A0F1F171CFD; Tue, 21 Feb 2012 22:53:13 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1329864793; bh=TShQetokzfKhXU 5DKCINSps7zffzcCTxUOw/cYPTffQ=; b=MWaVVMPz7xxiArjSf3yYEUjJR0jNEn RtEs46isJaVM0QTQFsMwtD9s9OGEb8I7oP1xpu2oR3I0BKK/wRfNRAWbvh6fT+BB Es8qqJW4tsFqHDP/ab7aE2xtw5sx3+W3JHFOK46ydablVQPE8bg1j8ZpHtekCE3D gIOrtVdIUdCu1dR9LK78HJu/yUVOmK8wZa45RpEIRVG5GlBuuhgA+cgWEZ4qzZ25 K+KVSmWQfRSsy3wdfKT1rPAWdW3rEHbYKP+n0buXotqGwQy4gjmqIDD9yR3ue3FE 7lRXaFd4/ucwuPrwpYjD8iOnKuPEMH4gadY0rBEzOrZbrQ7id16YfyTQ==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id pSVJBfCAUREE; Tue, 21 Feb 2012 22:53:13 +0000 (GMT)
Received: from [10.87.48.9] (unknown [86.42.23.218]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id BF6C7171C28; Tue, 21 Feb 2012 22:53:12 +0000 (GMT)
Message-ID: <4F442058.5070804@cs.tcd.ie>
Date: Tue, 21 Feb 2012 22:53:12 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Julian Reschke <julian.reschke@gmx.de>, ietf-http-wg@w3.org,  IETF-Discussion <ietf@ietf.org>, iesg@ietf.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
In-Reply-To: <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1RzyaU-0007ef-0x 8e8d777b2e72f059876d6a4f13afd6d6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F442058.5070804@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12499
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>
Resent-Message-Id: <E1Rzyag-00009q-Kh@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:53:46 +0000

On 02/21/2012 10:40 PM, Mark Nottingham wrote:
>
> On 22/02/2012, at 9:19 AM, Stephen Farrell wrote:
>

>> So as in my initial mail the 1st question here is, what
>> does "modern" mean in this draft charter? E.g. does it
>> mean "same as the current framework with different
>> bits" or something else? If so, what?
>
> As discussed off-list, I'd be happy to drop this phrase from *this* charter, in anticipation of it being worked out in discussions about the *next* one.

Well, I think the phrase does need to be replaced
by something else all right.

I'm reluctant to omit mention of security entirely
of course and do want to know what's gonna be done
for authentication in a putative HTTP/2.0.

Like I said, I'm pretty skeptical that any significant
change to security properties will be achievable at
that next charter stage.

>> And then should it include adding some new options
>> or MTI auth schemes as part of HTTP/2.0 or even looking
>> at that? (I think it ought to include trying for that
>> personally, even if there is a higher-than-usual risk
>> of failure.)
>
>
> Based on past experience, I think the risk is very high, and we don't need to pile any more risk onto this particular project.

Based on past experience the milestones for this will be
wildly optimistic and it'll really take five years so at
the end of 2017 we'll be right where we are in terms of
HTTP authentication for all of which time HTTP authentication
will be the "next thing" to do. (Ok, I'm exaggerating a
bit there.)

I think both experiences are valid.

> Also, most of the discussions about authentication and associated problems on the Web are *not* exclusive to HTTP or even protocol artefacts; they include concerns like UI and human factors, integration into hypertext, etc. As such, what we really need is a "whole of stack" focus on Web authentication; shoving it into this particular WG will, IMO, lead to a predictable failure.

It is true that many sites don't use HTTP authentication
for UI reasons. I don't think it follows that doing nothing
is the right approach. (Well, one could argue to remove all
user authentication from HTTP I guess - is that one of the
proposals?)

Cheers,
S.




From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 14:56:31 2012
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 318E811E80F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:56:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.932
X-Spam-Level: 
X-Spam-Status: No, score=-7.932 tagged_above=-999 required=5 tests=[AWL=2.667, 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 J0iwDVcUUHXb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 14:56:30 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9404111E8109 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 14:56:30 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzyd9-0000Rx-D4 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 22:56:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Rzycy-0000Pu-C1 for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 22:56:08 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Rzycw-0005eQ-Aj for ietf-http-wg@w3.org; Tue, 21 Feb 2012 22:56:07 +0000
Received: from [192.168.0.100] (unknown [101.170.32.89]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9006950A5D; Tue, 21 Feb 2012 17:55:42 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F442058.5070804@cs.tcd.ie>
Date: Wed, 22 Feb 2012 09:55:41 +1100
Cc: Julian Reschke <julian.reschke@gmx.de>, ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>, iesg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8F042342-7C6A-4ED4-9A67-591644D3D5D6@mnot.net>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net> <4F442058.5070804@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1251.1)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rzycw-0005eQ-Aj 4e57a0dda6bcbc02042554f606d28f35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/8F042342-7C6A-4ED4-9A67-591644D3D5D6@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12501
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>
Resent-Message-Id: <E1Rzyd9-0000Rx-D4@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 22:56:19 +0000

Stephen,=20

The approach we're advocating for this WG is to solicit well-formed =
proposals, select one and develop it.=20

If there isn't one for HTTP authentication, how are you advocating we =
proceed?

Regards,



On 22/02/2012, at 9:53 AM, Stephen Farrell wrote:

>=20
>=20
> On 02/21/2012 10:40 PM, Mark Nottingham wrote:
>>=20
>> On 22/02/2012, at 9:19 AM, Stephen Farrell wrote:
>>=20
>=20
>>> So as in my initial mail the 1st question here is, what
>>> does "modern" mean in this draft charter? E.g. does it
>>> mean "same as the current framework with different
>>> bits" or something else? If so, what?
>>=20
>> As discussed off-list, I'd be happy to drop this phrase from *this* =
charter, in anticipation of it being worked out in discussions about the =
*next* one.
>=20
> Well, I think the phrase does need to be replaced
> by something else all right.
>=20
> I'm reluctant to omit mention of security entirely
> of course and do want to know what's gonna be done
> for authentication in a putative HTTP/2.0.
>=20
> Like I said, I'm pretty skeptical that any significant
> change to security properties will be achievable at
> that next charter stage.
>=20
>>> And then should it include adding some new options
>>> or MTI auth schemes as part of HTTP/2.0 or even looking
>>> at that? (I think it ought to include trying for that
>>> personally, even if there is a higher-than-usual risk
>>> of failure.)
>>=20
>>=20
>> Based on past experience, I think the risk is very high, and we don't =
need to pile any more risk onto this particular project.
>=20
> Based on past experience the milestones for this will be
> wildly optimistic and it'll really take five years so at
> the end of 2017 we'll be right where we are in terms of
> HTTP authentication for all of which time HTTP authentication
> will be the "next thing" to do. (Ok, I'm exaggerating a
> bit there.)
>=20
> I think both experiences are valid.
>=20
>> Also, most of the discussions about authentication and associated =
problems on the Web are *not* exclusive to HTTP or even protocol =
artefacts; they include concerns like UI and human factors, integration =
into hypertext, etc. As such, what we really need is a "whole of stack" =
focus on Web authentication; shoving it into this particular WG will, =
IMO, lead to a predictable failure.
>=20
> It is true that many sites don't use HTTP authentication
> for UI reasons. I don't think it follows that doing nothing
> is the right approach. (Well, one could argue to remove all
> user authentication from HTTP I guess - is that one of the
> proposals?)
>=20
> Cheers,
> S.
>=20
>=20

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






From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 15:02:05 2012
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 9B92121F86A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 15:02:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.932
X-Spam-Level: 
X-Spam-Status: No, score=-7.932 tagged_above=-999 required=5 tests=[AWL=2.667, 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 zW7i+PA3YhEs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 15:02:05 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F16C011E80BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 15:02:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1RzyiT-00036O-R2 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 23:01:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1RzyiH-00035S-Ma for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 23:01:37 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1RzyiC-0005pG-Oy for ietf-http-wg@w3.org; Tue, 21 Feb 2012 23:01:37 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id B7980171CFD; Tue, 21 Feb 2012 23:01:11 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1329865271; bh=P2YlDrrz9CJtEm XtuobT6gwuW2+4ghS47onP2WLcJYM=; b=2BV70WitC8KHL2SDXdi5UZMBrG24CP Rlfk3KnZCJ2+sgwcLapd4MCw/Vhe/3rFlQJFawRbY+viZs5c6g1HAbGxtJkb582b p9WP0wwJ1eU/8Aa+/vlpF/L3pP2HpridstmJHcx60WjlxMFb4ZQICdPWA6A6CnPS PUdIGhL2VoiHxmrvmZNIJu7EcTH60zd46m6TeqgjTZRh+TbQ16Q+CgTaU8SUbFyH ZDnRuULAwNyDRxCBGRJTTuhqLAdqtzvH3b288N3rcxW9gwqnnxoM6N4ANZ2nd2vN Z7DlPzwVAiz8NyKKab2u5dg0sGPrK5E+RznJmpd/Gf0CByYIxOkDcJdg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id qnXlHpQlC7vI; Tue, 21 Feb 2012 23:01:11 +0000 (GMT)
Received: from [10.87.48.9] (unknown [86.42.23.218]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id DD26D171C28; Tue, 21 Feb 2012 23:01:10 +0000 (GMT)
Message-ID: <4F442235.1060209@cs.tcd.ie>
Date: Tue, 21 Feb 2012 23:01:09 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Julian Reschke <julian.reschke@gmx.de>, iesg@ietf.org,  ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net> <4F442058.5070804@cs.tcd.ie> <8F042342-7C6A-4ED4-9A67-591644D3D5D6@mnot.net>
In-Reply-To: <8F042342-7C6A-4ED4-9A67-591644D3D5D6@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1RzyiC-0005pG-Oy a0d654b282072d0060745e60d7da4126
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F442235.1060209@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12502
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>
Resent-Message-Id: <E1RzyiT-00036O-R2@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 23:01:49 +0000

On 02/21/2012 10:55 PM, Mark Nottingham wrote:
> Stephen,
>
> The approach we're advocating for this WG is to solicit well-formed proposals, select one and develop it.
>
> If there isn't one for HTTP authentication, how are you advocating we proceed?

I'm not thinking now in terms of advocating a specific
proposal for how to proceed.

Right now, I'm interested in what others reviewing the
draft charter think about this topic. That's the point
of having this discussion in the open like this.

(So maybe I should shut up for a while:-)

S

>
> Regards,
>
>
>
> On 22/02/2012, at 9:53 AM, Stephen Farrell wrote:
>
>>
>>
>> On 02/21/2012 10:40 PM, Mark Nottingham wrote:
>>>
>>> On 22/02/2012, at 9:19 AM, Stephen Farrell wrote:
>>>
>>
>>>> So as in my initial mail the 1st question here is, what
>>>> does "modern" mean in this draft charter? E.g. does it
>>>> mean "same as the current framework with different
>>>> bits" or something else? If so, what?
>>>
>>> As discussed off-list, I'd be happy to drop this phrase from *this* charter, in anticipation of it being worked out in discussions about the *next* one.
>>
>> Well, I think the phrase does need to be replaced
>> by something else all right.
>>
>> I'm reluctant to omit mention of security entirely
>> of course and do want to know what's gonna be done
>> for authentication in a putative HTTP/2.0.
>>
>> Like I said, I'm pretty skeptical that any significant
>> change to security properties will be achievable at
>> that next charter stage.
>>
>>>> And then should it include adding some new options
>>>> or MTI auth schemes as part of HTTP/2.0 or even looking
>>>> at that? (I think it ought to include trying for that
>>>> personally, even if there is a higher-than-usual risk
>>>> of failure.)
>>>
>>>
>>> Based on past experience, I think the risk is very high, and we don't need to pile any more risk onto this particular project.
>>
>> Based on past experience the milestones for this will be
>> wildly optimistic and it'll really take five years so at
>> the end of 2017 we'll be right where we are in terms of
>> HTTP authentication for all of which time HTTP authentication
>> will be the "next thing" to do. (Ok, I'm exaggerating a
>> bit there.)
>>
>> I think both experiences are valid.
>>
>>> Also, most of the discussions about authentication and associated problems on the Web are *not* exclusive to HTTP or even protocol artefacts; they include concerns like UI and human factors, integration into hypertext, etc. As such, what we really need is a "whole of stack" focus on Web authentication; shoving it into this particular WG will, IMO, lead to a predictable failure.
>>
>> It is true that many sites don't use HTTP authentication
>> for UI reasons. I don't think it follows that doing nothing
>> is the right approach. (Well, one could argue to remove all
>> user authentication from HTTP I guess - is that one of the
>> proposals?)
>>
>> Cheers,
>> S.
>>
>>
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 15:30:57 2012
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 30C2221E801E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 15:30:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.268
X-Spam-Level: 
X-Spam-Status: No, score=-10.268 tagged_above=-999 required=5 tests=[AWL=0.331, 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 OxZ2Ot0Vni+L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 15:30:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8555E21E801A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 15:30:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rzz9R-0008KK-HL for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Feb 2012 23:29:41 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Rzz9E-0008JR-Q6 for ietf-http-wg@listhub.w3.org; Tue, 21 Feb 2012 23:29:28 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Rzz9D-0006nM-0u for ietf-http-wg@w3.org; Tue, 21 Feb 2012 23:29:28 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id B05E5E6E39; Wed, 22 Feb 2012 12:29:02 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 22 Feb 2012 12:29:02 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAHBU6iuNhkPGZ5M3FyM2aZmqzVmRW2iRvtyQaYhk65s4FuVZDg@mail.gmail.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net> <CAHBU6iuNhkPGZ5M3FyM2aZmqzVmRW2iRvtyQaYhk65s4FuVZDg@mail.gmail.com>
Message-ID: <4f35d0b99d4b7b034450c8a360855308@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Rzz9D-0006nM-0u bc813960716107c39d16b6b7ec9a84a0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4f35d0b99d4b7b034450c8a360855308@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12503
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>
Resent-Message-Id: <E1Rzz9R-0008KK-HL@frink.w3.org>
Resent-Date: Tue, 21 Feb 2012 23:29:41 +0000

On 22.02.2012 11:46, Tim Bray wrote:
> [in-line]
>
> On Tue, Feb 21, 2012 at 2:40 PM, Mark Nottingham wrote:
>>> And then should it include adding some new options
>>> or MTI auth schemes as part of HTTP/2.0 or even looking
>>> at that? (I think it ought to include trying for that
>>> personally, even if there is a higher-than-usual risk
>>> of failure.)
>>
>>
>> Based on past experience, I think the risk is very high, and we 
>> don't need to pile any more risk onto this particular project.
>
> +1
>
> HTTP's ability to be equipped with security technology has been
> adequate, and I haven't heard much argument that its semantics were
> the big obstacle to newer/better security.  Preserving its semantics
> means its successor should be equally adequate.
>
> Mnot is *understating* the risk of loading up the charter with this 
> stuff. -T


+1.

I think the new security additions should be limited to making it clear 
and ensuring that HTTP as a transport neither adds nor substracts 
security to the overall system.
  HTTP over TLS or such has connection-level security/authentication as 
inherited from that TLS.
  HTTP message authentication or such has per-message security for the 
particular message.

We may have to consider new features or restrictions to ensure that TLS 
level security is retained end-to-end or such. But fixing problems in 
those other layers in a charter to re-design the middle HTTP layer seems 
inappropriate.

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 22:52:19 2012
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 7007121E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 22:52:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.9
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 tagged_above=-999 required=5 tests=[AWL=0.699, 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 kTwEEKMRGPMS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 22:52:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BAF4921E8067 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 22:52:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S061p-0002KH-Bo for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 06:50:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S061P-0002IJ-4P for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 06:49:51 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S061M-0006Ys-SI for ietf-http-wg@w3.org; Wed, 22 Feb 2012 06:49:50 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1M6nEf9023085; Wed, 22 Feb 2012 07:49:14 +0100
Date: Wed, 22 Feb 2012 07:49:14 +0100
From: Willy Tarreau <w@1wt.eu>
To: Robert Collins <robertc@squid-cache.org>
Cc: Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120222064914.GE20770@1wt.eu>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S061M-0006Ys-SI 2eb62232e78559472a9d61ec9eee0e13
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120222064914.GE20770@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12504
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>
Resent-Message-Id: <E1S061p-0002KH-Bo@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 06:50:17 +0000

On Wed, Feb 22, 2012 at 11:53:27AM +1300, Robert Collins wrote:
(...)
> OAuth certainly *thinks* it provides *both* Authentication *and*
> Authorization, and it uses the same header that Basic and Digest do -
> Authorization.

I think that this simply shows a semantic mistake from the past, where
authentication and authorization were a bit conflated. Look at the HTTP
headers, you have the server send "www-authenticate", and the client
responds with "authorization" ! At least this is a point we should clarify
in the next version, because I know too many people who consider that
authenticated == authorized. And this is also one reason for http-based
auth not being *that* much deployed in the applications world since they
have to pretend an authentication failure (401) to report a lack of
authorization if/when they want to offer the client a chance to try other
credentials.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Feb 21 23:07:49 2012
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 B542221E8065 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 23:07:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.24
X-Spam-Level: 
X-Spam-Status: No, score=-9.24 tagged_above=-999 required=5 tests=[AWL=1.359, 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 0WY3TaoHkxGU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Feb 2012 23:07:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 26BA721E8084 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Feb 2012 23:07:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S06Gi-0005GD-P9 for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 07:05:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1S06GJ-0004v9-Q6 for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 07:05:15 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1S06GI-0007B1-0s for ietf-http-wg@w3.org; Wed, 22 Feb 2012 07:05:15 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id E9F8F3F6DB; Wed, 22 Feb 2012 07:04:45 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q1M74j05023989; Tue, 21 Feb 2012 23:04:45 -0800
Date: Tue, 21 Feb 2012 23:04:45 -0800 (PST)
From: David Morris <dwm@xpasc.com>
Reply-To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "iesg@ietf.org" <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
cc: "iesg@ietf.org" <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
In-Reply-To: <10774.1329880469@marajade.sandelman.ca>
Message-ID: <Pine.LNX.4.64.1202212302010.17875@egate.xpasc.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <10774.1329880469@marajade.sandelman.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a120AD3GD2zQ1vr-1L2304k
X-CLX-Spam: false
Received-SPF: permerror client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1S06GI-0007B1-0s 61b704fe84f68d9d7380e707f262b5c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/Pine.LNX.4.64.1202212302010.17875@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12505
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>
Resent-Message-Id: <E1S06Gi-0005GD-P9@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 07:05:40 +0000

On Tue, 21 Feb 2012, Michael Richardson wrote:

> 
> >>>>> "Barry" == Barry Leiba <barryleiba@computer.org> writes:
>     Barry> OAuth is an authorization framework, not an authentication
>     Barry> one.  Please be careful to make the distinction.
> 
>     Barry> What we're looking at here is the need for an HTTP
>     Barry> authentication system that (for example) doesn't send
>     Barry> reusable credentials, is less susceptible to spoofing
>     Barry> attacks, and so on.
> 
> and is implemented in HTTP, not in terms of HTML forms, yet has all the 
> flexibility of the HTML form method?

And includes the ability for the user to logoff / the server reset the 
login?


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 00:40:36 2012
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 43E7221F880F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 00:40:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.112
X-Spam-Level: 
X-Spam-Status: No, score=-8.112 tagged_above=-999 required=5 tests=[AWL=2.487, 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 HqT2mt43Vfp1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 00:40:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 67BD221F87EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 00:40:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S07j4-00006D-AQ for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 08:39:02 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S07ip-00005I-0S for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 08:38:47 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S07ij-0002Xm-Rt for ietf-http-wg@w3.org; Wed, 22 Feb 2012 08:38:46 +0000
Received: (qmail invoked by alias); 22 Feb 2012 08:38:14 -0000
Received: from p5DCC3E21.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.62.33] by mail.gmx.net (mp029) with SMTP; 22 Feb 2012 09:38:14 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+giSYyTaCg3dBW6FVLnQiEUEEXmkz9ivqvIBWivj w8X1KNCM6+8wW+
Message-ID: <4F44A970.9090605@gmx.de>
Date: Wed, 22 Feb 2012 09:38:08 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Robert Collins <robertc@squid-cache.org>,  Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu>
In-Reply-To: <20120222064914.GE20770@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S07ij-0002Xm-Rt 0eae1102c5459e940ecaa9422380d41c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F44A970.9090605@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12506
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>
Resent-Message-Id: <E1S07j4-00006D-AQ@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 08:39:02 +0000

On 2012-02-22 07:49, Willy Tarreau wrote:
> On Wed, Feb 22, 2012 at 11:53:27AM +1300, Robert Collins wrote:
> (...)
>> OAuth certainly *thinks* it provides *both* Authentication *and*
>> Authorization, and it uses the same header that Basic and Digest do -
>> Authorization.
>
> I think that this simply shows a semantic mistake from the past, where
> authentication and authorization were a bit conflated. Look at the HTTP
> headers, you have the server send "www-authenticate", and the client
> responds with "authorization" ! At least this is a point we should clarify
> in the next version, because I know too many people who consider that

We can clarify it in *this* version. Do you have a specific proposal for 
Part 7?

> authenticated == authorized. And this is also one reason for http-based
> auth not being *that* much deployed in the applications world since they
> have to pretend an authentication failure (401) to report a lack of
> authorization if/when they want to offer the client a chance to try other
> credentials.

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-18.html#status.403>:

"7.4.4 403 Forbidden

The server understood the request, but refuses to authorize it. 
Providing different user authentication credentials might be successful, 
but any credentials that were provided in the request are insufficient. 
The request SHOULD NOT be repeated with the same credentials.

If the request method was not HEAD and the server wishes to make public 
why the request has not been fulfilled, it SHOULD describe the reason 
for the refusal in the representation. If the server does not wish to 
make this information available to the client, the status code 404 (Not 
Found) MAY be used instead."

What's wrong with this status code? As far as I can tell, what's missing 
is UI, not protocol elements.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 00:41:09 2012
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 5F86B21F897E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 00:41:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.151
X-Spam-Level: 
X-Spam-Status: No, score=-8.151 tagged_above=-999 required=5 tests=[AWL=2.448, 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 5QGn0n9AGxWl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 00:41:09 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E30FA21F8979 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 00:41:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S07kK-00009G-Ah for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 08:40:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S07kA-00008L-4h for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 08:40:10 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S07k3-0002Zr-RW for ietf-http-wg@w3.org; Wed, 22 Feb 2012 08:40:09 +0000
Received: (qmail invoked by alias); 22 Feb 2012 08:39:37 -0000
Received: from p5DCC3E21.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.62.33] by mail.gmx.net (mp030) with SMTP; 22 Feb 2012 09:39:37 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19katFm/M5khoLAE6cDp7TPTyLqEGfzaLGS440i5q wtBhnr2gyQGpfV
Message-ID: <4F44A9C5.8010404@gmx.de>
Date: Wed, 22 Feb 2012 09:39:33 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  "iesg@ietf.org" <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
CC: David Morris <dwm@xpasc.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <10774.1329880469@marajade.sandelman.ca> <Pine.LNX.4.64.1202212302010.17875@egate.xpasc.com>
In-Reply-To: <Pine.LNX.4.64.1202212302010.17875@egate.xpasc.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S07k3-0002Zr-RW e96fb83eda02aaac041c0da00063c4c2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F44A9C5.8010404@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12507
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>
Resent-Message-Id: <E1S07kK-00009G-Ah@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 08:40:20 +0000

On 2012-02-22 08:04, David Morris wrote:
>
>
> On Tue, 21 Feb 2012, Michael Richardson wrote:
>
>>
>>>>>>> "Barry" == Barry Leiba<barryleiba@computer.org>  writes:
>>      Barry>  OAuth is an authorization framework, not an authentication
>>      Barry>  one.  Please be careful to make the distinction.
>>
>>      Barry>  What we're looking at here is the need for an HTTP
>>      Barry>  authentication system that (for example) doesn't send
>>      Barry>  reusable credentials, is less susceptible to spoofing
>>      Barry>  attacks, and so on.
>>
>> and is implemented in HTTP, not in terms of HTML forms, yet has all the
>> flexibility of the HTML form method?
>
> And includes the ability for the user to logoff / the server reset the
> login?

Is that a protocol problem or a user agent problem?

-- > <http://lists.w3.org/Archives/Public/www-archive/2012Jan/0023.html>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 03:19:10 2012
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 191E221F85B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 03:19:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.91
X-Spam-Level: 
X-Spam-Status: No, score=-9.91 tagged_above=-999 required=5 tests=[AWL=0.689, 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 qQbGjJL1sOua for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 03:19:09 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED18721F84F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 03:19:05 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0AC9-0000PD-VG for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 11:17:13 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0ABu-0000OC-5W for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 11:16:58 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0ABr-0002i0-36 for ietf-http-wg@w3.org; Wed, 22 Feb 2012 11:16:57 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1MBGKab024229; Wed, 22 Feb 2012 12:16:20 +0100
Date: Wed, 22 Feb 2012 12:16:20 +0100
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Robert Collins <robertc@squid-cache.org>, Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120222111620.GA24210@1wt.eu>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F44A970.9090605@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0ABr-0002i0-36 6a49d564415aeace39acb1b0bb00d0cb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120222111620.GA24210@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12508
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>
Resent-Message-Id: <E1S0AC9-0000PD-VG@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 11:17:13 +0000

Hi Julian,

On Wed, Feb 22, 2012 at 09:38:08AM +0100, Julian Reschke wrote:
> On 2012-02-22 07:49, Willy Tarreau wrote:
> >On Wed, Feb 22, 2012 at 11:53:27AM +1300, Robert Collins wrote:
> >(...)
> >>OAuth certainly *thinks* it provides *both* Authentication *and*
> >>Authorization, and it uses the same header that Basic and Digest do -
> >>Authorization.
> >
> >I think that this simply shows a semantic mistake from the past, where
> >authentication and authorization were a bit conflated. Look at the HTTP
> >headers, you have the server send "www-authenticate", and the client
> >responds with "authorization" ! At least this is a point we should clarify
> >in the next version, because I know too many people who consider that
> 
> We can clarify it in *this* version. Do you have a specific proposal for 
> Part 7?

Unfortunately no, because I think the confusion is too much anchored in
people's mind.

(...)
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-18.html#status.403>:
> 
> "7.4.4 403 Forbidden
> 
> The server understood the request, but refuses to authorize it. 
> Providing different user authentication credentials might be successful, 
> but any credentials that were provided in the request are insufficient. 
> The request SHOULD NOT be repeated with the same credentials.
> 
> If the request method was not HEAD and the server wishes to make public 
> why the request has not been fulfilled, it SHOULD describe the reason 
> for the refusal in the representation. If the server does not wish to 
> make this information available to the client, the status code 404 (Not 
> Found) MAY be used instead."
> 
> What's wrong with this status code? As far as I can tell, what's missing 
> is UI, not protocol elements.

There's nothing wrong, but I've never seen a browser suggest to logout/relog
upon a 403. Also, since browsers don't offer the possibility to logout in
general, it's hard to suggest that this possibility should be specifically
offered upon 403. In fact it's the global authentication/authorization
mechanism that should be cleaned up in 2.0 and I don't think it's too hard,
we just have to clearly state that we might break *some* of the 1.1 assumptions.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 03:50:24 2012
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 10F8021F86C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 03:50:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.398
X-Spam-Level: 
X-Spam-Status: No, score=-8.398 tagged_above=-999 required=5 tests=[AWL=2.201, 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 oL5PDoOVFKMy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 03:50:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0948D21F8682 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 03:50:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0Agm-0008Tj-5x for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 11:48:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S0Agb-0008QL-GF for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 11:48:41 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S0AgV-0001Q9-0O for ietf-http-wg@w3.org; Wed, 22 Feb 2012 11:48:40 +0000
Received: (qmail invoked by alias); 22 Feb 2012 11:48:05 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp004) with SMTP; 22 Feb 2012 12:48:05 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19wXNsfGFpwOCACIqVLW8jqGTa5XOuNqMA2VdP6UH isvnj6e1LqRBCd
Message-ID: <4F44D5EB.3080509@gmx.de>
Date: Wed, 22 Feb 2012 12:47:55 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Robert Collins <robertc@squid-cache.org>,  Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu>
In-Reply-To: <20120222111620.GA24210@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S0AgV-0001Q9-0O 3ec444afc6085a8cc123d2ebdbd1788e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F44D5EB.3080509@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12509
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>
Resent-Message-Id: <E1S0Agm-0008Tj-5x@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 11:48:52 +0000

On 2012-02-22 12:16, Willy Tarreau wrote:
> ...
> There's nothing wrong, but I've never seen a browser suggest to logout/relog
> upon a 403. Also, since browsers don't offer the possibility to logout in
> general, it's hard to suggest that this possibility should be specifically
> offered upon 403. In fact it's the global authentication/authorization
> mechanism that should be cleaned up in 2.0 and I don't think it's too hard,
> we just have to clearly state that we might break *some* of the 1.1 assumptions.
> ...

If browsers had an API for logging off, servers could send a 403 
response page *doing* the log off. Wouldn't that be sufficient?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 05:24:58 2012
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 0E89721F8795 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 05:24:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.919
X-Spam-Level: 
X-Spam-Status: No, score=-9.919 tagged_above=-999 required=5 tests=[AWL=0.680, 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 IRX1WMiGeQeK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 05:24:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D784421F8794 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 05:24:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0CA3-0008MH-Tr for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 13:23:11 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0C9o-0008LO-Jl for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 13:22:56 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0C9h-0007KJ-Di for ietf-http-wg@w3.org; Wed, 22 Feb 2012 13:22:55 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1MDMF04024846; Wed, 22 Feb 2012 14:22:15 +0100
Date: Wed, 22 Feb 2012 14:22:15 +0100
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Robert Collins <robertc@squid-cache.org>, Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120222132215.GA24811@1wt.eu>
References: <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F44D5EB.3080509@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0C9h-0007KJ-Di c6c6ba67b8119b9a82b7b53c6f59f835
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120222132215.GA24811@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12510
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>
Resent-Message-Id: <E1S0CA3-0008MH-Tr@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 13:23:11 +0000

On Wed, Feb 22, 2012 at 12:47:55PM +0100, Julian Reschke wrote:
> On 2012-02-22 12:16, Willy Tarreau wrote:
> >...
> >There's nothing wrong, but I've never seen a browser suggest to 
> >logout/relog
> >upon a 403. Also, since browsers don't offer the possibility to logout in
> >general, it's hard to suggest that this possibility should be specifically
> >offered upon 403. In fact it's the global authentication/authorization
> >mechanism that should be cleaned up in 2.0 and I don't think it's too hard,
> >we just have to clearly state that we might break *some* of the 1.1 
> >assumptions.
> >...
> 
> If browsers had an API for logging off, servers could send a 403 
> response page *doing* the log off. Wouldn't that be sufficient?

In my opinion, 403 is an authorization issue, and it can come from
the user attempting to perform an unauthorized operation or just
that the lack of authorization requires a re-login. Only the user
can decide. So I think that the 403 response shouldn't cause the
logout to happen, but just make the browser ask the user if he
prefers to log out or to continue normal browsing. A "log off"
button on the top right corner would definitely help. Users could
take the advice from the text response accompanying the 403 to
decide whether they need to log off and log in as another user
or if they prefer to click the "back" button and ignore the error.

403 is quite a common error where WAF products are deployed, and it
would have a disastrous effect if it would cause an automatic logout.

That said, I totally agree with you that if we could get the browsers
include the logout method, we could start from a cleaner ground to
propose more reliable and user-friendly solutions even in 1.1. Maybe
we should consider that this feature exists and see what we can build
based on that assumption ?

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 05:40:41 2012
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 EEF5721F8792 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 05:40:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.422
X-Spam-Level: 
X-Spam-Status: No, score=-8.422 tagged_above=-999 required=5 tests=[AWL=2.177, 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 Z-XMiPl0lj-r for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 05:40:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 26FEE21F878B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 05:40:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0CP3-000331-RY for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 13:38:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S0COt-00031y-FM for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 13:38:31 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S0COo-0007iY-Ac for ietf-http-wg@w3.org; Wed, 22 Feb 2012 13:38:30 +0000
Received: (qmail invoked by alias); 22 Feb 2012 13:38:00 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp037) with SMTP; 22 Feb 2012 14:38:00 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+kH0cb98SkX4/O8V7ZRKhw/SRTuupPiRWlwpC+Nv 0B75ZVBWX13+xj
Message-ID: <4F44EFA8.3080104@gmx.de>
Date: Wed, 22 Feb 2012 14:37:44 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Robert Collins <robertc@squid-cache.org>,  Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu>
In-Reply-To: <20120222132215.GA24811@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S0COo-0007iY-Ac 9faf4635421419d88b3014b5c45ad0f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F44EFA8.3080104@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12511
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>
Resent-Message-Id: <E1S0CP3-000331-RY@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 13:38:41 +0000

On 2012-02-22 14:22, Willy Tarreau wrote:
> On Wed, Feb 22, 2012 at 12:47:55PM +0100, Julian Reschke wrote:
>> On 2012-02-22 12:16, Willy Tarreau wrote:
>>> ...
>>> There's nothing wrong, but I've never seen a browser suggest to
>>> logout/relog
>>> upon a 403. Also, since browsers don't offer the possibility to logout in
>>> general, it's hard to suggest that this possibility should be specifically
>>> offered upon 403. In fact it's the global authentication/authorization
>>> mechanism that should be cleaned up in 2.0 and I don't think it's too hard,
>>> we just have to clearly state that we might break *some* of the 1.1
>>> assumptions.
>>> ...
>>
>> If browsers had an API for logging off, servers could send a 403
>> response page *doing* the log off. Wouldn't that be sufficient?
>
> In my opinion, 403 is an authorization issue, and it can come from
> the user attempting to perform an unauthorized operation or just
> that the lack of authorization requires a re-login. Only the user
> can decide. So I think that the 403 response shouldn't cause the
> logout to happen, but just make the browser ask the user if he
> prefers to log out or to continue normal browsing. A "log off"
> button on the top right corner would definitely help. Users could
> take the advice from the text response accompanying the 403 to
> decide whether they need to log off and log in as another user
> or if they prefer to click the "back" button and ignore the error.
>
> 403 is quite a common error where WAF products are deployed, and it
> would have a disastrous effect if it would cause an automatic logout.

That's why I suggested that the server decides by including the 
necessary client side JS code...

> That said, I totally agree with you that if we could get the browsers
> include the logout method, we could start from a cleaner ground to
> propose more reliable and user-friendly solutions even in 1.1. Maybe
> we should consider that this feature exists and see what we can build
> based on that assumption ?

Maybe.

My impression is that every time this topic comes up people compile a 
large list of things-that-absolutely-need-to-be-done, and in the end 
nothing ever happens because that list is too long, and there's 
disagreement what should be on the list.

I think there's rough consensus that to make HTTP authentication work 
better in practice, servers need to be able to logout the user. As far 
as I can tell, a straightforward way to do so is to have a browser API 
for that. It's a shame there's no progress on that.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 06:04:47 2012
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 1013F21F869C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 06:04:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.928
X-Spam-Level: 
X-Spam-Status: No, score=-9.928 tagged_above=-999 required=5 tests=[AWL=0.671, 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 R2D0cTXJRpGM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 06:04:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 749F221F8693 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 06:04:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0CnG-0002Ur-D4 for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 14:03:42 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0Cn4-0002Tt-M0 for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 14:03:30 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0Cmx-0000ZR-CT for ietf-http-wg@w3.org; Wed, 22 Feb 2012 14:03:30 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1ME2n2N025075; Wed, 22 Feb 2012 15:02:49 +0100
Date: Wed, 22 Feb 2012 15:02:49 +0100
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Robert Collins <robertc@squid-cache.org>, Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120222140249.GB24811@1wt.eu>
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F44EFA8.3080104@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S0Cmx-0000ZR-CT f975d44978385f6539f042724b15d27f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120222140249.GB24811@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12512
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>
Resent-Message-Id: <E1S0CnG-0002Ur-D4@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 14:03:42 +0000

On Wed, Feb 22, 2012 at 02:37:44PM +0100, Julian Reschke wrote:
> >403 is quite a common error where WAF products are deployed, and it
> >would have a disastrous effect if it would cause an automatic logout.
> 
> That's why I suggested that the server decides by including the 
> necessary client side JS code...

I think that sometimes the server wants to cause the logout (eg: application
status code) and sometimes the user wants to log off. Many web developers
working in environments where basic auth is in use are used to open/close
their browser all the day due to the lack of logoff button.

> >That said, I totally agree with you that if we could get the browsers
> >include the logout method, we could start from a cleaner ground to
> >propose more reliable and user-friendly solutions even in 1.1. Maybe
> >we should consider that this feature exists and see what we can build
> >based on that assumption ?
> 
> Maybe.
> 
> My impression is that every time this topic comes up people compile a 
> large list of things-that-absolutely-need-to-be-done, and in the end 
> nothing ever happens because that list is too long, and there's 
> disagreement what should be on the list.

I'm not surprized. In fact, I tend to prefer basic building blocks on top
of which other things may be build, but right now it's obvious that some
such blocks are missing.

> I think there's rough consensus that to make HTTP authentication work 
> better in practice, servers need to be able to logout the user. As far 
> as I can tell, a straightforward way to do so is to have a browser API 
> for that. It's a shame there's no progress on that.

If we had the browsers provide the logoff button, then the current 403
is already enough for user-initiated action. If we want the server to
force a logoff, we possibly need to define how this is supposed to be
done. Note that in this case it's a change of authentication, which is
different from a lack of authorization (eg: return 401 with an empty
www-authenticate response).

I do think that all of that might be defined in 1.1 without touching
the in-browser API if browser vendors collaborate ; we just have to
define how it should work and still be compatible with non-compliant
browsers (possibly that returning 401 without a www-authenticate header
has no negative effect on older browsers, I'm just suggesting).

It would be nice to have their opinion here. Patrick, Anne, any idea ?
We also need to keep in mind there are non-browser UAs. Maybe Daniel
has some useful ideas based on how curl handles 401.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 06:29:39 2012
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 6961121F86F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 06:29:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.447
X-Spam-Level: 
X-Spam-Status: No, score=-8.447 tagged_above=-999 required=5 tests=[AWL=2.152, 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 RXaV-vdn4aeI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 06:29:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4904021F854B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 06:29:21 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0DAm-0001lV-1V for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 14:28:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S0DAb-0001ke-PA for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 14:27:49 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S0DAW-0001g2-Eg for ietf-http-wg@w3.org; Wed, 22 Feb 2012 14:27:48 +0000
Received: (qmail invoked by alias); 22 Feb 2012 14:27:18 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp032) with SMTP; 22 Feb 2012 15:27:18 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19/bCIxXTh/DAEhtLL5IiuI3FuzzEc+EWfJA8yOJ8 AfViTSIekDJr9L
Message-ID: <4F44FB36.1010407@gmx.de>
Date: Wed, 22 Feb 2012 15:27:02 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Robert Collins <robertc@squid-cache.org>,  Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de> <20120222140249.GB24811@1wt.eu>
In-Reply-To: <20120222140249.GB24811@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S0DAW-0001g2-Eg 8cddfffea5b9a28f753d6df6b95b558a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F44FB36.1010407@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12513
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>
Resent-Message-Id: <E1S0DAm-0001lV-1V@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 14:28:00 +0000

On 2012-02-22 15:02, Willy Tarreau wrote:
> On Wed, Feb 22, 2012 at 02:37:44PM +0100, Julian Reschke wrote:
>>> 403 is quite a common error where WAF products are deployed, and it
>>> would have a disastrous effect if it would cause an automatic logout.
>>
>> That's why I suggested that the server decides by including the
>> necessary client side JS code...
>
> I think that sometimes the server wants to cause the logout (eg: application
> status code) and sometimes the user wants to log off. Many web developers

The server can send code that allows the user to make the decision.

> working in environments where basic auth is in use are used to open/close
> their browser all the day due to the lack of logoff button.

And in future there may be browsers that can not be closed at all.

>>> That said, I totally agree with you that if we could get the browsers
>>> include the logout method, we could start from a cleaner ground to
>>> propose more reliable and user-friendly solutions even in 1.1. Maybe
>>> we should consider that this feature exists and see what we can build
>>> based on that assumption ?
>>
>> Maybe.
>>
>> My impression is that every time this topic comes up people compile a
>> large list of things-that-absolutely-need-to-be-done, and in the end
>> nothing ever happens because that list is too long, and there's
>> disagreement what should be on the list.
>
> I'm not surprized. In fact, I tend to prefer basic building blocks on top
> of which other things may be build, but right now it's obvious that some
> such blocks are missing.
>
>> I think there's rough consensus that to make HTTP authentication work
>> better in practice, servers need to be able to logout the user. As far
>> as I can tell, a straightforward way to do so is to have a browser API
>> for that. It's a shame there's no progress on that.
>
> If we had the browsers provide the logoff button, then the current 403
> is already enough for user-initiated action. If we want the server to

Browsers will not add any new UI components without a very strong use 
case. That's why adding the button to he page *content* will work much 
better.

> force a logoff, we possibly need to define how this is supposed to be
> done. Note that in this case it's a change of authentication, which is
> different from a lack of authorization (eg: return 401 with an empty
> www-authenticate response).

When I say logout I mean "stop sending credentials until prompted again".

> I do think that all of that might be defined in 1.1 without touching
> the in-browser API if browser vendors collaborate ; we just have to
> define how it should work and still be compatible with non-compliant
> browsers (possibly that returning 401 without a www-authenticate header
> has no negative effect on older browsers, I'm just suggesting).
>
> It would be nice to have their opinion here. Patrick, Anne, any idea ?
> We also need to keep in mind there are non-browser UAs. Maybe Daniel
> has some useful ideas based on how curl handles 401.
>
> Regards,
> Willy

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 07:27:19 2012
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 237D321F880E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 07:27:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.984
X-Spam-Level: 
X-Spam-Status: No, score=-8.984 tagged_above=-999 required=5 tests=[AWL=1.615, 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 kA9QkwyM4ZMJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 07:27:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1DF3321F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 07:27:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0E4w-0003NR-EN for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 15:26:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1S0E4l-0003LS-8o for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 15:25:51 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1S0E4e-0002jG-Al for ietf-http-wg@w3.org; Wed, 22 Feb 2012 15:25:50 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 03CFB3F7B4; Wed, 22 Feb 2012 15:25:17 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q1MFPGN4028428; Wed, 22 Feb 2012 07:25:16 -0800
Date: Wed, 22 Feb 2012 07:25:16 -0800 (PST)
From: David Morris <dwm@xpasc.com>
Reply-To: IETF-Discussion <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "'HTTP Working Group'" <ietf-http-wg@w3.org>
To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "iesg@ietf.org" <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
In-Reply-To: <4F44A9C5.8010404@gmx.de>
Message-ID: <Pine.LNX.4.64.1202220713520.28289@egate.xpasc.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <10774.1329880469@marajade.sandelman.ca> <Pine.LNX.4.64.1202212302010.17875@egate.xpasc.com> <4F44A9C5.8010404@gmx.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a110AD3GD2zQ1vr-1M0725H
X-CLX-Spam: false
Received-SPF: permerror client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1S0E4e-0002jG-Al 5d2fc735f66a1cefc62a3866683378ce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/Pine.LNX.4.64.1202220713520.28289@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12514
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>
Resent-Message-Id: <E1S0E4w-0003NR-EN@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 15:26:02 +0000

On Wed, 22 Feb 2012, Julian Reschke wrote:

> On 2012-02-22 08:04, David Morris wrote:
> > 
> > 
> > On Tue, 21 Feb 2012, Michael Richardson wrote:
> > 
> > > 
> > > > > > > > "Barry" == Barry Leiba<barryleiba@computer.org>  writes:
> > >      Barry>  OAuth is an authorization framework, not an authentication
> > >      Barry>  one.  Please be careful to make the distinction.
> > > 
> > >      Barry>  What we're looking at here is the need for an HTTP
> > >      Barry>  authentication system that (for example) doesn't send
> > >      Barry>  reusable credentials, is less susceptible to spoofing
> > >      Barry>  attacks, and so on.
> > > 
> > > and is implemented in HTTP, not in terms of HTML forms, yet has all the
> > > flexibility of the HTML form method?
> > 
> > And includes the ability for the user to logoff / the server reset the
> > login?
> 
> Is that a protocol problem or a user agent problem?
> 
> -- > <http://lists.w3.org/Archives/Public/www-archive/2012Jan/0023.html>

I consider it a protocol issue in the same way that authentication is a
protocol issue.

The question I was responding to was one of adoption by application
developers and is in addition to the lack of application control over
the current authenticate dialog. A "use case" if you will.

The JS approach isn't really adequate because not all user agents
execute the payload. Second 1/2 of the "use case."

I'm not advocating that this be solved as part of the Recharter/2.0
activity, I'm neutral on the where question.


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 08:34:49 2012
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 57FDC21F87D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 08:34:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.088
X-Spam-Level: 
X-Spam-Status: No, score=-6.088 tagged_above=-999 required=5 tests=[AWL=3.911, BAYES_00=-2.599, J_CHICKENPOX_44=0.6, 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 UtB4RrMjhrUt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 08:34:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A764121F872A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 08:34:40 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0F7r-0003OR-Hd for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 16:33:07 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <atlunde@panix.com>) id 1S0F7d-0003LM-52 for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 16:32:53 +0000
Received: from mailbackend2.panix.com ([166.84.1.78] helo=mailbackend.panix.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1S0F7X-0007An-7i for ietf-http-wg@w3.org; Wed, 22 Feb 2012 16:32:52 +0000
Received: from [129.105.233.63] (socrates.tss.northwestern.edu [129.105.233.63]) by mailbackend.panix.com (Postfix) with ESMTP id 9C4DF2EA4A; Wed, 22 Feb 2012 11:32:26 -0500 (EST)
Message-ID: <4F451893.8000205@panix.com>
Date: Wed, 22 Feb 2012 10:32:19 -0600
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
CC: Julian Reschke <julian.reschke@gmx.de>, iesg@ietf.org,  ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net> <4F442058.5070804@cs.tcd.ie> <8F042342-7C6A-4ED4-9A67-591644D3D5D6@mnot.net> <4F442235.1060209@cs.tcd.ie>
In-Reply-To: <4F442235.1060209@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.78; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S0F7X-0007An-7i 5b5f960317d5c9b6a129cb1309762376
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F451893.8000205@panix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12515
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>
Resent-Message-Id: <E1S0F7r-0003OR-Hd@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 16:33:07 +0000

It seems like what would be useful would be a way of bringing in trusted 
third-parties into authentication that didn't look like a 
man-in-the-middle attack, and didn't rely on JavaScript.

SAML "federation" (e.g. Shibboleth) is layered on top of HTML+HTTP,
but it, and most of the other existing WebSSO systems, rely on 
JavaScript tricks somewhere in their process.

Trusted third parties are presently more the domain of certificates or 
Kerberos, than HTTP as such.

SASL is another framework for layering authentication onto protocols, 
that's been worked on considerably. But I don't know if it can meet the 
needs of the browser-based market now being served by 
forms+cookies+JavaScript.

Finding a single authentication/authorization framework that serves the 
needs of both browser and non-broswer clients is hard.

Scott Cantor has written a lot about why global logout for Shibboleth is 
hard to implement. Part of that may rest on the underlying legacy 
mechanisms they are using, but it's also a communication problem.

Having a local logout that really meant "stop sending cookies and 
credentials for realm X to these servers" and/or authentication realms 
that spanned servers might help, I don't know.

-- 
     Albert Lunde  albert-lunde@northwestern.edu
                   atlunde@panix.com  (address for personal mail)


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 09:33:38 2012
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 1FD1E21E8018 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 09:33:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.57
X-Spam-Level: 
X-Spam-Status: No, score=-6.57 tagged_above=-999 required=5 tests=[AWL=4.029, 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 JihMihrLDhxM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 09:33:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A841821F87FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 09:33:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0G3U-0001ta-GL for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 17:32:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <paul.hoffman@vpnc.org>) id 1S0G3E-0001si-V9 for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 17:32:24 +0000
Received: from hoffman.proper.com ([207.182.41.81]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@vpnc.org>) id 1S0G3A-0001RN-BN for ietf-http-wg@w3.org; Wed, 22 Feb 2012 17:32:24 +0000
Received: from [10.20.30.100] (50-0-66-4.dsl.dynamic.fusionbroadband.com [50.0.66.4]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.3) with ESMTP id q1MHVphA074521 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 22 Feb 2012 10:31:51 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CB6A507F.13D92%ietfdbh@comcast.net>
Date: Wed, 22 Feb 2012 09:31:50 -0800
Cc: IETF-Discussion <ietf@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net>
To: The IESG <iesg@ietf.org>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=207.182.41.81; envelope-from=paul.hoffman@vpnc.org; helo=hoffman.proper.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: lisa.w3.org 1S0G3A-0001RN-BN d5a7bf2c4d9df2bae3ca217ce5307e07
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12516
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>
Resent-Message-Id: <E1S0G3U-0001ta-GL@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 17:32:40 +0000

The earnest calls for better authentication on this thread appear to =
ignore the fact that the very things that are being requested were put =
out of scope for the websec WG in their charter. I hope that no one =
things that a WG in the Applications Area will be better equipped to =
come up with a better authentication mechanism than one in the Security =
Area.

Asking the HTTPheads to guess what the securityheads might want is not a =
good way to design HTTP 2.0.

Proposal: leave the httpbis WG charter as-is and re-charter the websec =
WG to consider what is needed in the HTTP authentication model. Later, =
recharter the websec WG to, you know, actually do the security work for =
authentication.

--Paul Hoffman=


From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 09:40:30 2012
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 5154721F8806 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 09:40:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.551
X-Spam-Level: 
X-Spam-Status: No, score=-6.551 tagged_above=-999 required=5 tests=[AWL=4.048, 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 v2tJPePHinhC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 09:40:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5977321F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 09:40:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0GAb-00037p-Dy for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 17:40:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1S0GAO-00035q-EG for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 17:39:48 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1S0GAH-0007Mp-ST for ietf-http-wg@w3.org; Wed, 22 Feb 2012 17:39:47 +0000
Received: from squire.local (unknown [64.101.72.114]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B11EA40058; Wed, 22 Feb 2012 10:50:30 -0700 (MST)
Message-ID: <4F452842.3050905@stpeter.im>
Date: Wed, 22 Feb 2012 10:39:14 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@vpnc.org>
CC: The IESG <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>,  ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org>
In-Reply-To: <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org>
X-Enigmail-Version: 1.3.5
OpenPGP: url=https://stpeter.im/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0GAH-0007Mp-ST f995827757a736ebebcb2bc0a455f82f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F452842.3050905@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12517
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>
Resent-Message-Id: <E1S0GAb-00037p-Dy@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 17:40:01 +0000

On 2/22/12 10:31 AM, Paul Hoffman wrote:
> The earnest calls for better authentication on this thread appear to
> ignore the fact that the very things that are being requested were
> put out of scope for the websec WG in their charter. I hope that no
> one things that a WG in the Applications Area will be better equipped
> to come up with a better authentication mechanism than one in the
> Security Area.

The WebSec WG is in the Applications Area.

> Asking the HTTPheads to guess what the securityheads might want is
> not a good way to design HTTP 2.0.

Probably not.

> Proposal: leave the httpbis WG charter as-is and re-charter the
> websec WG to consider what is needed in the HTTP authentication
> model. Later, recharter the websec WG to, you know, actually do the
> security work for authentication.

Or charter a separate WG to focus on HTTP authentication. (You might
recall that the BoF leading to formation of the WebSec WG was entitled
HASMAT = "HTTP Application Security Minus Authentication and Transport"
or somesuch.)

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 09:53:56 2012
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 C729021F8833 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 09:53:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.593
X-Spam-Level: 
X-Spam-Status: No, score=-6.593 tagged_above=-999 required=5 tests=[AWL=4.006, 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 WA5KDO+n953K for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 09:53:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDAF521F882F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 09:53:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0GNW-0007ub-Cd for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 17:53:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <paul.hoffman@vpnc.org>) id 1S0GNM-0007tT-JH for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 17:53:12 +0000
Received: from hoffman.proper.com ([207.182.41.81]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@vpnc.org>) id 1S0GNK-0007mx-FI for ietf-http-wg@w3.org; Wed, 22 Feb 2012 17:53:11 +0000
Received: from [10.20.30.100] (50-0-66-4.dsl.dynamic.fusionbroadband.com [50.0.66.4]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.3) with ESMTP id q1MHqb3r075663 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 22 Feb 2012 10:52:37 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <4F452842.3050905@stpeter.im>
Date: Wed, 22 Feb 2012 09:52:37 -0800
Cc: The IESG <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3272FD67-C0BF-4408-8908-3F877F813398@vpnc.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=207.182.41.81; envelope-from=paul.hoffman@vpnc.org; helo=hoffman.proper.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: maggie.w3.org 1S0GNK-0007mx-FI 918fbd15b0274b30a202e6a7bef2f10e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/3272FD67-C0BF-4408-8908-3F877F813398@vpnc.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12518
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>
Resent-Message-Id: <E1S0GNW-0007ub-Cd@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 17:53:22 +0000

On Feb 22, 2012, at 9:39 AM, Peter Saint-Andre wrote:

> The WebSec WG is in the Applications Area.

Yeeps! My apologies. I guess seeing a room full of security regulars =
made me forget.

--Paul Hoffman



From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 10:37:01 2012
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 D75D521F8711 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 10:37:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.599
X-Spam-Level: 
X-Spam-Status: No, score=-7.599 tagged_above=-999 required=5 tests=[AWL=3.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 uqde+dJvMeFz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 10:37:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56F2C21F86F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 10:37:01 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0H2s-0005cM-U2 for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 18:36:06 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S0H2a-0005bO-2v for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 18:35:48 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S0H2U-0000dn-K4 for ietf-http-wg@w3.org; Wed, 22 Feb 2012 18:35:47 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id B305B171CDD; Wed, 22 Feb 2012 18:35:20 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1329935720; bh=OBB0DGAI3P8Nqq whXd8hOmXNRqCQX8DRrMVz1rVEXow=; b=GaZwI69MLGw157/7RCXQdgWJhiQK6N hc+D9XO14d5qzCEA4w5W1smjV2LlbKDNjL6ScjTSKUvm42pTMsQ0Z+1F5QQ+3z/K Fd1CZ2X8GQOGchhPe/1iRrgpbtzd9weJt/SM2zgiuwCII87kGv6dzou6QuuYPDyj sUYi9x1mEMyFLeZQ0L+30Vd4W9GPoLD46/UtTmooq0Khv6WgU86S6EUqpLn0P3Be PWireygJH/Uz9H0fKuYWUbs26FF7Z64kueodd8ZvVhsy4Xix/fiy2WqYckbmX0xL D8Ee4bWUSixntT8MUdXedgoV2o0I91m5vaqChhkef/gCX+b6xznVV7mw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id d8xtqMi3Gqul; Wed, 22 Feb 2012 18:35:20 +0000 (GMT)
Received: from [IPv6:2001:770:10:203:a288:b4ff:fe9c:bc5c] (unknown [IPv6:2001:770:10:203:a288:b4ff:fe9c:bc5c]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id F11FF171CDB; Wed, 22 Feb 2012 18:35:17 +0000 (GMT)
Message-ID: <4F453565.1000208@cs.tcd.ie>
Date: Wed, 22 Feb 2012 18:35:17 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@vpnc.org>
CC: Peter Saint-Andre <stpeter@stpeter.im>, ietf-http-wg@w3.org,  The IESG <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <3272FD67-C0BF-4408-8908-3F877F813398@vpnc.org>
In-Reply-To: <3272FD67-C0BF-4408-8908-3F877F813398@vpnc.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0H2U-0000dn-K4 47ad0e52ab1d1d1c07b45373ee25cca8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F453565.1000208@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12519
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>
Resent-Message-Id: <E1S0H2s-0005cM-U2@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 18:36:06 +0000

On 02/22/2012 05:52 PM, Paul Hoffman wrote:
> On Feb 22, 2012, at 9:39 AM, Peter Saint-Andre wrote:
>
>> The WebSec WG is in the Applications Area.
>
> Yeeps! My apologies. I guess seeing a room full of security regulars made me forget.
>

Regardless of that you do have a fair point that asking
apps folks to do stuff that'll please security folks might
be asking for trouble:-)

However, the counter to that is that security folks doing
stuff without enough apps input might produce something that
won't get adopted which also doesn't produce the right end
result.

Anyway, I think this topic, if tackled, won't lack
interested participants and will get plenty of security
and apps input no matter how we organise it.

S.



From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 10:41:56 2012
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 9186321F8732 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 10:41:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.616
X-Spam-Level: 
X-Spam-Status: No, score=-6.616 tagged_above=-999 required=5 tests=[AWL=3.983, 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 X+f1PXxr64YH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 10:41:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0AFEF21F8725 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 10:41:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0H7S-00061Y-KC for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 18:40:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <paul.hoffman@vpnc.org>) id 1S0H7H-00060g-D4 for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 18:40:39 +0000
Received: from hoffman.proper.com ([207.182.41.81]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@vpnc.org>) id 1S0H7C-0000lV-CV for ietf-http-wg@w3.org; Wed, 22 Feb 2012 18:40:38 +0000
Received: from [10.20.30.100] (50-0-66-4.dsl.dynamic.fusionbroadband.com [50.0.66.4]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.3) with ESMTP id q1MIdnlX078299 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 22 Feb 2012 11:39:50 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <4F453565.1000208@cs.tcd.ie>
Date: Wed, 22 Feb 2012 10:39:49 -0800
Cc: Peter Saint-Andre <stpeter@stpeter.im>, ietf-http-wg@w3.org, The IESG <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6697C0B0-FE11-45D3-A300-CEF1496D4688@vpnc.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <3272FD67-C0BF-4408-8908-3F877F813398@vpnc.org> <4F453565.1000208@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=207.182.41.81; envelope-from=paul.hoffman@vpnc.org; helo=hoffman.proper.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: maggie.w3.org 1S0H7C-0000lV-CV 9516199c11812fc983a4fd082ab89c68
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/6697C0B0-FE11-45D3-A300-CEF1496D4688@vpnc.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12520
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>
Resent-Message-Id: <E1S0H7S-00061Y-KC@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 18:40:50 +0000

On Feb 22, 2012, at 10:35 AM, Stephen Farrell wrote:

> Regardless of that you do have a fair point that asking
> apps folks to do stuff that'll please security folks might
> be asking for trouble:-)
>=20
> However, the counter to that is that security folks doing
> stuff without enough apps input might produce something that
> won't get adopted which also doesn't produce the right end
> result.
>=20
> Anyway, I think this topic, if tackled, won't lack
> interested participants and will get plenty of security
> and apps input no matter how we organise it.


Peter St.Andre's suggestion of a separate WG to deal specifically with =
HTTP authentication seems like the best way to be sure both sets of =
parties are fully involved. If the IESG charters it within the next few =
months, the HTTP 2.0 work can be informed by any changes (if any) that =
are needed.

--Paul Hoffman



From ietf-http-wg-request@listhub.w3.org  Wed Feb 22 13:20:41 2012
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 5D57221F8629 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 13:20:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.625
X-Spam-Level: 
X-Spam-Status: No, score=-6.625 tagged_above=-999 required=5 tests=[AWL=3.974, 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 bYE8czdqMrr7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Feb 2012 13:20:40 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A40A021F84EE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Feb 2012 13:20:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0Jb2-0006FX-Vk for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Feb 2012 21:19:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1S0Jam-0006EZ-3s for ietf-http-wg@listhub.w3.org; Wed, 22 Feb 2012 21:19:16 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1S0Jak-00054j-1F for ietf-http-wg@w3.org; Wed, 22 Feb 2012 21:19:15 +0000
Received: from squire.local (unknown [64.101.72.114]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8524740058; Wed, 22 Feb 2012 14:30:03 -0700 (MST)
Message-ID: <4F455BB6.3070205@stpeter.im>
Date: Wed, 22 Feb 2012 14:18:46 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@vpnc.org>
CC: Stephen Farrell <stephen.farrell@cs.tcd.ie>, ietf-http-wg@w3.org,  The IESG <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <3272FD67-C0BF-4408-8908-3F877F813398@vpnc.org> <4F453565.1000208@cs.tcd.ie> <6697C0B0-FE11-45D3-A300-CEF1496D4688@vpnc.org>
In-Reply-To: <6697C0B0-FE11-45D3-A300-CEF1496D4688@vpnc.org>
X-Enigmail-Version: 1.3.5
OpenPGP: url=https://stpeter.im/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0Jak-00054j-1F 908fde1d84ed44ba4f21cac657bcaacf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F455BB6.3070205@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12521
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>
Resent-Message-Id: <E1S0Jb2-0006FX-Vk@frink.w3.org>
Resent-Date: Wed, 22 Feb 2012 21:19:32 +0000

On 2/22/12 11:39 AM, Paul Hoffman wrote:
> On Feb 22, 2012, at 10:35 AM, Stephen Farrell wrote:
> 
>> Regardless of that you do have a fair point that asking apps folks
>> to do stuff that'll please security folks might be asking for
>> trouble:-)
>> 
>> However, the counter to that is that security folks doing stuff
>> without enough apps input might produce something that won't get
>> adopted which also doesn't produce the right end result.
>> 
>> Anyway, I think this topic, if tackled, won't lack interested
>> participants and will get plenty of security and apps input no
>> matter how we organise it.
> 
> 
> Peter St.Andre's suggestion of a separate WG to deal specifically
> with HTTP authentication seems like the best way to be sure both sets
> of parties are fully involved. If the IESG charters it within the
> next few months, the HTTP 2.0 work can be informed by any changes (if
> any) that are needed.

By the way, I forwarded this message to the http-auth@ietf.org list
(yes, we already have a discussion list for these topics). The small
sample of replies indicates that (1) folks would prefer to broaden the
topic to web authentication, not strictly HTTP authentication and (2)
not everyone who is interested in these topics subscribes to the more
general ietf-http-wg@w3.org list.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 00:07:23 2012
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 512CB21E8038 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 00:07:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.703
X-Spam-Level: 
X-Spam-Status: No, score=-9.703 tagged_above=-999 required=5 tests=[AWL=0.895, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 NudG4zQOY9Q7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 00:07:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6BBDF21E8033 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 00:07:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0TfX-0008Eu-25 for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 08:04:51 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <salvatore.loreto@ericsson.com>) id 1S0TfH-0008C6-Aa for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 08:04:35 +0000
Received: from mailgw10.se.ericsson.net ([193.180.251.61]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1S0TfF-0008KB-54 for ietf-http-wg@w3.org; Thu, 23 Feb 2012 08:04:34 +0000
X-AuditID: c1b4fb3d-b7bb7ae0000007b2-20-4f45f2fb4184
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 6A.8A.01970.BF2F54F4; Thu, 23 Feb 2012 09:04:12 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0197.eemea.ericsson.se (153.88.115.88) with Microsoft SMTP Server id 8.3.213.0; Thu, 23 Feb 2012 09:04:11 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 756F32321; Thu, 23 Feb 2012 10:04:11 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 5B60451C4F;	Thu, 23 Feb 2012 10:04:11 +0200 (EET)
Received: from Salvatore-Loretos-MacBook-Pro.local (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id E31EB5110D;	Thu, 23 Feb 2012 10:04:10 +0200 (EET)
Message-ID: <4F45F2FA.70000@ericsson.com>
Date: Thu, 23 Feb 2012 10:04:10 +0200
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Stephen Farrell <stephen.farrell@cs.tcd.ie>,  Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>,  IETF-Discussion <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <4F441870.8010206@cs.tcd.ie> <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
In-Reply-To: <87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net>
Content-Type: multipart/alternative; boundary="------------090600000208000002070401"
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: AAAAAA==
Received-SPF: pass client-ip=193.180.251.61; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw10.se.ericsson.net
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S0TfF-0008KB-54 2c5b6f4bab1a3c8985dbe9a87f1a9a24
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F45F2FA.70000@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12522
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>
Resent-Message-Id: <E1S0TfX-0008Eu-25@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 08:04:51 +0000

--------------090600000208000002070401
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

On 2/22/12 12:40 AM, Mark Nottingham wrote:
> Also, most of the discussions about authentication and associated problems on the Web are*not*  exclusive to HTTP or even protocol artefacts; they include concerns like UI and human factors, integration into hypertext, etc. As such, what we really need is a "whole of stack" focus on Web authentication; shoving it into this particular WG will, IMO, lead to a predictable failure.
I agree with Mark on this point

/Salvatore
>
> Regards,
>
>
> --
> Mark Nottingham
> http://www.mnot.net/



--------------090600000208000002070401
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 2/22/12 12:40 AM, Mark Nottingham wrote:
    <blockquote cite="mid:87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net"
      type="cite">
      <pre wrap="">Also, most of the discussions about authentication and associated problems on the Web are <b class="moz-txt-star"><span class="moz-txt-tag">*</span>not<span class="moz-txt-tag">*</span></b> exclusive to HTTP or even protocol artefacts; they include concerns like UI and human factors, integration into hypertext, etc. As such, what we really need is a "whole of stack" focus on Web authentication; shoving it into this particular WG will, IMO, lead to a predictable failure.</pre>
    </blockquote>
    I agree with Mark on this point<br>
    <br>
    /Salvatore<br>
    <blockquote cite="mid:87902BF0-3CFC-4CA6-824C-7982ED1020A6@mnot.net"
      type="cite">
      <pre wrap="">

Regards,


--
Mark Nottingham
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.mnot.net/">http://www.mnot.net/</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>

--------------090600000208000002070401--


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 08:36:38 2012
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 DC26B21F87DE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 08:36:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.59
X-Spam-Level: 
X-Spam-Status: No, score=-10.59 tagged_above=-999 required=5 tests=[AWL=0.009, 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 Y-4dRnDKNpwi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 08:36:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5AAEC21F87CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 08:36:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0bd9-0004XN-9y for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 16:34:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1S0bbW-0004HJ-MX for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 16:33:25 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1S0bbM-00078t-VM for ietf-http-wg@w3.org; Thu, 23 Feb 2012 16:33:13 +0000
Received: by vcbfo11 with SMTP id fo11so1297227vcb.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 08:32:39 -0800 (PST)
Received-SPF: pass (google.com: domain of zhong.j.yu@gmail.com designates 10.220.107.79 as permitted sender) client-ip=10.220.107.79;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of zhong.j.yu@gmail.com designates 10.220.107.79 as permitted sender) smtp.mail=zhong.j.yu@gmail.com; dkim=pass header.i=zhong.j.yu@gmail.com
Received: from mr.google.com ([10.220.107.79]) by 10.220.107.79 with SMTP id a15mr1405538vcp.61.1330014759622 (num_hops = 1); Thu, 23 Feb 2012 08:32:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=akvJNXuBN0FS3yVCpC3qFSsRs6P04rm0Ktja5EdvrwE=; b=VhhZSvMvVgr+0nO+a38rshHwmHIXtJizq2c+AUn8bQCQ9QGPTc8iGXhVfgRpm5H1vu QpF+wqi1A6b0ozDzLYWvFsStHkcIhG/2FGEfjoERkuD1pHT9pI9QOxBFDN0epk6GfVab ur8keiA3YZB+vYYCCqDBA2RHO+U0odlXN3gz8=
MIME-Version: 1.0
Received: by 10.220.107.79 with SMTP id a15mr1166597vcp.61.1330014759576; Thu, 23 Feb 2012 08:32:39 -0800 (PST)
Received: by 10.220.83.146 with HTTP; Thu, 23 Feb 2012 08:32:39 -0800 (PST)
Date: Thu, 23 Feb 2012 10:32:39 -0600
Message-ID: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: BAYES_20=-0.001, 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 1S0bbM-00078t-VM d2030c34d4601d6e152b17f317241876
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12523
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>
Resent-Message-Id: <E1S0bd9-0004XN-9y@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 16:34:55 +0000

When an HTTP/1.1 server accepts an HTTP/1.0 request, should the server
always close the connection after sending the response? That seems to
be the safest way. While the server could try to keep the connection
by checking for Connection: keep-alive, the spec suggests that it is
problematic. What's your recommended best practice for this issue?
Thanks.

Zhong


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 08:49:14 2012
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 4143221F848A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 08:49:14 -0800 (PST)
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=[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 JuV1QxMRb8Ki for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 08:49:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 460D221F8427 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 08:49:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0bqD-0003p8-AQ for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 16:48:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1S0bq2-0003oC-MT for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 16:48:14 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1S0bpz-0007kJ-EZ for ietf-http-wg@w3.org; Thu, 23 Feb 2012 16:48:13 +0000
Received: by wibhm2 with SMTP id hm2so1163410wib.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 08:47:45 -0800 (PST)
Received-SPF: pass (google.com: domain of jasnell@gmail.com designates 10.180.90.212 as permitted sender) client-ip=10.180.90.212;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of jasnell@gmail.com designates 10.180.90.212 as permitted sender) smtp.mail=jasnell@gmail.com; dkim=pass header.i=jasnell@gmail.com
Received: from mr.google.com ([10.180.90.212]) by 10.180.90.212 with SMTP id by20mr4579179wib.12.1330015665835 (num_hops = 1); Thu, 23 Feb 2012 08:47:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=xwTf3EsJdYCgMRo4jkMpglrGWzUcCgVsyXXoKE0eOrA=; b=mwNr4V6G02QV/WCaMgSXOok2p8wbJVCVsX9hs4fh1jJak81ECyJ7jiyybKYI350sx7 pl2svg2e+jXV8x9psxm8craJk26CQfmKUaFi4HkHehhq/Atl2KujTKVMtolatbPD7q4L KD/yrg7qQUPAFuUj0H5hCo5qQ8sgvcPb+dqyI=
Received: by 10.180.90.212 with SMTP id by20mr3734936wib.12.1330015665799; Thu, 23 Feb 2012 08:47:45 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.86.8 with HTTP; Thu, 23 Feb 2012 08:47:25 -0800 (PST)
From: James M Snell <jasnell@gmail.com>
Date: Thu, 23 Feb 2012 08:47:25 -0800
Message-ID: <CABP7RbcUGAwhbMf9zEX4F414OWF1rHgqLY5q6GEAEJ7sx1b-BQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.212.171; envelope-from=jasnell@gmail.com; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: BAYES_20=-0.001, 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 1S0bpz-0007kJ-EZ d20c2e0508c20893c7a141b27a74e76b
X-Original-To: ietf-http-wg@w3.org
Subject: For review: draft-snell-additional-link-relations-00
Archived-At: <http://www.w3.org/mid/CABP7RbcUGAwhbMf9zEX4F414OWF1rHgqLY5q6GEAEJ7sx1b-BQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12524
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>
Resent-Message-Id: <E1S0bqD-0003p8-AQ@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 16:48:25 +0000

Just posted for review:

  http://www.ietf.org/id/draft-snell-additional-link-relations-00.txt

It requests the registration of three additional link relation types:

  * "implements"
  * "terms-of-service"
  * "privacy-policy"

- James


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 08:59:21 2012
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 803E421F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 08:59:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.937
X-Spam-Level: 
X-Spam-Status: No, score=-9.937 tagged_above=-999 required=5 tests=[AWL=0.662, 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 q73KFZAdDrqy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 08:59:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA3A221F84F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 08:59:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0bz0-0007EF-2e for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 16:57:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0byp-00075Y-0I for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 16:57:19 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0byj-0005Yp-Pp for ietf-http-wg@w3.org; Thu, 23 Feb 2012 16:57:17 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1NGupIM032120; Thu, 23 Feb 2012 17:56:51 +0100
Date: Thu, 23 Feb 2012 17:56:51 +0100
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120223165651.GM29928@1wt.eu>
References: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S0byj-0005Yp-Pp 2710a3d306b2be80019dac69767b3f75
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/20120223165651.GM29928@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12525
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>
Resent-Message-Id: <E1S0bz0-0007EF-2e@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 16:57:30 +0000

On Thu, Feb 23, 2012 at 10:32:39AM -0600, Zhong Yu wrote:
> When an HTTP/1.1 server accepts an HTTP/1.0 request, should the server
> always close the connection after sending the response? That seems to
> be the safest way. While the server could try to keep the connection
> by checking for Connection: keep-alive, the spec suggests that it is
> problematic. What's your recommended best practice for this issue?

In haproxy we check for "Connection: keep-alive" in 1.0 and
"Connection: close" in 1.1 and I've never had any report of
unexpected behaviour by doing so. Also, I don't think there
is any need for recommending currently working implementations
to stop doing something that has been working fine for them,
because they will simply ignore the recommendation and tend
to consider the other ones with less care.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 10:21:27 2012
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 3B9A121F8701 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 10:21:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.59
X-Spam-Level: 
X-Spam-Status: No, score=-10.59 tagged_above=-999 required=5 tests=[AWL=0.009, 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 9j8jJKZ-IYLC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 10:21:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1114021F86CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 10:21:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0dGj-0007jW-71 for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 18:19:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1S0dGR-0007gg-7W for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 18:19:35 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1S0dGP-0003If-F4 for ietf-http-wg@w3.org; Thu, 23 Feb 2012 18:19:34 +0000
Received: by vcbfo11 with SMTP id fo11so1417735vcb.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 10:19:07 -0800 (PST)
Received-SPF: pass (google.com: domain of zhong.j.yu@gmail.com designates 10.220.151.67 as permitted sender) client-ip=10.220.151.67;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of zhong.j.yu@gmail.com designates 10.220.151.67 as permitted sender) smtp.mail=zhong.j.yu@gmail.com; dkim=pass header.i=zhong.j.yu@gmail.com
Received: from mr.google.com ([10.220.151.67]) by 10.220.151.67 with SMTP id b3mr1693417vcw.51.1330021147991 (num_hops = 1); Thu, 23 Feb 2012 10:19:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UeaCKggiWVTeEmGPG8FEXkjpwC39LHjtnxzCQgWwfds=; b=iX4bXwJpI3fC/7VLAzfw3APT7mdt/1yKRr74NJMEWQ0NEuV2DoWVcH+/lMriZJDap8 MEZpnriFWnCwXm1kdXKcjrLcOBt1QTb1HHpx1UCCrq4wLdcGwv4B+KcwN6sjw9VngFce HeLDRPIEr0HCIDs2oR53b//tYSgcNHk+Ij7qg=
MIME-Version: 1.0
Received: by 10.220.151.67 with SMTP id b3mr1405876vcw.51.1330021147945; Thu, 23 Feb 2012 10:19:07 -0800 (PST)
Received: by 10.220.83.146 with HTTP; Thu, 23 Feb 2012 10:19:07 -0800 (PST)
In-Reply-To: <4F467DB0.8050009@alobbs.com>
References: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com> <20120223165651.GM29928@1wt.eu> <4F467DB0.8050009@alobbs.com>
Date: Thu, 23 Feb 2012 12:19:07 -0600
Message-ID: <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Alvaro Lopez Ortega <alvaro@alobbs.com>
Cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1S0dGP-0003If-F4 59010b00542d225c150922a15996ce57
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12526
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>
Resent-Message-Id: <E1S0dGj-0007jW-71@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 18:19:53 +0000

Thank you both. So, "Connection:keep-alive" in 1.0 is very dependable
in practice, server should keep the connection alive.

If that's the case, shouldn't we remove the alarming languages in
[part 1, A.1.2.]? They might be legitimate concerns in 1999, but no
longer relevant today.

   However, some experimental implementations of HTTP/1.0
   persistent connections are faulty; for example, if a HTTP/1.0 proxy
   server doesn't understand Connection, it will erroneously forward
   that header to the next inbound server, which would result in a hung
   connection.

   ...

   Clients are also encouraged to consider the use of Connection: keep-
   alive in requests carefully; while they can enable persistent
   connections with HTTP/1.0 servers, clients using them need will need
   to monitor the connection for "hung" requests (which indicate that
   the client ought stop sending the header), and this mechanism ought
   not be used by clients at all when a proxy is being used.


On Thu, Feb 23, 2012 at 11:56 AM, Alvaro Lopez Ortega <alvaro@alobbs.com> w=
rote:
> On 02/23/2012 05:56 PM, Willy Tarreau wrote:
>>
>> On Thu, Feb 23, 2012 at 10:32:39AM -0600, Zhong Yu wrote:
>>>
>>> > =A0When an HTTP/1.1 server accepts an HTTP/1.0 request, should the se=
rver
>>> > =A0always close the connection after sending the response? That seems=
 to
>>> > =A0be the safest way. While the server could try to keep the connecti=
on
>>> > =A0by checking for Connection: keep-alive, the spec suggests that it =
is
>>> > =A0problematic. What's your recommended best practice for this issue?
>>
>> In haproxy we check for "Connection: keep-alive" in 1.0 and
>> "Connection: close" in 1.1 and I've never had any report of
>> unexpected behaviour by doing so.
>
>
> Same thing for the Cherokee Web Server. I believe it's the behavior that
> most of the servers and proxies implement.
>
> All the best,
> Alvaro


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 10:29:07 2012
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 7474D21F8838 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 10:29:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.696
X-Spam-Level: 
X-Spam-Status: No, score=-6.696 tagged_above=-999 required=5 tests=[AWL=3.903, 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 hPLaA0lYZqMZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 10:29:06 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3116421F8709 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 10:29:05 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0dOr-0000g9-DC for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 18:28:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ben@niven-jenkins.co.uk>) id 1S0dOg-0000eb-Uw for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 18:28:06 +0000
Received: from mailex.mailcore.me ([94.136.40.61]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ben@niven-jenkins.co.uk>) id 1S0dOe-0001SK-NI for ietf-http-wg@w3.org; Thu, 23 Feb 2012 18:28:06 +0000
Received: from host1.cachelogic.com ([212.44.43.80] helo=dhcp-226-devlan.cachelogic.com) by mail6.atlas.pipex.net with esmtpa (Exim 4.71) (envelope-from <ben@niven-jenkins.co.uk>) id 1S0dOJ-0000xD-Hl; Thu, 23 Feb 2012 18:27:43 +0000
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
In-Reply-To: <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
Date: Thu, 23 Feb 2012 18:27:42 +0000
Cc: Alvaro Lopez Ortega <alvaro@alobbs.com>, Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C3101C13-AE59-48D9-A18B-B2FC3D83E39E@niven-jenkins.co.uk>
References: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com> <20120223165651.GM29928@1wt.eu> <4F467DB0.8050009@alobbs.com> <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1084)
X-Mailcore-Auth: 9600544
X-Mailcore-Domain: 172912
Received-SPF: none client-ip=94.136.40.61; envelope-from=ben@niven-jenkins.co.uk; helo=mailex.mailcore.me
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S0dOe-0001SK-NI 639ae287eedba825107df0af509c4be8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/C3101C13-AE59-48D9-A18B-B2FC3D83E39E@niven-jenkins.co.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12527
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>
Resent-Message-Id: <E1S0dOr-0000g9-DC@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 18:28:17 +0000

On 23 Feb 2012, at 18:19, Zhong Yu wrote:

> Thank you both. So, "Connection:keep-alive" in 1.0 is very dependable
> in practice, server should keep the connection alive.
>=20
> If that's the case, shouldn't we remove the alarming languages in
> [part 1, A.1.2.]? They might be legitimate concerns in 1999, but no
> longer relevant today.
>=20
>   However, some experimental implementations of HTTP/1.0
>   persistent connections are faulty; for example, if a HTTP/1.0 proxy
>   server doesn't understand Connection, it will erroneously forward
>   that header to the next inbound server, which would result in a hung
>   connection.
>=20
>   ...
>=20
>   Clients are also encouraged to consider the use of Connection: keep-
>   alive in requests carefully; while they can enable persistent
>   connections with HTTP/1.0 servers, clients using them need will need
>   to monitor the connection for "hung" requests (which indicate that
>   the client ought stop sending the header), and this mechanism ought
>   not be used by clients at all when a proxy is being used.


Aren't these two different things that you're confusing?

Your original question was about how a HTTP/1.1 server should handle the =
presence of "Connection:" in a HTTP/1.0 request.

The text above is warning HTTP/1.0 clients that HTTP/1.0 proxies may not =
handle the presence of "Connection:" properly.

Ben

>=20
>=20
> On Thu, Feb 23, 2012 at 11:56 AM, Alvaro Lopez Ortega =
<alvaro@alobbs.com> wrote:
>> On 02/23/2012 05:56 PM, Willy Tarreau wrote:
>>>=20
>>> On Thu, Feb 23, 2012 at 10:32:39AM -0600, Zhong Yu wrote:
>>>>=20
>>>>>  When an HTTP/1.1 server accepts an HTTP/1.0 request, should the =
server
>>>>>  always close the connection after sending the response? That =
seems to
>>>>>  be the safest way. While the server could try to keep the =
connection
>>>>>  by checking for Connection: keep-alive, the spec suggests that it =
is
>>>>>  problematic. What's your recommended best practice for this =
issue?
>>>=20
>>> In haproxy we check for "Connection: keep-alive" in 1.0 and
>>> "Connection: close" in 1.1 and I've never had any report of
>>> unexpected behaviour by doing so.
>>=20
>>=20
>> Same thing for the Cherokee Web Server. I believe it's the behavior =
that
>> most of the servers and proxies implement.
>>=20
>> All the best,
>> Alvaro
>=20



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 10:33:28 2012
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 4DDB621F87FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 10:33:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.946
X-Spam-Level: 
X-Spam-Status: No, score=-9.946 tagged_above=-999 required=5 tests=[AWL=0.653, 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 wZNLoQU4ghcr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 10:33:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BCB8121F8847 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 10:33:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0dRx-0004gr-Re for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 18:31:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0dRm-0004E8-ER for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 18:31:18 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0dRg-0003dO-4m for ietf-http-wg@w3.org; Thu, 23 Feb 2012 18:31:17 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1NIUnck000339; Thu, 23 Feb 2012 19:30:49 +0100
Date: Thu, 23 Feb 2012 19:30:49 +0100
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Alvaro Lopez Ortega <alvaro@alobbs.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120223183049.GQ29928@1wt.eu>
References: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com> <20120223165651.GM29928@1wt.eu> <4F467DB0.8050009@alobbs.com> <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0dRg-0003dO-4m d8009fada2d5f1b1889358627d96c512
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/20120223183049.GQ29928@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12528
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>
Resent-Message-Id: <E1S0dRx-0004gr-Re@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 18:31:29 +0000

On Thu, Feb 23, 2012 at 12:19:07PM -0600, Zhong Yu wrote:
> Thank you both. So, "Connection:keep-alive" in 1.0 is very dependable
> in practice, server should keep the connection alive.
> 
> If that's the case, shouldn't we remove the alarming languages in
> [part 1, A.1.2.]? They might be legitimate concerns in 1999, but no
> longer relevant today.
> 
>    However, some experimental implementations of HTTP/1.0
>    persistent connections are faulty; for example, if a HTTP/1.0 proxy
>    server doesn't understand Connection, it will erroneously forward
>    that header to the next inbound server, which would result in a hung
>    connection.
> 
>    ...
> 
>    Clients are also encouraged to consider the use of Connection: keep-
>    alive in requests carefully; while they can enable persistent
>    connections with HTTP/1.0 servers, clients using them need will need
>    to monitor the connection for "hung" requests (which indicate that
>    the client ought stop sending the header), and this mechanism ought
>    not be used by clients at all when a proxy is being used.

Indeed I remember about those painful days. However, the paragraph above
simply encourages to use the feature with care. This means that those who
want to implement it have to understand what it means. I think this is fine
as is.

Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 12:25:55 2012
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 45D1321F8895 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 12:25:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, 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 w0c3vBN7-fQK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 12:25:54 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7C22121F8891 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 12:25:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0fD8-0001ju-Rx for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 20:24:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1S0fCu-0001gn-Pq for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 20:24:04 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1S0fCs-0007yH-E6 for ietf-http-wg@w3.org; Thu, 23 Feb 2012 20:24:03 +0000
Received: by vcbfo11 with SMTP id fo11so1547442vcb.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 12:23:37 -0800 (PST)
Received-SPF: pass (google.com: domain of zhong.j.yu@gmail.com designates 10.220.151.67 as permitted sender) client-ip=10.220.151.67;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of zhong.j.yu@gmail.com designates 10.220.151.67 as permitted sender) smtp.mail=zhong.j.yu@gmail.com; dkim=pass header.i=zhong.j.yu@gmail.com
Received: from mr.google.com ([10.220.151.67]) by 10.220.151.67 with SMTP id b3mr1934277vcw.51.1330028617093 (num_hops = 1); Thu, 23 Feb 2012 12:23:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=j8+X4gf01Ic8Gi9xyMnrAxsPo/fu5EqVg+geG/GEh6c=; b=mrgUfFbuUxiYifTEuGhSzTaiUeHqsVvN/xk6hVxseNAv0JLWQFpm7NdD7MckbGne8S Mp6yGcVkS6KmSzrX9YFx5kfNEYSVdDh1HR8HYp4JCDdEnaGdlSfrzKhnQAJBJpY6oi5z 015hdWm/7T1l8NHS2KDzjDTaZSNSg4wsOMG4k=
MIME-Version: 1.0
Received: by 10.220.151.67 with SMTP id b3mr1607158vcw.51.1330028617031; Thu, 23 Feb 2012 12:23:37 -0800 (PST)
Received: by 10.220.83.146 with HTTP; Thu, 23 Feb 2012 12:23:36 -0800 (PST)
In-Reply-To: <20120223183049.GQ29928@1wt.eu>
References: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com> <20120223165651.GM29928@1wt.eu> <4F467DB0.8050009@alobbs.com> <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com> <20120223183049.GQ29928@1wt.eu>
Date: Thu, 23 Feb 2012 14:23:36 -0600
Message-ID: <CACuKZqGhoh6sObA_AQwuafn_r=yLJKcVh4p2u0MeW1Ap7mxPVg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Alvaro Lopez Ortega <alvaro@alobbs.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1S0fCs-0007yH-E6 df56c9adaf264f53bb0d548749866b51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/CACuKZqGhoh6sObA_AQwuafn_r=yLJKcVh4p2u0MeW1Ap7mxPVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12529
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>
Resent-Message-Id: <E1S0fD8-0001ju-Rx@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 20:24:18 +0000

On Thu, Feb 23, 2012 at 12:30 PM, Willy Tarreau <w@1wt.eu> wrote:
> On Thu, Feb 23, 2012 at 12:19:07PM -0600, Zhong Yu wrote:
>> Thank you both. So, "Connection:keep-alive" in 1.0 is very dependable
>> in practice, server should keep the connection alive.
>>
>> If that's the case, shouldn't we remove the alarming languages in
>> [part 1, A.1.2.]? They might be legitimate concerns in 1999, but no
>> longer relevant today.
>>
>> =A0 =A0However, some experimental implementations of HTTP/1.0
>> =A0 =A0persistent connections are faulty; for example, if a HTTP/1.0 pro=
xy
>> =A0 =A0server doesn't understand Connection, it will erroneously forward
>> =A0 =A0that header to the next inbound server, which would result in a h=
ung
>> =A0 =A0connection.
>>
>> =A0 =A0...
>>
>> =A0 =A0Clients are also encouraged to consider the use of Connection: ke=
ep-
>> =A0 =A0alive in requests carefully; while they can enable persistent
>> =A0 =A0connections with HTTP/1.0 servers, clients using them need will n=
eed
>> =A0 =A0to monitor the connection for "hung" requests (which indicate tha=
t
>> =A0 =A0the client ought stop sending the header), and this mechanism oug=
ht
>> =A0 =A0not be used by clients at all when a proxy is being used.
>
> Indeed I remember about those painful days. However, the paragraph above
> simply encourages to use the feature with care. This means that those who
> want to implement it have to understand what it means. I think this is fi=
ne
> as is.

If the spec specifically mentions a type of flaw in intermediaries, it
wouldn't be "just saying"; it means the flaw is realistic, having
significant impact in real world, and implementer should reckon with
it.

Therefore I cannot, by reading the spec alone, come to the conclusion
that a server should honor "Connection:keep-alive" from a 1.0 request.

If servers do honor the header, it means the flaw doesn't matter to
servers anyway, therefore there's no point mentioning the flaw in the
spec.

The added (not in rfc2616) last paragraph about clients seems to be a
logical deduction from the significance of the flaw; however if the
flaw is not really significant (servers ignore it), this paragraph is
not justified. The real judges would be respectful client
implementers; if they never see any problem sending
"Connection:keep-alive", the paragraph can be removed.

Zhong


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 12:34:28 2012
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 055DB21F8548 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 12:34:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.954
X-Spam-Level: 
X-Spam-Status: No, score=-9.954 tagged_above=-999 required=5 tests=[AWL=0.645, 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 t7D55I5uKASG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 12:34:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 236D821F8546 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 12:34:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0fMT-0005lY-Ig for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 20:33:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0fMG-0005kK-AF for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 20:33:44 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0fMD-0006yN-R9 for ietf-http-wg@w3.org; Thu, 23 Feb 2012 20:33:43 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1NKXFQ5001090; Thu, 23 Feb 2012 21:33:15 +0100
Date: Thu, 23 Feb 2012 21:33:15 +0100
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Alvaro Lopez Ortega <alvaro@alobbs.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20120223203315.GR29928@1wt.eu>
References: <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com> <20120223165651.GM29928@1wt.eu> <4F467DB0.8050009@alobbs.com> <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com> <20120223183049.GQ29928@1wt.eu> <CACuKZqGhoh6sObA_AQwuafn_r=yLJKcVh4p2u0MeW1Ap7mxPVg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CACuKZqGhoh6sObA_AQwuafn_r=yLJKcVh4p2u0MeW1Ap7mxPVg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S0fMD-0006yN-R9 c78ed6a42502a98004e5bdbf33b7ba32
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after response?
Archived-At: <http://www.w3.org/mid/20120223203315.GR29928@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12530
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>
Resent-Message-Id: <E1S0fMT-0005lY-Ig@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 20:33:57 +0000

On Thu, Feb 23, 2012 at 02:23:36PM -0600, Zhong Yu wrote:
> On Thu, Feb 23, 2012 at 12:30 PM, Willy Tarreau <w@1wt.eu> wrote:
> > On Thu, Feb 23, 2012 at 12:19:07PM -0600, Zhong Yu wrote:
> >> Thank you both. So, "Connection:keep-alive" in 1.0 is very dependable
> >> in practice, server should keep the connection alive.
> >>
> >> If that's the case, shouldn't we remove the alarming languages in
> >> [part 1, A.1.2.]? They might be legitimate concerns in 1999, but no
> >> longer relevant today.
> >>
> >>    However, some experimental implementations of HTTP/1.0
> >>    persistent connections are faulty; for example, if a HTTP/1.0 proxy
> >>    server doesn't understand Connection, it will erroneously forward
> >>    that header to the next inbound server, which would result in a hung
> >>    connection.
> >>
> >>    ...
> >>
> >>    Clients are also encouraged to consider the use of Connection: keep-
> >>    alive in requests carefully; while they can enable persistent
> >>    connections with HTTP/1.0 servers, clients using them need will need
> >>    to monitor the connection for "hung" requests (which indicate that
> >>    the client ought stop sending the header), and this mechanism ought
> >>    not be used by clients at all when a proxy is being used.
> >
> > Indeed I remember about those painful days. However, the paragraph above
> > simply encourages to use the feature with care. This means that those who
> > want to implement it have to understand what it means. I think this is fine
> > as is.
> 
> If the spec specifically mentions a type of flaw in intermediaries, it
> wouldn't be "just saying"; it means the flaw is realistic, having
> significant impact in real world, and implementer should reckon with
> it.
> 
> Therefore I cannot, by reading the spec alone, come to the conclusion
> that a server should honor "Connection:keep-alive" from a 1.0 request.
> 
> If servers do honor the header, it means the flaw doesn't matter to
> servers anyway, therefore there's no point mentioning the flaw in the
> spec.
> 
> The added (not in rfc2616) last paragraph about clients seems to be a
> logical deduction from the significance of the flaw; however if the
> flaw is not really significant (servers ignore it), this paragraph is
> not justified. The real judges would be respectful client
> implementers; if they never see any problem sending
> "Connection:keep-alive", the paragraph can be removed.

The last one was added in an attempt to stop user-agents from emitting
Proxy-Connection headers and to only use the Connection header. What is
said here is that some 1.0 proxies were known to be broken when dealing
with 1.0 + connection: keep-alive so it encourages 1.0 clients no to do
so. However, a number of 1.0 clients do not pass through proxies (eg:
server monitoring, automatic download of updates, etc...) and are not
really subject to the issue and/or are not interested in keep-alive.
The end result is that if a server receives a 1.0 + keep-alive, it's
probably good as long as we incite clients to avoid doing that when they
don't know if it can work or if they don't find a real value in doing it.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 13:23:07 2012
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 9AD9C21F88A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 13:23:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 IR5uBMbPAO2C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 13:23:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0395A21F8897 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 13:23:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0g7F-0007QR-9G for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Feb 2012 21:22:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1S0g74-0007Nn-Bb for ietf-http-wg@listhub.w3.org; Thu, 23 Feb 2012 21:22:06 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1S0g72-0000Gm-8G for ietf-http-wg@w3.org; Thu, 23 Feb 2012 21:22:05 +0000
Received: by lagp5 with SMTP id p5so2601323lag.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 13:21:38 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@belshe.com designates 10.152.111.229 as permitted sender) client-ip=10.152.111.229;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@belshe.com designates 10.152.111.229 as permitted sender) smtp.mail=mike@belshe.com
Received: from mr.google.com ([10.152.111.229]) by 10.152.111.229 with SMTP id il5mr2551759lab.19.1330032098414 (num_hops = 1); Thu, 23 Feb 2012 13:21:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.111.229 with SMTP id il5mr2150681lab.19.1330032098350; Thu, 23 Feb 2012 13:21:38 -0800 (PST)
Received: by 10.112.102.5 with HTTP; Thu, 23 Feb 2012 13:21:38 -0800 (PST)
Date: Thu, 23 Feb 2012 13:21:38 -0800
Message-ID: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04083a01c3156d04b9a83aa5
X-Gm-Message-State: ALoCoQlfmf50StYgA9Xg/R8s+xKXVK5SPAV++ZyIAN0rOAawcgB2at4iswrdaAH65tb7BM+6PiY4
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S0g72-0000Gm-8G 4af5640050d53f4e1845ea16a4ad6ef4
X-Original-To: ietf-http-wg@w3.org
Subject: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12531
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>
Resent-Message-Id: <E1S0g7F-0007QR-9G@frink.w3.org>
Resent-Date: Thu, 23 Feb 2012 21:22:17 +0000

--f46d04083a01c3156d04b9a83aa5
Content-Type: text/plain; charset=ISO-8859-1

I posted this draft for comment from all.

   http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt

Best,
Mike

--f46d04083a01c3156d04b9a83aa5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I posted this draft for comment from all.
<div><br></div><div>=A0 =A0<a href=3D"http://www.ietf.org/id/draft-mbelshe-=
httpbis-spdy-00.txt">http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.t=
xt</a></div><div><br></div><div>Best,</div><div>Mike</div><div><br></div>

--f46d04083a01c3156d04b9a83aa5--


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 17:16:23 2012
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 82D3F21F8716 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:16:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.266
X-Spam-Level: 
X-Spam-Status: No, score=-9.266 tagged_above=-999 required=5 tests=[AWL=1.333, 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 5HURNBDuPtM0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:16:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D073E21F8715 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 17:16:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0jjq-0000dy-GT for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 01:14:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1S0jje-0000cw-Lc for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 01:14:10 +0000
Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a24.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S0jjd-0008UY-1z for ietf-http-wg@w3.org; Fri, 24 Feb 2012 01:14:10 +0000
Received: from homiemail-a24.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTP id A98E92C8057; Thu, 23 Feb 2012 17:13:47 -0800 (PST)
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=nNEhS0e+pXfKemB/ SKTgI1CJBGVYRH4bFvJH5+gKo/iMVnWLQ8F3Yn5CHYFBAxrjUpMeNKoh2aaQG3P4 y2xoBmaMz3olsgDi22Q4FaDvyoSeJT96YnTpH3PKZK0kDS7+WjYvl43pumevLtyk n+kdkN5uQjtyhx0cX4cpoNVJ4Pk=
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=WcqGEOrtxyKrqTXbxPP8KcOhpvw=; b=YniZvqgDZ2guK6GNWsQOE8FMGqT4 lg4MvbvSj5GFP+uDQqfUxMjNk8Mv7YtCsSOkqFC1U6Aucdw0WFZpoAc1bHXdElW3 NTrQMfPhMZXOJ7mOSAvvq9qP/7BZcLj076unLP+l5U99zcXIaytSOHBxh6ptBEbX BB+JtBOh13iLVQQ=
Received: from [10.134.89.83] (unknown [75.103.10.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTPSA id 7C9DC2C8055; Thu, 23 Feb 2012 17:13:47 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <4F452842.3050905@stpeter.im>
Date: Thu, 23 Feb 2012 17:13:53 -0800
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, The IESG <iesg@ietf.org>, IETF-Discussion <ietf@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: 7bit
Message-Id: <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.66; envelope-from=fielding@gbiv.com; helo=homiemail-a24.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: lisa.w3.org 1S0jjd-0008UY-1z 4e51ca7eb50be58e684951a60443c242
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12532
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>
Resent-Message-Id: <E1S0jjq-0000dy-GT@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 01:14:22 +0000

On Feb 22, 2012, at 9:39 AM, Peter Saint-Andre wrote:

> On 2/22/12 10:31 AM, Paul Hoffman wrote:
>> The earnest calls for better authentication on this thread appear to
>> ignore the fact that the very things that are being requested were
>> put out of scope for the websec WG in their charter. I hope that no
>> one things that a WG in the Applications Area will be better equipped
>> to come up with a better authentication mechanism than one in the
>> Security Area.
> 
> The WebSec WG is in the Applications Area.
> 
>> Asking the HTTPheads to guess what the securityheads might want is
>> not a good way to design HTTP 2.0.
> 
> Probably not.
> 
>> Proposal: leave the httpbis WG charter as-is and re-charter the
>> websec WG to consider what is needed in the HTTP authentication
>> model. Later, recharter the websec WG to, you know, actually do the
>> security work for authentication.
> 
> Or charter a separate WG to focus on HTTP authentication. (You might
> recall that the BoF leading to formation of the WebSec WG was entitled
> HASMAT = "HTTP Application Security Minus Authentication and Transport"
> or somesuch.)

Please understand that this exact same discussion was had in 1994 and
the IESG decided that the applications area couldn't possibly do this
work on their own, so they created a security area working group to
handle it.  That HTTP Security group, which was dominated by folks who
did not have any implementations of HTTP, decided to ignore the problem
for which they were chartered and instead invented SHTTP.

More importantly, the effect of that decision was that the people who
get work done at the IETF were prevented from improving HTTP's auth
mechanisms because it was out of scope, while the people who had it
in scope had no corresponding incentive to get it DONE.

Every time this topic comes up, people want to shove it off to some
other working group that is somehow going to magically get off its
collective ass and do real work.  Why?  It doesn't work.  It never
has worked.  We've gone through four iterations now of revising HTTP,
each one starting off with the same discussion, and each one concluding
that auth would be better owned by someone else.

There is nobody else.

How many times do we have to do this before we declare insanity?
I don't care how much risk it adds to the HTTP charter.  They are
all just meaningless deadlines anyway.  If we want HTTP to have
something other than Basic (1993) and Digest (1995) authentication,
then it had better be part of *this* charter so that the proposals
can address them.

....Roy


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 17:19:48 2012
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 09CDD21F8587 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:19:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.477
X-Spam-Level: 
X-Spam-Status: No, score=-6.477 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 RHqryhG6pqip for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:19:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5DFAF21F84F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 17:19:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0jos-00049G-Jj for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 01:19:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1S0joi-00048O-9g for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 01:19:24 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1S0jog-0000H6-An for ietf-http-wg@w3.org; Fri, 24 Feb 2012 01:19:23 +0000
Received: by obcuy19 with SMTP id uy19so2961747obc.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 17:18:57 -0800 (PST)
Received-SPF: pass (google.com: domain of tbray@textuality.com designates 10.60.21.134 as permitted sender) client-ip=10.60.21.134;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of tbray@textuality.com designates 10.60.21.134 as permitted sender) smtp.mail=tbray@textuality.com
Received: from mr.google.com ([10.60.21.134]) by 10.60.21.134 with SMTP id v6mr34081oee.52.1330046337120 (num_hops = 1); Thu, 23 Feb 2012 17:18:57 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.21.134 with SMTP id v6mr29885oee.52.1330046336993; Thu, 23 Feb 2012 17:18:56 -0800 (PST)
Received: by 10.182.137.69 with HTTP; Thu, 23 Feb 2012 17:18:56 -0800 (PST)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com>
Date: Thu, 23 Feb 2012 17:18:56 -0800
Message-ID: <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Peter Saint-Andre <stpeter@stpeter.im>, ietf-http-wg@w3.org,  IETF-Discussion <ietf@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, The IESG <iesg@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnWJSTTWESnpsWNMSEn0naK11s4Nr9dnQvmYGSyXjdIAxrpPJmvx0DuK5zF7OohxaO0YXeH
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S0jog-0000H6-An 516effbbdf9f39ccb21a170fdd6d1620
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12533
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>
Resent-Message-Id: <E1S0jos-00049G-Jj@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 01:19:34 +0000

On Thu, Feb 23, 2012 at 5:13 PM, Roy T. Fielding <fielding@gbiv.com> wrote:

> How many times do we have to do this before we declare insanity?
> I don't care how much risk it adds to the HTTP charter. =A0They are
> all just meaningless deadlines anyway. =A0If we want HTTP to have
> something other than Basic (1993) and Digest (1995) authentication,
> then it had better be part of *this* charter so that the proposals
> can address them.

Well, Digest already isn't used by anyone :)

Seriously, someone needs to propose some charter language or this
discussion is a no-op.  -Tim


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 17:25:55 2012
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 1346021E8028 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:25:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.637
X-Spam-Level: 
X-Spam-Status: No, score=-6.637 tagged_above=-999 required=5 tests=[AWL=3.962, 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 2+UH576zJ+LL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:25:54 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9A6C921E8026 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 17:25:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0jta-0004ir-1U for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 01:24:26 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <paul.hoffman@vpnc.org>) id 1S0jtP-0004hg-F8 for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 01:24:15 +0000
Received: from hoffman.proper.com ([207.182.41.81]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@vpnc.org>) id 1S0jtN-0000Px-F5 for ietf-http-wg@w3.org; Fri, 24 Feb 2012 01:24:14 +0000
Received: from [10.20.30.100] (50-0-66-4.dsl.dynamic.fusionbroadband.com [50.0.66.4]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.3) with ESMTP id q1O1NjS8045795 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 23 Feb 2012 18:23:46 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com>
Date: Thu, 23 Feb 2012 17:23:45 -0800
Cc: The IESG <iesg@ietf.org>, IETF-Discussion Discussion <ietf@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=207.182.41.81; envelope-from=paul.hoffman@vpnc.org; helo=hoffman.proper.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: lisa.w3.org 1S0jtN-0000Px-F5 c5032cb6b939bdfc7aa7df7deebd249a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12534
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>
Resent-Message-Id: <E1S0jta-0004ir-1U@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 01:24:26 +0000

On Feb 23, 2012, at 5:13 PM, Roy T. Fielding wrote:

> I don't care how much risk it adds to the HTTP charter.  They are
> all just meaningless deadlines anyway.  If we want HTTP to have
> something other than Basic (1993) and Digest (1995) authentication,
> then it had better be part of *this* charter so that the proposals
> can address them.


If only it were that simple. If the answer is "design an HTTP auth =
mechanism that is better than Digest", then this is a tractable goal. If =
it is "get IETF consensus on that auth mechanism", then it isn't. The =
latter has proven to be impossible because people say (possibly rightly) =
that web developers don't want auth mechanisms that use the browser =
chrome: they want auth in HTML, and anything that relies on the browser =
chrome is insufficient.

Notice how the topic changed from "HTTP" to "web" for the security =
discussion but not for the httpbis charter discussion? That topic-change =
has derailed the HTTP authentication discussions at recent (and =
not-so-recent) IETF meetings.

If the charter has "develop HTTP authentication mechanisms beyond =
Digest", that's great: we already have seen about five proposals in the =
past few years for those, some of them with security analyses. If the =
charter says "...and specify one that is mandatory to implement", that =
seems prone to consensus failure because of religion about =
zero-knowledge proofs versus operational simplicity, but I would be =
overjoyed to be wrong about that.

--Paul Hoffman



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 17:25:55 2012
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 34F9421E8026 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:25:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.099
X-Spam-Level: 
X-Spam-Status: No, score=-9.099 tagged_above=-999 required=5 tests=[AWL=1.500, 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 MJbIySxK+pEo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:25:54 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9259021E8018 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 17:25:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0jtj-0004jb-22 for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 01:24:35 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1S0jtY-0004iS-MD for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 01:24:24 +0000
Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a96.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S0jtW-0000QS-Oh for ietf-http-wg@w3.org; Fri, 24 Feb 2012 01:24:23 +0000
Received: from homiemail-a96.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTP id 109373B800D; Thu, 23 Feb 2012 17:24:02 -0800 (PST)
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=a+LKSGo/mrL1N8k3 NgpLMq6M5RbB08pSEsYPD9zuc1XtT0YtIqZMKMJEwMqviR2c9jSw1h/f5DW5TBKJ brGpJGEsfAfx7ucbPnJ96aaJm2DB6xtZatM3N8aqNGQ1kLVpEXZO/a95escjAxD6 woVXzv0rRNzAKl0xuFgBZ//gYdk=
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=FVrutAdiCHaLsSY//ra40BQ8oBw=; b=GfhEw76hhqKfjQak+sQFDujrqZBR KDr1sVy66GGqOMjIR4/iHWsBpT8YC93EsE960JknMxgz2sy1PUEgcKZC+C6rRh2x pcDRCzaa3h1G3qjKoEcS33tyw65TU6HscyFLLwvfzBH9sJA3s45JrjbIFnIGWDoo EUnHrT64O8MpRKo=
Received: from [10.134.89.83] (unknown [75.103.10.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTPSA id 9C0C93B800C; Thu, 23 Feb 2012 17:24:01 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com>
Date: Thu, 23 Feb 2012 17:24:07 -0800
Cc: Peter Saint-Andre <stpeter@stpeter.im>, ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, The IESG <iesg@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.145; envelope-from=fielding@gbiv.com; helo=homiemail-a96.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: lisa.w3.org 1S0jtW-0000QS-Oh 031036dd6cd371ea40d48b4f84dc11d4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12535
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>
Resent-Message-Id: <E1S0jtj-0004jb-22@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 01:24:35 +0000

On Feb 23, 2012, at 5:18 PM, Tim Bray wrote:
> On Thu, Feb 23, 2012 at 5:13 PM, Roy T. Fielding <fielding@gbiv.com> wrote:
> 
>> How many times do we have to do this before we declare insanity?
>> I don't care how much risk it adds to the HTTP charter.  They are
>> all just meaningless deadlines anyway.  If we want HTTP to have
>> something other than Basic (1993) and Digest (1995) authentication,
>> then it had better be part of *this* charter so that the proposals
>> can address them.
> 
> Well, Digest already isn't used by anyone :)

A popular misconception because it works unseen.  See tools.ietf.org

> Seriously, someone needs to propose some charter language or this
> discussion is a no-op.  -Tim

"Proposals for new HTTP authentication schemes are in scope."

....Roy


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 17:36:09 2012
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 DB26721E802D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:36:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.977
X-Spam-Level: 
X-Spam-Status: No, score=-6.977 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 8f6kilBb2t1G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:36:08 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6148221E802C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 17:36:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0k3o-0000k2-7L for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 01:35:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1S0k3e-0000jA-4S for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 01:34:50 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1S0k3c-00006W-7y for ietf-http-wg@w3.org; Fri, 24 Feb 2012 01:34:49 +0000
Received: by damc16 with SMTP id c16so2134360dam.2 for <ietf-http-wg@w3.org>; Thu, 23 Feb 2012 17:34:22 -0800 (PST)
Received-SPF: pass (google.com: domain of tbray@textuality.com designates 10.68.226.231 as permitted sender) client-ip=10.68.226.231;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of tbray@textuality.com designates 10.68.226.231 as permitted sender) smtp.mail=tbray@textuality.com
Received: from mr.google.com ([10.68.226.231]) by 10.68.226.231 with SMTP id rv7mr1453536pbc.59.1330047262500 (num_hops = 1); Thu, 23 Feb 2012 17:34:22 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.226.231 with SMTP id rv7mr1184659pbc.59.1330047262429; Thu, 23 Feb 2012 17:34:22 -0800 (PST)
Received: by 10.142.246.6 with HTTP; Thu, 23 Feb 2012 17:34:22 -0800 (PST)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
Date: Thu, 23 Feb 2012 17:34:22 -0800
Message-ID: <CAHBU6iu1_8P6d5y1EnEZKgX6aa2OU6qUUaWoFsbn2ovujFBurA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Peter Saint-Andre <stpeter@stpeter.im>, ietf-http-wg@w3.org,  IETF-Discussion <ietf@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, The IESG <iesg@ietf.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlftgg93pjB6hQmtUdszNiaJIBRbPnrQhE3ZOVMXqIzT9LrYzmKjAoydW4DxLy+IgfLmzM+
Received-SPF: none client-ip=209.85.210.43; envelope-from=tbray@textuality.com; helo=mail-pz0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1S0k3c-00006W-7y d2b01d4a2ac52f7bfe3b347fcfdcd509
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CAHBU6iu1_8P6d5y1EnEZKgX6aa2OU6qUUaWoFsbn2ovujFBurA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12536
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>
Resent-Message-Id: <E1S0k3o-0000k2-7L@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 01:35:00 +0000

On Thu, Feb 23, 2012 at 5:24 PM, Roy T. Fielding <fielding@gbiv.com> wrote:

>> Seriously, someone needs to propose some charter language or this
>> discussion is a no-op. =A0-Tim
>
> "Proposals for new HTTP authentication schemes are in scope."

+1

I don=92t think we=92ll get one, but in the unlikely event someone can
build consensus for something, there=92s no reason to brand it as
out-of-bounds.  -T


From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 17:50:50 2012
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 6D6F221F87D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:50:50 -0800 (PST)
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=[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 9iA0orAIec1O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 17:50:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA64021F8709 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 17:50:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0kHx-00049X-Ah for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 01:49:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <atlunde@panix.com>) id 1S0kHm-00048d-MG for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 01:49:26 +0000
Received: from mailbackend2.panix.com ([166.84.1.78] helo=mailbackend.panix.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1S0kHk-0001Gy-Qn for ietf-http-wg@w3.org; Fri, 24 Feb 2012 01:49:25 +0000
Received: from [192.168.15.3] (unknown [184.78.58.209]) by mailbackend.panix.com (Postfix) with ESMTP id 27EBA32FEB; Thu, 23 Feb 2012 20:49:04 -0500 (EST)
Message-ID: <4F46EC8E.7080103@panix.com>
Date: Thu, 23 Feb 2012 19:49:02 -0600
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.78; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S0kHk-0001Gy-Qn 515ef30d9ff34f3d031f814217439d36
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F46EC8E.7080103@panix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12537
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>
Resent-Message-Id: <E1S0kHx-00049X-Ah@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 01:49:37 +0000

Another suggestion:

"Profile the use of SASL Mechanisms"

(I'm not sure you to want, or can, bless everything SASL has accumulated.)



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 18:23:26 2012
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 A9EBC11E8096 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 18:23:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.999
X-Spam-Level: 
X-Spam-Status: No, score=-8.999 tagged_above=-999 required=5 tests=[AWL=1.600, 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 eXOB0B5gsuBT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 18:23:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD7C511E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 18:23:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0kn9-00033g-Bn for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 02:21:51 +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 1S0kmw-00032G-VK for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 02:21:39 +0000
Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83] helo=homiemail-a64.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S0kmu-0001XS-VK for ietf-http-wg@w3.org; Fri, 24 Feb 2012 02:21:38 +0000
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id CF0D2438072; Thu, 23 Feb 2012 18:21:15 -0800 (PST)
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=dEwKUf4Z6ij1+e+X g3sE/i9l2xjclJJgoHnnwJLbAN+VtEZH4pmjcqaNM5v8u9rAdDK8IDr9WbcpExB0 7uA1fWz4LgUPerkoQct+l6HZDNTdWQC30NxcPMazZexczkzKkXFPeiiXSLRbkZvJ xzgGhRrGLSE0RKnQFh+PEQbS8cs=
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=baVk1ZboZ7v/pgCAUGni+NgY0bA=; b=2YNOywKcopT8iruELojGNwF4vS4x ahnxOQwrCf8DrGBs5N69eWs/xuT9/9tQvQ7csLHYQqwWSKmfgIH2efqf9ijZI53r b1qZ+GxVndGwGJsoXqlkWKzwqNQ0CwIjqHdUqynQTvjVNyxW1AJ7zL+SNjjxPYM+ rq0jRn8iVXXLDmI=
Received: from [10.134.89.83] (unknown [75.103.10.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 9882343806C; Thu, 23 Feb 2012 18:21:15 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org>
Date: Thu, 23 Feb 2012 18:21:14 -0800
Cc: The IESG <iesg@ietf.org>, IETF-Discussion Discussion <ietf@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <916D055A-DAE4-47D9-AE8D-4261EA1DA59F@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.83; envelope-from=fielding@gbiv.com; helo=homiemail-a64.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 1S0kmu-0001XS-VK b45f0846eec04cde0a72947377e86f44
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/916D055A-DAE4-47D9-AE8D-4261EA1DA59F@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12538
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>
Resent-Message-Id: <E1S0kn9-00033g-Bn@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 02:21:51 +0000

On Feb 23, 2012, at 5:23 PM, Paul Hoffman wrote:
> On Feb 23, 2012, at 5:13 PM, Roy T. Fielding wrote:
>=20
>> I don't care how much risk it adds to the HTTP charter.  They are
>> all just meaningless deadlines anyway.  If we want HTTP to have
>> something other than Basic (1993) and Digest (1995) authentication,
>> then it had better be part of *this* charter so that the proposals
>> can address them.
>=20
>=20
> If only it were that simple. If the answer is "design an HTTP auth =
mechanism that is better than Digest", then this is a tractable goal. If =
it is "get IETF consensus on that auth mechanism", then it isn't. The =
latter has proven to be impossible because people say (possibly rightly) =
that web developers don't want auth mechanisms that use the browser =
chrome: they want auth in HTML, and anything that relies on the browser =
chrome is insufficient.

I don't need IETF consensus, just rough consensus and running code,
and I have no need to satisfy folks who think the Web is a browser.
The hard part is deploying anything that is incompatible with
already-deployed clients without letting them fall back to basic.

It is a trivial problem compared to choosing a new, non-MIME syntax.

What "web developers" want is based on what they can do today,
not what they can expect from an entirely new protocol.

> Notice how the topic changed from "HTTP" to "web" for the security =
discussion but not for the httpbis charter discussion? That topic-change =
has derailed the HTTP authentication discussions at recent (and =
not-so-recent) IETF meetings.


It didn't derail them.  They were not on any rails to begin with.

The problem with defining security in a separate group without
shipping implementations is that there is no need to compromise,
no need to identify and resolve specific use cases, and no need
to do something better than nothing.

If we add a requirement to HTTP/2.0 that user authentication MUST
be accomplished via a mechanism not subject to UI spoofing,
then that's what people will implement (if they implement at all).
The protocol can give the server all the control it wants over the
display of a background or separate window explaining what to do
in that other mechanism-not-subject-to-spoofing.  Give people just
enough rope to solve that problem without hanging themselves, and
the rest of HTTP (non-browser clients) can implement right now.

> If the charter has "develop HTTP authentication mechanisms beyond =
Digest", that's great: we already have seen about five proposals in the =
past few years for those, some of them with security analyses. If the =
charter says "...and specify one that is mandatory to implement", that =
seems prone to consensus failure because of religion about =
zero-knowledge proofs versus operational simplicity, but I would be =
overjoyed to be wrong about that.

I'd be happy with several imperfect mechanisms with differing
trade-offs that can be implemented in parallel.

....Roy



From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 18:49:45 2012
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 6CE8121F85DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 18:49:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.844
X-Spam-Level: 
X-Spam-Status: No, score=-8.844 tagged_above=-999 required=5 tests=[AWL=1.755, 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 8AYXcYNLkEyJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 18:49:44 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 09BA821F8554 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 18:49:32 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0lCV-0002H8-42 for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 02:48:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S0lCJ-0002E5-0g for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 02:47:51 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S0lCG-00029p-Jh for ietf-http-wg@w3.org; Fri, 24 Feb 2012 02:47:49 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.53.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4B8AA22E1EB; Thu, 23 Feb 2012 21:47:20 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
Date: Fri, 24 Feb 2012 13:47:18 +1100
Cc: Tim Bray <tbray@textuality.com>, Peter Saint-Andre <stpeter@stpeter.im>, ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, The IESG <iesg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3FE51BFF-EB61-40FA-8882-5E8AA4783B27@mnot.net>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
To: Roy T. Fielding <fielding@gbiv.com>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S0lCG-00029p-Jh bb008c20954491496f716c32a2618cf4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/3FE51BFF-EB61-40FA-8882-5E8AA4783B27@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12539
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>
Resent-Message-Id: <E1S0lCV-0002H8-42@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 02:48:03 +0000

On 24/02/2012, at 12:24 PM, Roy T. Fielding wrote:

> On Feb 23, 2012, at 5:18 PM, Tim Bray wrote:
>> On Thu, Feb 23, 2012 at 5:13 PM, Roy T. Fielding <fielding@gbiv.com> =
wrote:
>>=20
>>> How many times do we have to do this before we declare insanity?
>>> I don't care how much risk it adds to the HTTP charter.  They are
>>> all just meaningless deadlines anyway.  If we want HTTP to have
>>> something other than Basic (1993) and Digest (1995) authentication,
>>> then it had better be part of *this* charter so that the proposals
>>> can address them.
>>=20
>> Well, Digest already isn't used by anyone :)
>=20
> A popular misconception because it works unseen.  See tools.ietf.org
>=20
>> Seriously, someone needs to propose some charter language or this
>> discussion is a no-op.  -Tim
>=20
> "Proposals for new HTTP authentication schemes are in scope."

No one has said they're out of scope; this discussion has been about =
whether -- at this point in time, before we have proposals -- we require =
the outcome to jump through some particular hoop regarding security.=20


Cheers,



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





From ietf-http-wg-request@listhub.w3.org  Thu Feb 23 23:28:26 2012
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 3C3EA21E803D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 23:28:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.917
X-Spam-Level: 
X-Spam-Status: No, score=-9.917 tagged_above=-999 required=5 tests=[AWL=0.682, 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 WRja7VST7Elb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Feb 2012 23:28:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7CD021E800C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Feb 2012 23:28:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0pXZ-000730-Cd for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 07:26:05 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S0pXE-0006uB-Vk for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 07:25:45 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S0pX9-000154-O0 for ietf-http-wg@w3.org; Fri, 24 Feb 2012 07:25:43 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1O7P4xs003920; Fri, 24 Feb 2012 08:25:04 +0100
Date: Fri, 24 Feb 2012 08:25:03 +0100
From: Willy Tarreau <w@1wt.eu>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, The IESG <iesg@ietf.org>, IETF-Discussion Discussion <ietf@ietf.org>, ietf-http-wg@w3.org
Message-ID: <20120224072503.GH1306@1wt.eu>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0pX9-000154-O0 367dbfbc02a4b95b683825b6638f3e2c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120224072503.GH1306@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12540
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>
Resent-Message-Id: <E1S0pXZ-000730-Cd@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 07:26:05 +0000

On Thu, Feb 23, 2012 at 05:23:45PM -0800, Paul Hoffman wrote:
> If only it were that simple. If the answer is "design an HTTP auth mechanism
> that is better than Digest", then this is a tractable goal. If it is "get
> IETF consensus on that auth mechanism", then it isn't. The latter has proven
> to be impossible because people say (possibly rightly) that web developers
> don't want auth mechanisms that use the browser chrome: they want auth in
> HTML, and anything that relies on the browser chrome is insufficient.

Maybe but you still need HTTP-based auth for proxies anyway. Also, I
partially disagree with your point, seeing the number of applications
in enterprise which rely on the hated NTLM auth which is also HTTP-based ;
they're using it because it's transparent to the user, and enterprise
customers do ask for such transparent auth schemes.

There would also be much less need for cookies if auth was carried by the
browser, and this would let the user log off. So I think there's a need
for this.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 03:45:38 2012
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 8218521F86DB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 03:45:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.951
X-Spam-Level: 
X-Spam-Status: No, score=-9.951 tagged_above=-999 required=5 tests=[AWL=0.648, 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 E0ovuBNxShFx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 03:45:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BFAA421F86D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 03:45:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0tYQ-0005Kf-9r for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 11:43:14 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S0tYD-0005It-Cf for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 11:43:01 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S0tY4-0006V7-4S for ietf-http-wg@w3.org; Fri, 24 Feb 2012 11:43:00 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id D6827E6FE0 for <ietf-http-wg@w3.org>; Sat, 25 Feb 2012 00:42:21 +1300 (NZDT)
Message-ID: <4F47779B.5030004@treenet.co.nz>
Date: Sat, 25 Feb 2012 00:42:19 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org> <20120224072503.GH1306@1wt.eu>
In-Reply-To: <20120224072503.GH1306@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S0tY4-0006V7-4S 032c15eac282abe43efa714717c02cc4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F47779B.5030004@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12541
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>
Resent-Message-Id: <E1S0tYQ-0005Kf-9r@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 11:43:14 +0000

On 24/02/2012 8:25 p.m., Willy Tarreau wrote:
> On Thu, Feb 23, 2012 at 05:23:45PM -0800, Paul Hoffman wrote:
>> If only it were that simple. If the answer is "design an HTTP auth mechanism
>> that is better than Digest", then this is a tractable goal. If it is "get
>> IETF consensus on that auth mechanism", then it isn't. The latter has proven
>> to be impossible because people say (possibly rightly) that web developers
>> don't want auth mechanisms that use the browser chrome: they want auth in
>> HTML, and anything that relies on the browser chrome is insufficient.
> Maybe but you still need HTTP-based auth for proxies anyway. Also, I
> partially disagree with your point, seeing the number of applications
> in enterprise which rely on the hated NTLM auth which is also HTTP-based ;
> they're using it because it's transparent to the user, and enterprise
> customers do ask for such transparent auth schemes.
>
> There would also be much less need for cookies if auth was carried by the
> browser, and this would let the user log off. So I think there's a need
> for this.

Keeping the focus for charter firmly on the transport area and away from 
the "web"/resource/content area allows us to split the two auth models 
HTTP currently supports (www-auth and proxy-auth) along those same lines.

www-auth is end-to-end and only in that single-hop scenario can it be 
considered close to a transport authentication. For all other hop counts 
it is an effective *message* authentication, with no bearing on the 
transport. The proxy-auth layer is the only one which remains strictly 
transport-related, since it explicitly stops and re-starts at every HTTP 
hop.

So IMHO, we can (indeed must) acknowledge that HTTP transport uses a 
relay hop model. Charter security as a per-hop thing in HTTP. Any 
proposals can define something to adapt/extend/replace/erase proxy-auth 
into a real transport-auth. Specific to the two communicating hops. With 
the same semantics and viability whether they be client-proxy or 
client-server hops.
  Bonus: per-hop allows us to ignore 2.0->1.x->2.0 compatibility. This 
auth requirement only applies on 2.0->2.0+ hops.

www-auth can be left as the message-oriented authentication it is today 
for the "web auth" stuff. Either pushed off to somebody else (again) or 
to ourselves some years in the future when messaging semantics are up 
for change.

Looking a little forward to potential proposals. We have TLS, Kerberos, 
PGP, maybe OAuth and others all available right now (meeting that "over 
current infrastructure" charter requirement) as schemes to define 
proposals around. Being a "new" transport-authentication mechanism all 
we have to do is ensure that implementation is reasonably easy and any 
management tools to generate tokens or whatever are readily/easily 
available to even clueless junior admin.

AYJ


From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 04:57:14 2012
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 D5FE921F864C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 04:57:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.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 8XCXijhpy+SJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 04:57:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 11C5E21F8643 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 04:57:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0ufy-0006S3-It for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 12:55:06 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S0ufj-0006QP-48 for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 12:54:51 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S0ufa-0002Pp-2L for ietf-http-wg@w3.org; Fri, 24 Feb 2012 12:54:49 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id A61CE171C3D; Fri, 24 Feb 2012 12:54:15 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330088054; bh=dNA8PvlM4oqlhF PBZauZkipgDHMnpVm8gEWVy3NSW4E=; b=6+XgK594Z/HnyWE24Q1UjkdnAq5Egi LdmNicJ5isKtY+b7CSdxHQFcI6PvX7L5Pw2qS9V5wr4jWVfFx997VBNgBcZQLR1k Dctl40xiQ89tej7+J6cFt6KFJrC0PJiKgYg5aDXssB7zsRcjniJ8df0ZveolDy5l hVrFWnS0+7tC8KYg7nuxEzjU+6tqyZv0hRK7EJxNZbTW/gBdu5F99HDTJo6CV+J9 heCpue/7EoU7rtuZUjyTlpQUyxvDjGCy+T/bHMXYQa/vt35k50LP0pP30eGprWKp ApmnQFDyrQE7L/wmys3FmybMAemQlytF7YcQlSXQSYz/Coty5j1w29ug==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id JrH9Zr-fEUbp; Fri, 24 Feb 2012 12:54:14 +0000 (GMT)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id AA6A4171C3B; Fri, 24 Feb 2012 12:54:10 +0000 (GMT)
Message-ID: <4F478872.8020103@cs.tcd.ie>
Date: Fri, 24 Feb 2012 12:54:10 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>,  Paul Hoffman <paul.hoffman@vpnc.org>, ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
In-Reply-To: <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0ufa-0002Pp-2L 866ab727590adcd167273e37ef4189e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F478872.8020103@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12542
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>
Resent-Message-Id: <E1S0ufy-0006S3-It@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 12:55:06 +0000

On 02/24/2012 01:24 AM, Roy T. Fielding wrote:
> On Feb 23, 2012, at 5:18 PM, Tim Bray wrote:
>> On Thu, Feb 23, 2012 at 5:13 PM, Roy T. Fielding<fielding@gbiv.com>  wrote:
>>
>>> How many times do we have to do this before we declare insanity?
>>> I don't care how much risk it adds to the HTTP charter.  They are
>>> all just meaningless deadlines anyway.  If we want HTTP to have
>>> something other than Basic (1993) and Digest (1995) authentication,
>>> then it had better be part of *this* charter so that the proposals
>>> can address them.
>>
>> Well, Digest already isn't used by anyone :)
>
> A popular misconception because it works unseen.  See tools.ietf.org
>
>> Seriously, someone needs to propose some charter language or this
>> discussion is a no-op.  -Tim
>
> "Proposals for new HTTP authentication schemes are in scope."

How would a plan like the following look to folks:

- httpbis is chartered to include auth mechanism work as
   per the above (or whatever text goes into the charter)
- that'll generate a slew of proposals, some good, some
   bad, some better-than-current and some too complex
- plan is for httpbis to pick something (one or more if
   they want, but one better-than-current one is the goal)
- give all the above a short timeframe (this year, pick
   which to work on at the same time as re-chartering for
   the details of HTTP/2.0 maybe)
- httpbis pick what they want, (zero or more) and go
   do their stuff

- if there's still enough interest in some proposals
   that were not picked by httpbis we then try charter a sec
   area wg to develop experimental specs for those so
   they're off the critical path for httpbis (the rest die
   unloved;-)
- those experimental specs would be REQUIRED to work with
   http/1.1 and/or http/2.0 (as appropriate) with no change
   required to http; that'd be in the charter for that
   putative sec wg
- that sec wg charter might also say that the putative
   wg is not allowed to add new schemes until the
   originally chartered ones are completed (to avoid
   people turning up every week with their shiny new
   scheme)

Might that be a way forward that'll give enough folks
enough of what they want/need?

Cheers,
S.


From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 07:05:38 2012
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 158DE21F87AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 07:05:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.657
X-Spam-Level: 
X-Spam-Status: No, score=-6.657 tagged_above=-999 required=5 tests=[AWL=3.942, 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 mXwkWh8rW5wL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 07:05:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56B7D21F87A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 07:05:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0wgS-00064F-7D for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 15:03:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <paul.hoffman@vpnc.org>) id 1S0wg5-00063M-GA for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 15:03:21 +0000
Received: from hoffman.proper.com ([207.182.41.81]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <paul.hoffman@vpnc.org>) id 1S0wft-0006s2-3S for ietf-http-wg@w3.org; Fri, 24 Feb 2012 15:03:20 +0000
Received: from [10.20.30.100] (50-0-66-4.dsl.dynamic.fusionbroadband.com [50.0.66.4]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.3) with ESMTP id q1OF2bv1073065 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 24 Feb 2012 08:02:38 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <4F478872.8020103@cs.tcd.ie>
Date: Fri, 24 Feb 2012 07:02:38 -0800
Cc: The IESG <iesg@ietf.org>, ietf-http-wg@w3.org, IETF-Discussion Discussion <ietf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FDE9205F-4B8C-47A6-AF12-B654E23590E4@vpnc.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=207.182.41.81; envelope-from=paul.hoffman@vpnc.org; helo=hoffman.proper.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: lisa.w3.org 1S0wft-0006s2-3S 4ecd4acb164c08f61d6152d5b571ef56
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/FDE9205F-4B8C-47A6-AF12-B654E23590E4@vpnc.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12543
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>
Resent-Message-Id: <E1S0wgS-00064F-7D@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 15:03:44 +0000

On Feb 24, 2012, at 4:54 AM, Stephen Farrell wrote:

>> "Proposals for new HTTP authentication schemes are in scope."
>=20
> How would a plan like the following look to folks:
>=20
> - httpbis is chartered to include auth mechanism work as
>  per the above (or whatever text goes into the charter)

> - that'll generate a slew of proposals, some good, some
>  bad, some better-than-current and some too complex
> - plan is for httpbis to pick something (one or more if
>  they want, but one better-than-current one is the goal)
> - give all the above a short timeframe (this year, pick
>  which to work on at the same time as re-chartering for
>  the details of HTTP/2.0 maybe)
> - httpbis pick what they want, (zero or more) and go
>  do their stuff
>=20
> - if there's still enough interest in some proposals
>  that were not picked by httpbis we then try charter a sec
>  area wg to develop experimental specs for those so
>  they're off the critical path for httpbis (the rest die
>  unloved;-)
> - those experimental specs would be REQUIRED to work with
>  http/1.1 and/or http/2.0 (as appropriate) with no change
>  required to http; that'd be in the charter for that
>  putative sec wg
> - that sec wg charter might also say that the putative
>  wg is not allowed to add new schemes until the
>  originally chartered ones are completed (to avoid
>  people turning up every week with their shiny new
>  scheme)
>=20
> Might that be a way forward that'll give enough folks
> enough of what they want/need?


It would, but I would like to give a counter-proposal that I think will =
use people's different talents better:

- new wg on developing http authentication mechanisms is chartered soon =
(BoF in Paris); call it the ham wg
- httpbis is chartered to follow the work of the ham wg and is required =
to make sure that the authentication framework in http 2.0 works for as =
many of the proposals from the ham wg as possible
- ham wg is responsible for most of what you list above
- http2.0 document says "the mandatory to implement auth mechanisms are =
named in that RFC over there", which comes from the ham wg

There will be overlap in wg membership, but not nearly as much as would =
be needed for your proposal.

--Paul Hoffman



From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 08:46:14 2012
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 317BF21F8621 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 08:46:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.486
X-Spam-Level: 
X-Spam-Status: No, score=-6.486 tagged_above=-999 required=5 tests=[AWL=3.813, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 soYeNh7K5Ain for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 08:46:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 406EB21F861F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 08:46:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0yFq-0001l5-A8 for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 16:44:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <john-ietf@jck.com>) id 1S0yFe-0001fz-Sk for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 16:44:10 +0000
Received: from bsa2.jck.com ([70.88.254.51]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <john-ietf@jck.com>) id 1S0yFX-0001K5-W1 for ietf-http-wg@w3.org; Fri, 24 Feb 2012 16:44:09 +0000
Received: from [198.252.137.7] (helo=PST.JCK.COM) by bsa2.jck.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1S0yAy-0007rM-EG; Fri, 24 Feb 2012 11:39:20 -0500
Date: Fri, 24 Feb 2012 11:43:31 -0500
From: John C Klensin <john-ietf@jck.com>
To: =?UTF-8?Q?Patrik_F=C3=A4ltstr=C3=B6m?= <paf@frobbit.se>, Andrew Sullivan <ajs@anvilwalrusden.com>
cc: mnot@mnot.net, IETF Discussion <ietf@ietf.org>, iesg@ietf.org, ietf-http-wg@w3.org
Message-ID: <DC8A7C4316C6F97607CFBCC6@PST.JCK.COM>
In-Reply-To: <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info> <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Received-SPF: none client-ip=70.88.254.51; envelope-from=john-ietf@jck.com; helo=bsa2.jck.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0yFX-0001K5-W1 8093c2e1281d28b2ae304a7953a7ec20
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol  Bis (httpbis)
Archived-At: <http://www.w3.org/mid/DC8A7C4316C6F97607CFBCC6@PST.JCK.COM>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12544
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>
Resent-Message-Id: <E1S0yFq-0001l5-A8@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 16:44:22 +0000

--On Friday, February 24, 2012 16:58 +0100 Patrik =
F=C3=A4ltstr=C3=B6m
<paf@frobbit.se> wrote:

> On 24 feb 2012, at 16:38, Andrew Sullivan wrote:
>=20
>> Over in spfbis, people are arguing that the SPF RRTYPE should
>> be deprecated and abandoned in SPF because nobody uses it
>> because of practical difficulties in getting new RRTYPEs
>> deployed.  What makes us think that the arguments in favour
>> of SRV are going to find more fertile ground?
>=20
> Because people disagree on whether it is actually hard to get
> new RRTYPEs deployed.
>=20
> I for example do completely disagree on it being hard. Sure,
> your user interface in the gui of your favorite $EDITOR might
> not support the new RRTYPE, but should that constrain
> deployment of good standards?

Patrik,

While I don't see it as hard as Andrew does, I don't see it as
easy either.  The problem isn't one's favorite $EDITOR.  It is
the number of folks who, for lots of reasons, haven't upgraded
from operating systems, resolvers, etc., that don't support
newer RRTYPES.   Remember that, while Windows 7 is getting some
of the market share that Vista never did, there are still a huge
number of XP systems out there -- many of them in the hands of
people and organizations who aren't going to make the hardware
investment to upgrade in a difficult economy.  The situation
with the Mac platform actually isn't much better -- I know a lot
of people who haven't (and can't) upgrade from OS 9, much less
to the latest carnivorous feline. =20

SRV has the advantage of many year's head start and more utility
to more protocols over, e.g., SPF but the reality remains that,
if some users have support for an important new RRTYPE and
others don't, we have either an inconsistent user experience
(more confusion, more support calls, etc.) or, as we have seen
with DNAME, a need to carry around complex workarounds that can
lead to bugs, vunerabilities, or, ahem, inconsistent user
experience.

And, fwiw, I'm actually much more concerned about use of the DNS
for any part of the process if we don't have broad consensus in
and between the IETF and the implementer community about whether
IRIs or URIs are authoritative and about how domain names
containing IDN labels are encoded in either.   I'm equally
concerned if some organization of our mutual acquaintance is
determined to declare the existence of equivalent names in the
DNS that will create user expectations that certs and comparison
mechanisms cannot support.

--On Thursday, February 23, 2012 14:38 -0800 Doug Barton
<dougb@dougbarton.us> wrote:

> 2782 was published 12 years ago this month. I suppose it can =
be
> considered mature enough to deploy at this point? :)

One might wish.  But real maturity has to be based on
implementation and deployment, not just publication dates.   I
note, for example, that RFC 736 (an old favorite example of mine
for several reasons) was published over 34 years ago is, like
2782, still at Proposed Standard, and, sadly, hasn't gone
anywhere (at least in the last decade or so).   Certainly it is
elderly as Internet protocols go, but I don't think the leap
from "elderly" to "mature" is obviously justified.

    john



From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 08:59:18 2012
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 16CD121F8812 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 08:59:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.903
X-Spam-Level: 
X-Spam-Status: No, score=-4.903 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396, 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 1WCL9AEN+u7U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 08:59:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76A6F21F8802 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 08:59:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S0yT0-00078N-TK for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 16:57:58 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <patrik@frobbit.se>) id 1S0ySq-00077U-25 for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 16:57:48 +0000
Received: from srv01.frobbit.se ([85.30.129.39]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <patrik@frobbit.se>) id 1S0ySo-0003Kv-1j for ietf-http-wg@w3.org; Fri, 24 Feb 2012 16:57:46 +0000
Received: from localhost (localhost [127.0.0.1]) by srv01.frobbit.se (Postfix) with ESMTP id 109A813296F5F; Fri, 24 Feb 2012 17:57:25 +0100 (CET)
X-Virus-Scanned: amavisd-new at frobbit.se
Received: from srv01.frobbit.se ([127.0.0.1]) by localhost (srv01.frobbit.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a5qaVaibRMNu; Fri, 24 Feb 2012 17:57:24 +0100 (CET)
Received: from [95.209.79.91] (95.209.79.91.bredband.tre.se [95.209.79.91]) (Authenticated sender: paf01) by srv01.frobbit.se (Postfix) with ESMTP id BA11E13296F58; Fri, 24 Feb 2012 17:57:24 +0100 (CET)
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info> <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se> <DC8A7C4316C6F97607CFBCC6@PST.JCK.COM>
In-Reply-To: <DC8A7C4316C6F97607CFBCC6@PST.JCK.COM>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Message-Id: <5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>
Cc: =?utf-8?Q?Patrik_F=C3=A4ltstr=C3=B6m?= <paf@frobbit.se>, Andrew Sullivan <ajs@anvilwalrusden.com>, "mnot@mnot.net" <mnot@mnot.net>, IETF Discussion <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
X-Mailer: iPad Mail (9A405)
From: =?utf-8?Q?Patrik_F=C3=A4ltstr=C3=B6m?= <patrik@frobbit.se>
Date: Fri, 24 Feb 2012 17:57:31 +0100
To: John C Klensin <john-ietf@jck.com>
Received-SPF: pass client-ip=85.30.129.39; envelope-from=patrik@frobbit.se; helo=srv01.frobbit.se
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S0ySo-0003Kv-1j 482cf73294518aacfb13838d60ce87d6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12545
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>
Resent-Message-Id: <E1S0yT0-00078N-TK@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 16:57:58 +0000

On 24 feb 2012, at 17:43, John C Klensin <john-ietf@jck.com> wrote:

> It is
> the number of folks who, for lots of reasons, haven't upgraded
> from operating systems, resolvers, etc., that don't support
> newer RRTYPES.

As I said, people disagree... ;-)

As far as I know, there is nothing in any of the operating systems you menti=
on that prohibits an application to send a random udp packet, and because of=
 that your application can include a resolver library.

What is a problem are the cases where DNS is not used at all at the end node=
, but instead other name binding/lookup protocols combined with a firewall p=
olicy that because of this can and is blocking udp+tcp/53 in various ways.

That said, I still ask when it is, in general, time to just move forward. I s=
ee for example many other reasons why people should not use that old softwar=
e. IE6 for example. Yes, economically constrained situations exists, but tha=
t problem do not go away by having us not start using SRV or HTTP/1.1 or SNI=
 or HTML5.0 or...pick your favourite. And with SPF, that is not used by the e=
dge node either.

I am asking more generally why specifically this DNS issue is so stuck, beca=
use I think that is unfair. We upgrade other protocols...

But my point is, people disagree. As we see here ;-)

   Patrik



From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 14:09:13 2012
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 7C44321F87A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 14:09:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 CjG5wLN39wXx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 14:09:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C0C321F87A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 14:09:11 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S13J4-0004SY-Ai for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 22:08:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fenix@google.com>) id 1S13Ip-0004QC-8w for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 22:07:47 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fenix@google.com>) id 1S13In-0002Ni-5G for ietf-http-wg@w3.org; Fri, 24 Feb 2012 22:07:46 +0000
Received: by wibhm2 with SMTP id hm2so2287096wib.2 for <ietf-http-wg@w3.org>; Fri, 24 Feb 2012 14:07:19 -0800 (PST)
Received-SPF: pass (google.com: domain of fenix@google.com designates 10.180.101.228 as permitted sender) client-ip=10.180.101.228;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of fenix@google.com designates 10.180.101.228 as permitted sender) smtp.mail=fenix@google.com; dkim=pass header.i=fenix@google.com
Received: from mr.google.com ([10.180.101.228]) by 10.180.101.228 with SMTP id fj4mr9048347wib.4.1330121239638 (num_hops = 1); Fri, 24 Feb 2012 14:07:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :x-system-of-record; bh=UsaFErrFvF8Do+Udm0vT3fRv1JeZG4HiYW7oJskpQxk=; b=fDIT224d0KTRk7USu/5TE13B25hTSbWuLpMnljuh9uc0T6icw4xIqyGfoqu2CfvgTX WRu2SRFX/PgbnhclX3wkUZPlfNTK1U09ym3IGgJzDBGacocdG09DATM8O/QYJbrLzO4N Cl5ITag12B+hudHDaFb7tEe1Ysb+FVRF4Xmlg=
Received: by 10.180.101.228 with SMTP id fj4mr7224452wib.4.1330121239547; Fri, 24 Feb 2012 14:07:19 -0800 (PST)
MIME-Version: 1.0
Received: by 10.180.101.228 with SMTP id fj4mr7224439wib.4.1330121239443; Fri, 24 Feb 2012 14:07:19 -0800 (PST)
Received: by 10.227.38.219 with HTTP; Fri, 24 Feb 2012 14:07:19 -0800 (PST)
Date: Fri, 24 Feb 2012 14:07:19 -0800
Message-ID: <CAGzyod5WfT33TDxNaXUvG6yn+BjczYz_=0YcJ3dy=p879017zg@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04182556fc3a2104b9bcfbfd
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQl4rQ0LIWWG5yTZN2Aiw99cNlEr1Xgt1vGFLfl5iZRbjD3c8W90Fq0whfESt7G4/5AzWATr0xJtVbSRHXktgKNGTblwLuW24n1NXN19tIEsh8EIjZB0X9nozmp4KTDI/Mo4gTZGy7QNPy9OH49ySdknqclpxw==
Received-SPF: pass client-ip=209.85.212.171; envelope-from=fenix@google.com; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S13In-0002Ni-5G 3604f3bb124b7afb4a1901ca438b0884
X-Original-To: ietf-http-wg@w3.org
Subject: IPRs submitted for draft-mbelshe-httpbis-spdy
Archived-At: <http://www.w3.org/mid/CAGzyod5WfT33TDxNaXUvG6yn+BjczYz_=0YcJ3dy=p879017zg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12546
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>
Resent-Message-Id: <E1S13J4-0004SY-Ai@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 22:08:02 +0000

--f46d04182556fc3a2104b9bcfbfd
Content-Type: text/plain; charset=ISO-8859-1

Hello all--

Just wanted to drop a note that we've submitted an IPR disclosure for
draft-mbelshe-httpbis-spdy here: https://datatracker.ietf.org/ipr/1692/
The IP in question hasn't been published yet, but we hope to do so soon
after it has been published.

-=R

--f46d04182556fc3a2104b9bcfbfd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello all--<div><br></div><div>Just wanted to drop a note that we&#39;ve su=
bmitted an IPR disclosure for draft-mbelshe-httpbis-spdy here:=A0<a href=3D=
"https://datatracker.ietf.org/ipr/1692/">https://datatracker.ietf.org/ipr/1=
692/</a></div>
<div>The IP in question hasn&#39;t been published yet, but we hope to do so=
 soon after it has been published.</div><div><br></div><div>-=3DR</div>

--f46d04182556fc3a2104b9bcfbfd--


From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 15:01:37 2012
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 02EF421E8013 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 15:01:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.865
X-Spam-Level: 
X-Spam-Status: No, score=-8.865 tagged_above=-999 required=5 tests=[AWL=1.734, 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 uqfmLBzfZU3g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 15:01:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0FF5A21E8012 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 15:01:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S148O-00046t-LJ for ietf-http-wg-dist@listhub.w3.org; Fri, 24 Feb 2012 23:01:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S148D-00044Q-EA for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 23:00:53 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S148B-0003dS-EN for ietf-http-wg@w3.org; Fri, 24 Feb 2012 23:00:52 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.53.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A4FEE22E1F4; Fri, 24 Feb 2012 18:00:29 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAGzyod5WfT33TDxNaXUvG6yn+BjczYz_=0YcJ3dy=p879017zg@mail.gmail.com>
Date: Sat, 25 Feb 2012 10:00:25 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <29E2AB29-870C-427B-A7AA-D3E998CC6D03@mnot.net>
References: <CAGzyod5WfT33TDxNaXUvG6yn+BjczYz_=0YcJ3dy=p879017zg@mail.gmail.com>
To: Roberto Peon <fenix@google.com>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S148B-0003dS-EN 93f737ded122ac6c1c34c27438519015
X-Original-To: ietf-http-wg@w3.org
Subject: Re: IPRs submitted for draft-mbelshe-httpbis-spdy
Archived-At: <http://www.w3.org/mid/29E2AB29-870C-427B-A7AA-D3E998CC6D03@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12547
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>
Resent-Message-Id: <E1S148O-00046t-LJ@frink.w3.org>
Resent-Date: Fri, 24 Feb 2012 23:01:04 +0000

Thanks, Roberto.

On 25/02/2012, at 9:07 AM, Roberto Peon wrote:

> Hello all--
>=20
> Just wanted to drop a note that we've submitted an IPR disclosure for =
draft-mbelshe-httpbis-spdy here: https://datatracker.ietf.org/ipr/1692/
> The IP in question hasn't been published yet, but we hope to do so =
soon after it has been published.
>=20
> -=3DR

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





From ietf-http-wg-request@listhub.w3.org  Fri Feb 24 18:07:13 2012
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 0F7FF21F8576 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 18:07:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.859
X-Spam-Level: 
X-Spam-Status: No, score=-8.859 tagged_above=-999 required=5 tests=[AWL=1.740, 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 0EAvVz1FEaG4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 24 Feb 2012 18:07:12 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F07621F8571 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 24 Feb 2012 18:07:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1718-0006Ce-Gp for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 02:05:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S170w-0006BP-Bv for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 02:05:34 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S170u-00068c-JP for ietf-http-wg@w3.org; Sat, 25 Feb 2012 02:05:33 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.53.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4D72D22E1EB; Fri, 24 Feb 2012 21:05:03 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F478872.8020103@cs.tcd.ie>
Date: Sat, 25 Feb 2012 13:05:00 +1100
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S170u-00068c-JP d233997fba37a1d7503092afee8c81d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12548
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>
Resent-Message-Id: <E1S1718-0006Ce-Gp@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 02:05:46 +0000

Hi Stephen,

On 24/02/2012, at 11:54 PM, Stephen Farrell wrote:

>=20
> On 02/24/2012 01:24 AM, Roy T. Fielding wrote:
>> On Feb 23, 2012, at 5:18 PM, Tim Bray wrote:
>>> On Thu, Feb 23, 2012 at 5:13 PM, Roy T. Fielding<fielding@gbiv.com>  =
wrote:
>>>=20
>>>> How many times do we have to do this before we declare insanity?
>>>> I don't care how much risk it adds to the HTTP charter.  They are
>>>> all just meaningless deadlines anyway.  If we want HTTP to have
>>>> something other than Basic (1993) and Digest (1995) authentication,
>>>> then it had better be part of *this* charter so that the proposals
>>>> can address them.
>>>=20
>>> Well, Digest already isn't used by anyone :)
>>=20
>> A popular misconception because it works unseen.  See tools.ietf.org
>>=20
>>> Seriously, someone needs to propose some charter language or this
>>> discussion is a no-op.  -Tim
>>=20
>> "Proposals for new HTTP authentication schemes are in scope."
>=20
> How would a plan like the following look to folks:
>=20
> - httpbis is chartered to include auth mechanism work as
>  per the above (or whatever text goes into the charter)
> - that'll generate a slew of proposals, some good, some
>  bad, some better-than-current and some too complex
> - plan is for httpbis to pick something (one or more if
>  they want, but one better-than-current one is the goal)
> - give all the above a short timeframe (this year, pick
>  which to work on at the same time as re-chartering for
>  the details of HTTP/2.0 maybe)
> - httpbis pick what they want, (zero or more) and go
>  do their stuff

Is the goal for HTTPbis "one or more" or "zero or more"? I see both =
above.

Again - I'm absolutely fine with soliciting proposals, but requiring =
output is a different thing.

Thanks,


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





From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 04:17:48 2012
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 25D0021F8601 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 04:17:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.325
X-Spam-Level: 
X-Spam-Status: No, score=-9.325 tagged_above=-999 required=5 tests=[AWL=0.074, BAYES_00=-2.599, J_CHICKENPOX_47=0.6, J_CHICKENPOX_63=0.6, 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 4QCudh8jrDaF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 04:17:43 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9EBC521F8600 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 04:17:43 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1GVz-0003fz-5x for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 12:14:15 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S1GVn-0003Ya-PZ for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 12:14:03 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S1GVl-0008Fk-Bm for ietf-http-wg@w3.org; Sat, 25 Feb 2012 12:14:03 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1PCDaYe011393; Sat, 25 Feb 2012 13:13:36 +0100
Date: Sat, 25 Feb 2012 13:13:36 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: httpbis mailing list <ietf-http-wg@w3.org>
Message-ID: <20120225121336.GC8633@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1GVl-0008Fk-Bm b771187f7c2157c099fe989532a10e83
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120225121336.GC8633@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12549
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>
Resent-Message-Id: <E1S1GVz-0003fz-5x@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 12:14:15 +0000

Hi Mike,

On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe wrote:
> I posted this draft for comment from all.
> 
>    http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt

First, thank you for posting this draft, it's full of very nice ideas.

I have a really major concern with header compression. I understand that
the initial reason why it is needed is that HTTP header names are quite
long, but is an issue that we should address in HTTP/2.0 instead of any
attempt to work around it by compressing them. Some header values are
quite long too. User-agent could be reduced to 16bit vendor-id + 8-bit
product-id + 8-bit product version. Cookies can be quite long but will
generally not compress much since long ones are supposed to be
unpredictable randoms.

The concern I'm having with header compression is that it makes DoS much
more trivial using low-bandwidth attacks. I've performed a test using the
dictionary provided in the draft. Using it, I can reduce 4233425 bytes of
crap headers to 7 bytes ("78 f9 e3 c6 a7 c2 ec"). Considered like this, it
looks efficient. Now see it differently : by sending a frame of 18 + 7 =
25 bytes of data, I can make the server write 4233425 bytes to memory then
parse those bytes as HTTP headers.  This is an amplification ratio of
4233425/25 = 169337. In other words, it means that with only the 256 kbps
of upstream bandwidth I have on my entry-level ADSL access, I can make an
intermediary or server have to process 43 Gbps of HTTP headers ! And even
if we did not use an initial dictionary, it's easy to achieve compression
ratios above 200 with zlib, which is still very dangerous in the case of
DDoS attacks.

Basically, it means that any low-end internet access is enough to knock
down even large sites, even those who make use of hardware-accelerated
zlib decompression. This is a major issue, especially if we consider the
rise of DDoS attacks these days.

In my opinion, in the sake of robustness, it is much better to be able
to parse the stream and stop as soon as something's wrong. This means
that the headers should be sent in the most easily parsable form. For
efficiency, we should ditch current header names and use 1-byte for the
most common ones. Possibly we could make use of a variable length encoding
for the size just as we used in WebSocket. This way, most headers could be
encoded as one byte for the length, one for the header name, and a few
bytes for the value.  Some headers could be typed as enums to save space.

For instance, if we apply this principle to the example in SPDY-Fan.pdf
(274 bytes) :

  GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1
  Host: static.ak.fbcdn.net
  User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8)
  Accept: text/css,*/*;q=0.1
  Accept-Language: en-us,en;q=0.5
  Accept-Encoding: gzip,deflate
  Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

We could get down to something more or less like this with minimal effort :

   1 byte for method=GET + version=1.1
   1 byte for the Host header value length
  19 bytes for "static.ak.fbcdn.net"
  33 bytes for "/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css"
   1 byte for User-Agent header name
   4 bytes for Mozilla + browser type + major version number
   1 byte for Accept
   1 byte for the number of content-types bytes
   1 byte for text/css
   1 byte for */*;q=
   1 byte for 0.1
   1 byte for Accept-Language
   1 byte for the number of accept-languauge bytes
   1 byte for en-us
   1 byte for en;q=
   1 byte for 0.5
   1 byte for Accept-Encoding
   1 byte for the number of bytes in the values
   1 byte for gzip
   1 byte for deflate        (note: both could be merged into one single)
   1 byte for Accept-Charset
   1 byte for the value length
   1 byte ISO-8859-1
   1 byte for utf-8;q=
   1 byte for 0.7
   1 byte for *;q=
   1 byte for 0.7

We're at a total of 80 bytes or 29% of the original size for a *small*
request, which was already dominated by the Host, URI and UA lengths.
And such an encoding would be as cheap to parse as it is to produce.

We also have to take intermediaries into account. Most of them touch a
few headers (eg: add/remove a cookie, etc). An encoding such as above
is much cheaper to produce than it is to decompress+recompress just to
add a cookie.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 05:48:29 2012
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 0A3F721F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 05:48:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.543
X-Spam-Level: 
X-Spam-Status: No, score=-6.543 tagged_above=-999 required=5 tests=[AWL=4.056, 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 ItplgRslKMJi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 05:48:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 253C921F85CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 05:48:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1Hxp-0006ei-OO for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 13:47:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1Hxa-0006Tz-L8 for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 13:46:50 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1HxX-0003GI-S7 for ietf-http-wg@w3.org; Sat, 25 Feb 2012 13:46:49 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 11AE6171C9E; Sat, 25 Feb 2012 13:46:26 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330177584; bh=lVDM9DgHd1F6dG GlsNeGD2sSSK+A9knmt1w+5vdGQ8I=; b=Q1mEJD66vQVzElzVcDMSmINWryWKs0 B+PrNYu0D+BcJdgGX/vXAfKnu8vdlXi5ohU9gavHyu7TZMjMEVwyZ8IUAJJeGQwg z2/86cTn0KFqfTVEOgZCejkxwzHZtIxhPmV9RE1yX1gkvCzSUHHPiCyfyEF6zgMy MxnbfZYT0kPzyqDG7At46wXrzlB2aQt8guQaHNUag1C5mEqGsrr9aYX2ne59jv7S oOoPKrGCJ0ju8FEZ5gVgvxTFVIjzc2V8OKN694Ye5XFAaq7VsK0j2LmYWo+AkniH B8jji6uYjDSlA852Um0eIk/HC1WGaVbvM4hw4rNrrBj4ApW2ODZ+tpGA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id kc3UKCi77-WU; Sat, 25 Feb 2012 13:46:24 +0000 (GMT)
Received: from [10.87.48.7] (unknown [86.42.23.11]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 8C573171C2F; Sat, 25 Feb 2012 13:46:20 +0000 (GMT)
Message-ID: <4F48E62C.5020902@cs.tcd.ie>
Date: Sat, 25 Feb 2012 13:46:20 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>,  The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>
In-Reply-To: <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1HxX-0003GI-S7 ca0845e7699930c321b717799041263f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F48E62C.5020902@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12550
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>
Resent-Message-Id: <E1S1Hxp-0006ei-OO@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 13:47:05 +0000

Hiya,

On 02/25/2012 02:05 AM, Mark Nottingham wrote:
> Hi Stephen,
>
> On 24/02/2012, at 11:54 PM, Stephen Farrell wrote:
>
>>
>> On 02/24/2012 01:24 AM, Roy T. Fielding wrote:
>>> On Feb 23, 2012, at 5:18 PM, Tim Bray wrote:
>>>> On Thu, Feb 23, 2012 at 5:13 PM, Roy T. Fielding<fielding@gbiv.com>   wrote:
>>>>
>>>>> How many times do we have to do this before we declare insanity?
>>>>> I don't care how much risk it adds to the HTTP charter.  They are
>>>>> all just meaningless deadlines anyway.  If we want HTTP to have
>>>>> something other than Basic (1993) and Digest (1995) authentication,
>>>>> then it had better be part of *this* charter so that the proposals
>>>>> can address them.
>>>>
>>>> Well, Digest already isn't used by anyone :)
>>>
>>> A popular misconception because it works unseen.  See tools.ietf.org
>>>
>>>> Seriously, someone needs to propose some charter language or this
>>>> discussion is a no-op.  -Tim
>>>
>>> "Proposals for new HTTP authentication schemes are in scope."
>>
>> How would a plan like the following look to folks:
>>
>> - httpbis is chartered to include auth mechanism work as
>>   per the above (or whatever text goes into the charter)
>> - that'll generate a slew of proposals, some good, some
>>   bad, some better-than-current and some too complex
>> - plan is for httpbis to pick something (one or more if
>>   they want, but one better-than-current one is the goal)
>> - give all the above a short timeframe (this year, pick
>>   which to work on at the same time as re-chartering for
>>   the details of HTTP/2.0 maybe)
>> - httpbis pick what they want, (zero or more) and go
>>   do their stuff
>
> Is the goal for HTTPbis "one or more" or "zero or more"? I see both above.
>
> Again - I'm absolutely fine with soliciting proposals, but requiring output is a different thing.

Yeah that's a tricky one. While one might like to
see "one or more" in both places that might not be
practical.

In the proposal above the goal is that httpbis pick one
or more but recognising the reality that we might not get
a new proposal that httpbis will accept and that folks
will really implement and deploy.

So:
    Goal = one or more
    Reluctant recognition of reality = zero or more

With this plan if httpbis in fact select zero new proposals
that would represent a failure for all concerned. The "zero
or more" term is absolutely not intended to provide a way to
just punt on the question.

Such a failure at the point where httpbis was re-chartering
to work on a HTTP/2.0 selection with no better security than
we now have is probably better evaluated as a whole - I
guess the question for the IETF/IESG at that point would
be whether the Internet would be better with or without
such a beast, or better waiting a while until the security
thing did get fixed.

I can imagine an argument might ensue about that;-)

S

> Thanks,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 06:05:19 2012
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 31E8E21F85F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 06:05:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.142
X-Spam-Level: 
X-Spam-Status: No, score=-8.142 tagged_above=-999 required=5 tests=[AWL=2.457, 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 a9Qc-dbtJ8-Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 06:05:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DB3721F8440 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 06:05:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1IF2-0003Ly-DT for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 14:04:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S1IEr-0003L7-Vs for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 14:04:42 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S1IEq-0001aX-8a for ietf-http-wg@w3.org; Sat, 25 Feb 2012 14:04:41 +0000
Received: (qmail invoked by alias); 25 Feb 2012 14:04:12 -0000
Received: from p5DCC3D19.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.61.25] by mail.gmx.net (mp071) with SMTP; 25 Feb 2012 15:04:12 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+Z3M8J62qZsCbPSfRscNARSELM0ZuY9rTnPhvFEb O79qyVzxFCk1lB
Message-ID: <4F48EA4B.6050500@gmx.de>
Date: Sat, 25 Feb 2012 15:03:55 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: Mark Nottingham <mnot@mnot.net>, IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>,  The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie>
In-Reply-To: <4F48E62C.5020902@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S1IEq-0001aX-8a 6eed6b93d1815ad24438c538b1c6f8f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F48EA4B.6050500@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12551
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>
Resent-Message-Id: <E1S1IF2-0003Ly-DT@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 14:04:52 +0000

On 2012-02-25 14:46, Stephen Farrell wrote:
> ...
> Yeah that's a tricky one. While one might like to
> see "one or more" in both places that might not be
> practical.
>
> In the proposal above the goal is that httpbis pick one
> or more but recognising the reality that we might not get
> a new proposal that httpbis will accept and that folks
> will really implement and deploy.
>
> So:
> Goal = one or more
> Reluctant recognition of reality = zero or more
>
> With this plan if httpbis in fact select zero new proposals
> that would represent a failure for all concerned. The "zero
> or more" term is absolutely not intended to provide a way to
> just punt on the question.
>
> Such a failure at the point where httpbis was re-chartering
> to work on a HTTP/2.0 selection with no better security than
> we now have is probably better evaluated as a whole - I
> guess the question for the IETF/IESG at that point would
> be whether the Internet would be better with or without
> such a beast, or better waiting a while until the security
> thing did get fixed.
>
> I can imagine an argument might ensue about that;-)
> ...

If we just need a new authentication scheme, nothing stops people from 
working on that right now. I don't see how that should affect HTTP/2.0.

If the "right" way to do security needs changes in the HTTP/1.1 
authentication framework, then we should fix/augment/tune HTTP/1.1. It's 
not going to go away anytime soon.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 06:15:53 2012
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 8AB4021F859B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 06:15:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.228
X-Spam-Level: 
X-Spam-Status: No, score=-7.228 tagged_above=-999 required=5 tests=[AWL=3.371, 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 E7mrni828M5O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 06:15:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4E2521F8567 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 06:15:51 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1INw-0004Ur-4t for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 14:14:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1INk-0004Tr-Jc for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 14:13:52 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1INi-0001n3-AZ for ietf-http-wg@w3.org; Sat, 25 Feb 2012 14:13:51 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 8CDCA171C9E; Sat, 25 Feb 2012 14:13:29 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330179209; bh=Q4h03/bi1NlX6N 4sqdG5QM66LCK3825szWkM6T1EIIM=; b=e2ttlZ71mSVXZoIf4NMvw53QvTK6kq A0k8WxcVRh+6MOVe+M7/VSl2XR0tLE4xfC5Q5KHcm3Vk2vCm6NLPihpzHLcu1CkI rRBpWXM4Riusn8ZqpRb4Ecqxh5XT2Sf5BFGAIhVMnEz8J1qkYGYjId3bA8OaHtyu ZSf/8lZZsdJAT4+VC6w0ISpP1I9d0HyFUfq0y/aXsfd6SyjisS8JbejVHTOPL+a5 nddmxvRSbHGtSU+w33hjqjZGtMHex3uN5tgHK4oy/6LeJO18jbJH/rlWNk9y8aN6 EPmtJ3hAB6E5KLC/slZZ3S6dv8OiqsqYbYPTlIlX5lITJXbldQHYMROQ==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id mso+fpT23TQn; Sat, 25 Feb 2012 14:13:29 +0000 (GMT)
Received: from [10.87.48.7] (unknown [86.42.23.11]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id A6D4C171C2F; Sat, 25 Feb 2012 14:13:27 +0000 (GMT)
Message-ID: <4F48EC87.4040302@cs.tcd.ie>
Date: Sat, 25 Feb 2012 14:13:27 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>,  Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de>
In-Reply-To: <4F48EA4B.6050500@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1INi-0001n3-AZ 9bffb4021213050d70ab28d266e69ef9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F48EC87.4040302@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12552
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>
Resent-Message-Id: <E1S1INw-0004Ur-4t@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 14:14:04 +0000

On 02/25/2012 02:03 PM, Julian Reschke wrote:
> On 2012-02-25 14:46, Stephen Farrell wrote:
>> ...
>> Yeah that's a tricky one. While one might like to
>> see "one or more" in both places that might not be
>> practical.
>>
>> In the proposal above the goal is that httpbis pick one
>> or more but recognising the reality that we might not get
>> a new proposal that httpbis will accept and that folks
>> will really implement and deploy.
>>
>> So:
>> Goal = one or more
>> Reluctant recognition of reality = zero or more
>>
>> With this plan if httpbis in fact select zero new proposals
>> that would represent a failure for all concerned. The "zero
>> or more" term is absolutely not intended to provide a way to
>> just punt on the question.
>>
>> Such a failure at the point where httpbis was re-chartering
>> to work on a HTTP/2.0 selection with no better security than
>> we now have is probably better evaluated as a whole - I
>> guess the question for the IETF/IESG at that point would
>> be whether the Internet would be better with or without
>> such a beast, or better waiting a while until the security
>> thing did get fixed.
>>
>> I can imagine an argument might ensue about that;-)
>> ...
>
> If we just need a new authentication scheme, nothing stops people from
> working on that right now.

I don't agree with you there - the perceived low probability that
something will be deployed is a real disincentive here. We have had
people wanting to do work on this and have been told there's no point
because it won't get adopted.

 > I don't see how that should affect HTTP/2.0.

Well, a number of people have noticed that current schemes
are getting long in the tooth and fixing stuff like that when
you do a major rev of a protocol is quite a reasonable thing
to do.

> If the "right" way to do security needs changes in the HTTP/1.1
> authentication framework, then we should fix/augment/tune HTTP/1.1. It's
> not going to go away anytime soon.

Sure, I agree with that and think the plan above allows for it.

S

>
> Best regards, Julian
>


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 06:21:49 2012
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 3D5A921F8665 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 06:21:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.133
X-Spam-Level: 
X-Spam-Status: No, score=-8.133 tagged_above=-999 required=5 tests=[AWL=2.466, 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 n9CywfH908ZO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 06:21:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C99F21F8655 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 06:21:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1IVB-0006W1-Lk for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 14:21:33 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S1IV1-0006V9-Iw for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 14:21:23 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S1IV0-0004af-1Q for ietf-http-wg@w3.org; Sat, 25 Feb 2012 14:21:22 +0000
Received: (qmail invoked by alias); 25 Feb 2012 14:20:55 -0000
Received: from p5DCC3D19.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.61.25] by mail.gmx.net (mp020) with SMTP; 25 Feb 2012 15:20:55 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX187KRxJEsQ7Hbl4CtSbGM31rgN9WwiYYNvoZ27NI0 erQpIO3DAFMbAh
Message-ID: <4F48EE34.3020504@gmx.de>
Date: Sat, 25 Feb 2012 15:20:36 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>,  Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie>
In-Reply-To: <4F48EC87.4040302@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S1IV0-0004af-1Q 3d3d50077458bfeb4ced050145f5d620
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F48EE34.3020504@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12553
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>
Resent-Message-Id: <E1S1IVB-0006W1-Lk@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 14:21:33 +0000

On 2012-02-25 15:13, Stephen Farrell wrote:
>
>
> On 02/25/2012 02:03 PM, Julian Reschke wrote:
>> On 2012-02-25 14:46, Stephen Farrell wrote:
>>> ...
>>> Yeah that's a tricky one. While one might like to
>>> see "one or more" in both places that might not be
>>> practical.
>>>
>>> In the proposal above the goal is that httpbis pick one
>>> or more but recognising the reality that we might not get
>>> a new proposal that httpbis will accept and that folks
>>> will really implement and deploy.
>>>
>>> So:
>>> Goal = one or more
>>> Reluctant recognition of reality = zero or more
>>>
>>> With this plan if httpbis in fact select zero new proposals
>>> that would represent a failure for all concerned. The "zero
>>> or more" term is absolutely not intended to provide a way to
>>> just punt on the question.
>>>
>>> Such a failure at the point where httpbis was re-chartering
>>> to work on a HTTP/2.0 selection with no better security than
>>> we now have is probably better evaluated as a whole - I
>>> guess the question for the IETF/IESG at that point would
>>> be whether the Internet would be better with or without
>>> such a beast, or better waiting a while until the security
>>> thing did get fixed.
>>>
>>> I can imagine an argument might ensue about that;-)
>>> ...
>>
>> If we just need a new authentication scheme, nothing stops people from
>> working on that right now.
>
> I don't agree with you there - the perceived low probability that
> something will be deployed is a real disincentive here. We have had
> people wanting to do work on this and have been told there's no point
> because it won't get adopted.

Just checking: so you think what's needed is a normative requirement to 
implement the new scheme? Do you really believe that that's what holding 
up improvements in this area?

>  > I don't see how that should affect HTTP/2.0.
>
> Well, a number of people have noticed that current schemes
> are getting long in the tooth and fixing stuff like that when
> you do a major rev of a protocol is quite a reasonable thing
> to do.

If there's something from with the framework, let's fix the framework. 
That's already covered by the current charter, no?

>> If the "right" way to do security needs changes in the HTTP/1.1
>> authentication framework, then we should fix/augment/tune HTTP/1.1. It's
>> not going to go away anytime soon.
>
> Sure, I agree with that and think the plan above allows for it.

My point being: this is something we already do in httpbis. What's 
missing is concrete bug reports.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 09:46:38 2012
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 2AA2621F850D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 09:46:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.571
X-Spam-Level: 
X-Spam-Status: No, score=-7.571 tagged_above=-999 required=5 tests=[AWL=3.028, 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 GCq9VZoj-2Vb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 09:46:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9430021F8550 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 09:46:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1LgN-0004Za-6j for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 17:45:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1Lg6-0003b9-AW for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 17:45:02 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1Lg4-0003Kk-Fh for ietf-http-wg@w3.org; Sat, 25 Feb 2012 17:45:01 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 1D1D9171C9F; Sat, 25 Feb 2012 17:44:38 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330191877; bh=5elK1ogBqvvXX9 ZomC1U+qBY2Z92bL6gR1NMlUVd5y8=; b=T/4DkMWBMOY2+iQkZuK45jDdiIMXLv /aOQtEbU3qewNTOA6NC7VnmR30FDvU4Yqz5AJQJ5hJ67zb5H7odqRLUFt5RTcPBq W1L7NGvVrHf2onUZvDsXLKK06pX+GBA1Z+XoxEBTdKyG9Alw3gLlqhuL+XrC5mYq YwpnvH8wZ+zKsAh2NwW5O3+5ikT5kaquZaZmJDHT5LIiaUIgrmM+L/juqVonew3T JwSSvJd3/Du6JhV6Q4/HRivs0kzVwZ2bq/0udeYhO+uvA1uLi8rypxLs1EYJbakZ 3/VkRUasHAnvxOzA0KwhpceQRDBDtjZXCY5q1PbyDtPD+w+rXCX61ipw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id m7gj9IaugPny; Sat, 25 Feb 2012 17:44:37 +0000 (GMT)
Received: from [10.87.48.7] (unknown [86.42.23.11]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 322D1171C9E; Sat, 25 Feb 2012 17:44:35 +0000 (GMT)
Message-ID: <4F491E02.9020207@cs.tcd.ie>
Date: Sat, 25 Feb 2012 17:44:34 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>,  Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <4F48EE34.3020504@gmx.de>
In-Reply-To: <4F48EE34.3020504@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1Lg4-0003Kk-Fh e8735783404658e96064dd9d3b3f5f0d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F491E02.9020207@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12554
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>
Resent-Message-Id: <E1S1LgN-0004Za-6j@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 17:45:19 +0000

On 02/25/2012 02:20 PM, Julian Reschke wrote:
> On 2012-02-25 15:13, Stephen Farrell wrote:
>> On 02/25/2012 02:03 PM, Julian Reschke wrote:
>>>
>>> If we just need a new authentication scheme, nothing stops people from
>>> working on that right now.
>>
>> I don't agree with you there - the perceived low probability that
>> something will be deployed is a real disincentive here. We have had
>> people wanting to do work on this and have been told there's no point
>> because it won't get adopted.
>
> Just checking: so you think what's needed is a normative requirement to
> implement the new scheme? Do you really believe that that's what holding
> up improvements in this area?

The first thing is not something I said and I don't know quite what
it means so its also not something I believe. I therefore also do not
believe the 2nd thing.

>> > I don't see how that should affect HTTP/2.0.
>>
>> Well, a number of people have noticed that current schemes
>> are getting long in the tooth and fixing stuff like that when
>> you do a major rev of a protocol is quite a reasonable thing
>> to do.
>
> If there's something from with the framework, let's fix the framework.
> That's already covered by the current charter, no?

I don't think fixing or changing the framework will give us better
auth schemes by itself. (Better auth schemes may or may not require
changes to the framework, I dunno.)

So I think you're raising a side issue here really.

S

>>> If the "right" way to do security needs changes in the HTTP/1.1
>>> authentication framework, then we should fix/augment/tune HTTP/1.1. It's
>>> not going to go away anytime soon.
>>
>> Sure, I agree with that and think the plan above allows for it.
>
> My point being: this is something we already do in httpbis. What's
> missing is concrete bug reports.
>
> Best regards, Julian
>
>


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 10:25:29 2012
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 CB93C21F8589 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 10:25:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.124
X-Spam-Level: 
X-Spam-Status: No, score=-8.124 tagged_above=-999 required=5 tests=[AWL=2.475, 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 U2YGDFjANuaN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 10:25:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 577C521F8576 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 10:25:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1MIX-00024P-J6 for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 18:24:45 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S1MIN-00023Y-LK for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 18:24:35 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S1MIL-0004Uu-It for ietf-http-wg@w3.org; Sat, 25 Feb 2012 18:24:34 +0000
Received: (qmail invoked by alias); 25 Feb 2012 18:24:07 -0000
Received: from p5DCC3D19.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.61.25] by mail.gmx.net (mp032) with SMTP; 25 Feb 2012 19:24:07 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19ArH1AEhFAHHppMG3S8jPNX+dIB6qHS28C/dHm61 EvKepMbXUh2kP1
Message-ID: <4F49271C.5030509@gmx.de>
Date: Sat, 25 Feb 2012 19:23:24 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>,  Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <4F48EE34.3020504@gmx.de> <4F491E02.9020207@cs.tcd.ie>
In-Reply-To: <4F491E02.9020207@cs.tcd.ie>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S1MIL-0004Uu-It 3f63b984a0cb39f06ab17676deb8abef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F49271C.5030509@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12555
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>
Resent-Message-Id: <E1S1MIX-00024P-J6@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 18:24:45 +0000

On 2012-02-25 18:44, Stephen Farrell wrote:
> ...
> I don't think fixing or changing the framework will give us better
> auth schemes by itself. (Better auth schemes may or may not require
> changes to the framework, I dunno.)
>
> So I think you're raising a side issue here really.
> ...

Well, I'm one of the editors of the authentication framework spec, so if 
there's something wrong with it, I'd like to know.

So if we collectively think that the framework probably is ok, and that 
we *do* need a new authentication scheme, what's stopping us to start 
that activity *right now*?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 10:30:00 2012
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 06A2E21F85B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 10:30:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.776
X-Spam-Level: 
X-Spam-Status: No, score=-7.776 tagged_above=-999 required=5 tests=[AWL=2.823, 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 KVr+T1+WfEXV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 10:29:59 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 64F7221F85A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 10:29:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1MNP-0002SO-Ck for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 18:29:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1MNE-0002RX-2f for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 18:29:36 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1MNC-0008JK-5l for ietf-http-wg@w3.org; Sat, 25 Feb 2012 18:29:35 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 5A018171C9E; Sat, 25 Feb 2012 18:29:13 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330194553; bh=n8J5MX/BvylIVs vV/B/z6sUPMAwyn9hl0KHk5lPt01s=; b=DS4EQgSWnt5pPney/zD22Y9Yxx+Auo onwmS2Ai8bT9tRRK01sfs93qUagxH6CJn/uovRBDADi7aKRknhFrkcxf95Uk6nKK Ow6WX8AASfMVo7mkCam2Q1vrWfvopkuiw3/p+67hV3gf1h7xn8zRpWw09pJ1YQyJ NrUJ+IOehNEMcFKiEJ7Z7/cvLM4Iqrt7sQCKv2WRNUYvLcLv9QXkRJNstDPk2N/Z sJL7j336U0Nk1huD4eTMwXMMxUfVm/5KeGU38IzhpvLByfqJwGEW3zFALOfv249f PcAJVPK1aiIVCoTF0GounB1vxIme72oo0/k4IE9GMYL+M5pzF5/ZAmXA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id Iigkqo8Nj1GA; Sat, 25 Feb 2012 18:29:13 +0000 (GMT)
Received: from [10.87.48.7] (unknown [86.42.23.11]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id E8ABC171C2F; Sat, 25 Feb 2012 18:29:10 +0000 (GMT)
Message-ID: <4F492876.4060108@cs.tcd.ie>
Date: Sat, 25 Feb 2012 18:29:10 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: IETF-Discussion <ietf@ietf.org>,  "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>,  Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <4F48EE34.3020504@gmx.de> <4F491E02.9020207@cs.tcd.ie> <4F49271C.5030509@gmx.de>
In-Reply-To: <4F49271C.5030509@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1MNC-0008JK-5l 1e503cdfe6bffeb4caebd8f201a95e80
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F492876.4060108@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12556
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>
Resent-Message-Id: <E1S1MNP-0002SO-Ck@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 18:29:47 +0000

On 02/25/2012 06:23 PM, Julian Reschke wrote:
> On 2012-02-25 18:44, Stephen Farrell wrote:
>> ...
>> I don't think fixing or changing the framework will give us better
>> auth schemes by itself. (Better auth schemes may or may not require
>> changes to the framework, I dunno.)
>>
>> So I think you're raising a side issue here really.
>> ...
>
> Well, I'm one of the editors of the authentication framework spec, so if
> there's something wrong with it, I'd like to know.
>
> So if we collectively think that the framework probably is ok, and that
> we *do* need a new authentication scheme, what's stopping us to start
> that activity *right now*?

I believe I answered just that question from you earlier today.
So you must be looking for someone else's answer I guess. Or
perhaps I'm confused.

S


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 15:27:27 2012
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 C9CE721F8505 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 15:27:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.736
X-Spam-Level: 
X-Spam-Status: No, score=-8.736 tagged_above=-999 required=5 tests=[AWL=1.733, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_RMML_Stock10=0.13]
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 2eBq8DMXFGLW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 15:27:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0F9B521F84FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 15:27:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1R00-0005Ju-Ri for ietf-http-wg-dist@listhub.w3.org; Sat, 25 Feb 2012 23:25:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S1Qze-0005Hs-Sp for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 23:25:34 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S1Qzc-0005tN-CB for ietf-http-wg@w3.org; Sat, 25 Feb 2012 23:25:33 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.33.226]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 633F422E256; Sat, 25 Feb 2012 18:25:03 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F48EC87.4040302@cs.tcd.ie>
Date: Sun, 26 Feb 2012 10:25:00 +1100
Cc: Julian Reschke <julian.reschke@gmx.de>, IETF-Discussion <ietf@ietf.org>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S1Qzc-0005tN-CB 5e2148efe1e2a8e3edec84c59f4db8eb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12557
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>
Resent-Message-Id: <E1S1R00-0005Ju-Ri@frink.w3.org>
Resent-Date: Sat, 25 Feb 2012 23:25:56 +0000

On 26/02/2012, at 1:13 AM, Stephen Farrell wrote:
>>=20
>> If we just need a new authentication scheme, nothing stops people =
from
>> working on that right now.
>=20
> I don't agree with you there - the perceived low probability that
> something will be deployed is a real disincentive here. We have had
> people wanting to do work on this and have been told there's no point
> because it won't get adopted.

Let's speak plainly here.

It's not hard for new things to be deployed -- there are lots of new =
things being deployed on the Web right now.

What IS hard is forcing browser vendors to deploy something that they =
don't think is going to work, or that they're not terribly interested =
in.

They are VERY VERY VERY interested in security, as are many other people =
in the broader community. If the IETF were to come up with a viable =
proposal that solves their problems, they would beat down this =
organisation's doors.

The IETF may have some smart people, and they may have ideas about Web =
security, but that doesn't necessarily make them into workable solutions =
for the various stakeholders. The discussion about Web security is much =
broader, involving not only the browser vendors, but also organisations =
like the W3C, IIW, etc.

Using HTTP/2.0 as a mechanism to shortcut all of this and force what =
people in the IETF think is a good solution down implementers' throats =
is going to lead to a very predictable and messy fail.


> With this plan if httpbis in fact select zero new proposals
> that would represent a failure for all concerned. The "zero
> or more" term is absolutely not intended to provide a way to
> just punt on the question.

This makes me very uncomfortable. How hard and long do we have to try =
before we convince you that we're not punting?


> Such a failure at the point where httpbis was re-chartering
> to work on a HTTP/2.0 selection with no better security than
> we now have is probably better evaluated as a whole - I
> guess the question for the IETF/IESG at that point would
> be whether the Internet would be better with or without
> such a beast, or better waiting a while until the security
> thing did get fixed.


If we "wait a while until the security thing [does] get fixed", I'll =
gladly bet any amount of money you care to name that SPDY will gain =
market traction so quickly as to make any HTTP/2.0 effort in IETF =
completely backwards-looking. Refer to the debacle with Cookies for one =
such example.

So, again, I'm fine with allowing new authentication schemes to be =
proposed, in the off chance that some genius will suddenly propose =
something that meets all of the myriad requirements (that still aren't =
well-defined) and gets consensus and buy-in from implementers.=20

However, requiring us to output such a beast and gating HTTP/2.0 on it =
is effectively asking us to spin our wheels for n years. And the folks =
working on SPDY will - quite rightly - walk away and do their work =
somewhere more sane.

And I still don't see why it's necessary to do this all in one effort. =
Julian's point was that the only technical reason to combine =
authentication work with re-specifying HTTP is to make the new =
authentication scheme MTI. Otherwise, the work can be done separately. =
Roy has expressed interest in coming up with a new scheme that isn't =
necessarily targeted at browsers -- which is great, but I don't see why =
it has to be part of this WG.

We potentially have a LOT of work on our plate, and that work is =
channeling the energy behind a new serialisation of HTTP into something =
worthy of being called HTTP. Doing research and development on Web =
security is a very different kind of work, and the two don't mix well, =
IME.



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





From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 16:42:11 2012
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 0576221F8547 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 16:42:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.469
X-Spam-Level: 
X-Spam-Status: No, score=-6.469 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_RMML_Stock10=0.13]
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 yWBiDc3SSrTK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 16:42:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1351C21F8540 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 16:42:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1SAb-0005BC-V7 for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 00:40:58 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1SAL-0004lr-OW for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 00:40:41 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1SAJ-0005tn-IP for ietf-http-wg@w3.org; Sun, 26 Feb 2012 00:40:41 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 75BB9171C9E; Sun, 26 Feb 2012 00:40:17 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330216816; bh=XQyx9E8rn/yBeU U2HIPAzSntogfzgO8JO0sX1xTumjs=; b=bAp4nb7vHFlBOQgywYCo9TK67ZF2sb SnuWB3u4LbXTlzwFj4dY2qAMdws434jSllPOGRCxIkGFLf0bXt19d/bDK3Oi0qXC 5loy5iYVEZpjZvtaH9XnfGVBuSumknSyXCL2myql2GxUo0fAL4tTqm65QYZbpPYI AS97uunYZSX3rDqR/A1ndswkCeIZCFESdUv3/szeCdbcqpn1Z0zH4IxR+sJzgrJ8 Fy4J8/H4GQmawGVsbuJuhRUQ9uaUw/2cIeMSXbSEc43YbAvkIAnu3kkVjEph8ZRb y/UaaVu2bEkcR2yzZy32HWwsecu5k/N0WhqSdSHI5rrjAee1F71ATqVw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id vOzkuBdpk2wv; Sun, 26 Feb 2012 00:40:16 +0000 (GMT)
Received: from [10.87.48.3] (unknown [86.46.27.138]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 5706E171C2F; Sun, 26 Feb 2012 00:40:13 +0000 (GMT)
Message-ID: <4F497F6D.8050503@cs.tcd.ie>
Date: Sun, 26 Feb 2012 00:40:13 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: IETF-Discussion <ietf@ietf.org>,  Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>,  Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>,  ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>
In-Reply-To: <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1SAJ-0005tn-IP ebb89a25337f9365ab573a9742421f33
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F497F6D.8050503@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12558
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>
Resent-Message-Id: <E1S1SAb-0005BC-V7@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 00:40:57 +0000

Mark,

I was going to respond blow-by-blow but there's not much
point in that, other than to say that your mail seems to
me a tad over the top.

(Maybe you misinterpreted me describing what might happen
as some kind of threat to try slow people down or something,
I don't know. I do know that I don't do that kind of thing
and if I tried I probably wouldn't be very good at it anyway;-)

Anyway, I think we should focus on a way forward that attempts
progress on what we appear to agree is the desirable outcome:

 > They are VERY VERY VERY interested in security, as are many other
 > people in the broader community. If the IETF were to come up with a
 > viable proposal that solves their problems, they would beat down this
 > organisation's doors.

I proposed a plan that I think might allow us to make progress
on that. I believe we could.

S



On 02/25/2012 11:25 PM, Mark Nottingham wrote:
>
> On 26/02/2012, at 1:13 AM, Stephen Farrell wrote:
>>>
>>> If we just need a new authentication scheme, nothing stops people from
>>> working on that right now.
>>
>> I don't agree with you there - the perceived low probability that
>> something will be deployed is a real disincentive here. We have had
>> people wanting to do work on this and have been told there's no point
>> because it won't get adopted.
>
> Let's speak plainly here.
>
> It's not hard for new things to be deployed -- there are lots of new things being deployed on the Web right now.
>
> What IS hard is forcing browser vendors to deploy something that they don't think is going to work, or that they're not terribly interested in.
>
> They are VERY VERY VERY interested in security, as are many other people in the broader community. If the IETF were to come up with a viable proposal that solves their problems, they would beat down this organisation's doors.
>
> The IETF may have some smart people, and they may have ideas about Web security, but that doesn't necessarily make them into workable solutions for the various stakeholders. The discussion about Web security is much broader, involving not only the browser vendors, but also organisations like the W3C, IIW, etc.
>
> Using HTTP/2.0 as a mechanism to shortcut all of this and force what people in the IETF think is a good solution down implementers' throats is going to lead to a very predictable and messy fail.
>
>
>> With this plan if httpbis in fact select zero new proposals
>> that would represent a failure for all concerned. The "zero
>> or more" term is absolutely not intended to provide a way to
>> just punt on the question.
>
> This makes me very uncomfortable. How hard and long do we have to try before we convince you that we're not punting?
>
>
>> Such a failure at the point where httpbis was re-chartering
>> to work on a HTTP/2.0 selection with no better security than
>> we now have is probably better evaluated as a whole - I
>> guess the question for the IETF/IESG at that point would
>> be whether the Internet would be better with or without
>> such a beast, or better waiting a while until the security
>> thing did get fixed.
>
>
> If we "wait a while until the security thing [does] get fixed", I'll gladly bet any amount of money you care to name that SPDY will gain market traction so quickly as to make any HTTP/2.0 effort in IETF completely backwards-looking. Refer to the debacle with Cookies for one such example.
>
> So, again, I'm fine with allowing new authentication schemes to be proposed, in the off chance that some genius will suddenly propose something that meets all of the myriad requirements (that still aren't well-defined) and gets consensus and buy-in from implementers.
>
> However, requiring us to output such a beast and gating HTTP/2.0 on it is effectively asking us to spin our wheels for n years. And the folks working on SPDY will - quite rightly - walk away and do their work somewhere more sane.
>
> And I still don't see why it's necessary to do this all in one effort. Julian's point was that the only technical reason to combine authentication work with re-specifying HTTP is to make the new authentication scheme MTI. Otherwise, the work can be done separately. Roy has expressed interest in coming up with a new scheme that isn't necessarily targeted at browsers -- which is great, but I don't see why it has to be part of this WG.
>
> We potentially have a LOT of work on our plate, and that work is channeling the energy behind a new serialisation of HTTP into something worthy of being called HTTP. Doing research and development on Web security is a very different kind of work, and the two don't mix well, IME.
>
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 16:45:30 2012
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 123E621F84E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 16:45:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.73
X-Spam-Level: 
X-Spam-Status: No, score=-8.73 tagged_above=-999 required=5 tests=[AWL=1.739, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_RMML_Stock10=0.13]
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 Xcc21Z2VIaHD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 16:45:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1DDBD21F84D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 16:45:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1SEk-0007Ms-9i for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 00:45:14 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S1SEY-0005xd-QV for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 00:45:03 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S1SEW-000627-Ci for ietf-http-wg@w3.org; Sun, 26 Feb 2012 00:45:01 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.33.226]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B81B622E1F4; Sat, 25 Feb 2012 19:44:32 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F497F6D.8050503@cs.tcd.ie>
Date: Sun, 26 Feb 2012 11:44:29 +1100
Cc: IETF-Discussion <ietf@ietf.org>, Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S1SEW-000627-Ci e0e609b860540235969d5c705e7b6264
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12559
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>
Resent-Message-Id: <E1S1SEk-0007Ms-9i@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 00:45:14 +0000

On 26/02/2012, at 11:40 AM, Stephen Farrell wrote:

>=20
> Mark,
>=20
> I was going to respond blow-by-blow but there's not much
> point in that, other than to say that your mail seems to
> me a tad over the top.

Sorry if you think so. I'm VERY sensitive to the risks that we're =
undertaking here, and I want to be crystal-clear about what we're going =
to do. As I saw it, your path forward was a risky one.


> (Maybe you misinterpreted me describing what might happen
> as some kind of threat to try slow people down or something,
> I don't know. I do know that I don't do that kind of thing
> and if I tried I probably wouldn't be very good at it anyway;-)

It may not have been your intent; my concern was that the effect would =
be the same.


> Anyway, I think we should focus on a way forward that attempts
> progress on what we appear to agree is the desirable outcome:
>=20
> > They are VERY VERY VERY interested in security, as are many other
> > people in the broader community. If the IETF were to come up with a
> > viable proposal that solves their problems, they would beat down =
this
> > organisation's doors.
>=20
> I proposed a plan that I think might allow us to make progress
> on that. I believe we could.

OK, great.=20

Could you please explain why you think tying this effort to HTTP/2.0 is =
necessary to achieve that? To me that's the critical bit, and I still =
haven't seen the reasoning (perhaps I missed it).

Thanks,


>=20
> S
>=20
>=20
>=20
> On 02/25/2012 11:25 PM, Mark Nottingham wrote:
>>=20
>> On 26/02/2012, at 1:13 AM, Stephen Farrell wrote:
>>>>=20
>>>> If we just need a new authentication scheme, nothing stops people =
from
>>>> working on that right now.
>>>=20
>>> I don't agree with you there - the perceived low probability that
>>> something will be deployed is a real disincentive here. We have had
>>> people wanting to do work on this and have been told there's no =
point
>>> because it won't get adopted.
>>=20
>> Let's speak plainly here.
>>=20
>> It's not hard for new things to be deployed -- there are lots of new =
things being deployed on the Web right now.
>>=20
>> What IS hard is forcing browser vendors to deploy something that they =
don't think is going to work, or that they're not terribly interested =
in.
>>=20
>> They are VERY VERY VERY interested in security, as are many other =
people in the broader community. If the IETF were to come up with a =
viable proposal that solves their problems, they would beat down this =
organisation's doors.
>>=20
>> The IETF may have some smart people, and they may have ideas about =
Web security, but that doesn't necessarily make them into workable =
solutions for the various stakeholders. The discussion about Web =
security is much broader, involving not only the browser vendors, but =
also organisations like the W3C, IIW, etc.
>>=20
>> Using HTTP/2.0 as a mechanism to shortcut all of this and force what =
people in the IETF think is a good solution down implementers' throats =
is going to lead to a very predictable and messy fail.
>>=20
>>=20
>>> With this plan if httpbis in fact select zero new proposals
>>> that would represent a failure for all concerned. The "zero
>>> or more" term is absolutely not intended to provide a way to
>>> just punt on the question.
>>=20
>> This makes me very uncomfortable. How hard and long do we have to try =
before we convince you that we're not punting?
>>=20
>>=20
>>> Such a failure at the point where httpbis was re-chartering
>>> to work on a HTTP/2.0 selection with no better security than
>>> we now have is probably better evaluated as a whole - I
>>> guess the question for the IETF/IESG at that point would
>>> be whether the Internet would be better with or without
>>> such a beast, or better waiting a while until the security
>>> thing did get fixed.
>>=20
>>=20
>> If we "wait a while until the security thing [does] get fixed", I'll =
gladly bet any amount of money you care to name that SPDY will gain =
market traction so quickly as to make any HTTP/2.0 effort in IETF =
completely backwards-looking. Refer to the debacle with Cookies for one =
such example.
>>=20
>> So, again, I'm fine with allowing new authentication schemes to be =
proposed, in the off chance that some genius will suddenly propose =
something that meets all of the myriad requirements (that still aren't =
well-defined) and gets consensus and buy-in from implementers.
>>=20
>> However, requiring us to output such a beast and gating HTTP/2.0 on =
it is effectively asking us to spin our wheels for n years. And the =
folks working on SPDY will - quite rightly - walk away and do their work =
somewhere more sane.
>>=20
>> And I still don't see why it's necessary to do this all in one =
effort. Julian's point was that the only technical reason to combine =
authentication work with re-specifying HTTP is to make the new =
authentication scheme MTI. Otherwise, the work can be done separately. =
Roy has expressed interest in coming up with a new scheme that isn't =
necessarily targeted at browsers -- which is great, but I don't see why =
it has to be part of this WG.
>>=20
>> We potentially have a LOT of work on our plate, and that work is =
channeling the energy behind a new serialisation of HTTP into something =
worthy of being called HTTP. Doing research and development on Web =
security is a very different kind of work, and the two don't mix well, =
IME.
>>=20
>>=20
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20

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





From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 17:33:47 2012
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 F0FA221F85F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 17:33:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.802
X-Spam-Level: 
X-Spam-Status: No, score=-7.802 tagged_above=-999 required=5 tests=[AWL=2.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_RMML_Stock10=0.13]
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 tofZ5vNaEnv0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 17:33:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DE52021F847C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 17:33:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1Syp-0005sB-Aw for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 01:32:51 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1Syc-0005qH-Vd for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 01:32:38 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1Sya-0008D8-Cr for ietf-http-wg@w3.org; Sun, 26 Feb 2012 01:32:37 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 9A738171C9E; Sun, 26 Feb 2012 01:32:15 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330219934; bh=SCmLm2tZHPA8ld ltH7RNqDn+DLAc2JrSKLAJI6MsmRA=; b=CoIlXTFxI4zirY2wsND3N5YPIqDp70 6ShKvvxN3I5F/rZ1xYQwyFHf7Bs4M1sF36qJ2h2VDNrQ8j467DMnqaQZU3xSVZhe DMP7WMSoBg9eD0UcQTyuz+Z5ea5yyCtMIScwvrcAQ8CTXCZGR/K3rOnBGm/YF3EA 9g+vUualbx4EIGnjFKDzFKjcO4K7XxOr167zCEJ62J/UsNlXuJZN5Ql/5mIByd8X KM4lQFjLFQhy0sr6REhliB+whGanFBIPM0ZAcoCVSEdmAG7DwojtiGi1qdkal0w/ AQNq+ISz5C2Hd15Os0ptEqfICgXpEXbzBfDmfL3JLW7AmgGzSxltvrnA==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id qmUqBddEuH5B; Sun, 26 Feb 2012 01:32:14 +0000 (GMT)
Received: from [10.87.48.3] (unknown [86.46.27.138]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id BEAA5171C2F; Sun, 26 Feb 2012 01:32:12 +0000 (GMT)
Message-ID: <4F498B9B.1030707@cs.tcd.ie>
Date: Sun, 26 Feb 2012 01:32:11 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: IETF-Discussion <ietf@ietf.org>,  Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>,  Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>,  ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>
In-Reply-To: <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1Sya-0008D8-Cr 491d0c7f939ff0d8c401435ad3861ba9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F498B9B.1030707@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12560
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>
Resent-Message-Id: <E1S1Syp-0005sB-Aw@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 01:32:51 +0000

On 02/26/2012 12:44 AM, Mark Nottingham wrote:
>
> On 26/02/2012, at 11:40 AM, Stephen Farrell wrote:
>
>>
>> Mark,
>>
>> I was going to respond blow-by-blow but there's not much
>> point in that, other than to say that your mail seems to
>> me a tad over the top.
>
> Sorry if you think so. I'm VERY sensitive to the risks that we're undertaking here,

Fair 'nuff. I consider my self fairly insensitive generally
which of course means I don't care what others think about
that:-)

 > and I want to be crystal-clear about what we're going to do.
 > As I saw it, your path forward was a risky one.

I don't get that. I'd be interested in why it appears that way
to you and if there are ways to reduce risk but still try
make progress on security stuff.

>> (Maybe you misinterpreted me describing what might happen
>> as some kind of threat to try slow people down or something,
>> I don't know. I do know that I don't do that kind of thing
>> and if I tried I probably wouldn't be very good at it anyway;-)
>
> It may not have been your intent; my concern was that the effect would be the same.

Don't get that either. I think I just pointed out the obvious
based on the proposed charter - at the point of the next proposed
re-charter, there'll be IETF/IESG review.

>> Anyway, I think we should focus on a way forward that attempts
>> progress on what we appear to agree is the desirable outcome:
>>
>>> They are VERY VERY VERY interested in security, as are many other
>>> people in the broader community. If the IETF were to come up with a
>>> viable proposal that solves their problems, they would beat down this
>>> organisation's doors.
>>
>> I proposed a plan that I think might allow us to make progress
>> on that. I believe we could.
>
> OK, great.
>
> Could you please explain why you think tying this effort to HTTP/2.0 is necessary to achieve that? To me that's the critical bit, and I still haven't seen the reasoning (perhaps I missed it).

That's a fair question that doesn't have a good and quick
answer, and some of the argument applies to the httpbis wg
and not to HTTP/2.0 per se.

Caveats: this is probably something that needs more bandwidth
than mail; most of the points below were already raised by
others on this thread (though I didn't go back through all
the mail yet) and this is not in any particular ordering.

- We've not really improved this in over a decade. Its time.
- The community's appreciation of better security has
   changed in that time as well so maybe its more tractable
   now and we've more experience of real attacks.
- Improving security after the fact is not a good plan.
- Thinking a separate security WG could provide an answer
   that'd be adopted seems less likely to work to some. (It
   does seem more likely to work for some others admittedly.)
- A backwards-incompatible change (if needed) could be
   done much more easily when changing HTTP. Its at least
   time to explore the area with that possibility in mind..
- A scheme less susceptible to phishing that got deployed
   could be very valuable. Its not ridiculous to think that
   might require breaking backwards compatibility somehow.

So, a bunch of things. Maybe none individually compelling.
But arguably taken together sufficiently convincing that
not attempting again to do something here would really be
inexcusable.

And yes, I do recognise that attempting to solve this does
add some risk. Most good things do.

S.


> Thanks,
>
>
>>
>> S
>>
>>
>>
>> On 02/25/2012 11:25 PM, Mark Nottingham wrote:
>>>
>>> On 26/02/2012, at 1:13 AM, Stephen Farrell wrote:
>>>>>
>>>>> If we just need a new authentication scheme, nothing stops people from
>>>>> working on that right now.
>>>>
>>>> I don't agree with you there - the perceived low probability that
>>>> something will be deployed is a real disincentive here. We have had
>>>> people wanting to do work on this and have been told there's no point
>>>> because it won't get adopted.
>>>
>>> Let's speak plainly here.
>>>
>>> It's not hard for new things to be deployed -- there are lots of new things being deployed on the Web right now.
>>>
>>> What IS hard is forcing browser vendors to deploy something that they don't think is going to work, or that they're not terribly interested in.
>>>
>>> They are VERY VERY VERY interested in security, as are many other people in the broader community. If the IETF were to come up with a viable proposal that solves their problems, they would beat down this organisation's doors.
>>>
>>> The IETF may have some smart people, and they may have ideas about Web security, but that doesn't necessarily make them into workable solutions for the various stakeholders. The discussion about Web security is much broader, involving not only the browser vendors, but also organisations like the W3C, IIW, etc.
>>>
>>> Using HTTP/2.0 as a mechanism to shortcut all of this and force what people in the IETF think is a good solution down implementers' throats is going to lead to a very predictable and messy fail.
>>>
>>>
>>>> With this plan if httpbis in fact select zero new proposals
>>>> that would represent a failure for all concerned. The "zero
>>>> or more" term is absolutely not intended to provide a way to
>>>> just punt on the question.
>>>
>>> This makes me very uncomfortable. How hard and long do we have to try before we convince you that we're not punting?
>>>
>>>
>>>> Such a failure at the point where httpbis was re-chartering
>>>> to work on a HTTP/2.0 selection with no better security than
>>>> we now have is probably better evaluated as a whole - I
>>>> guess the question for the IETF/IESG at that point would
>>>> be whether the Internet would be better with or without
>>>> such a beast, or better waiting a while until the security
>>>> thing did get fixed.
>>>
>>>
>>> If we "wait a while until the security thing [does] get fixed", I'll gladly bet any amount of money you care to name that SPDY will gain market traction so quickly as to make any HTTP/2.0 effort in IETF completely backwards-looking. Refer to the debacle with Cookies for one such example.
>>>
>>> So, again, I'm fine with allowing new authentication schemes to be proposed, in the off chance that some genius will suddenly propose something that meets all of the myriad requirements (that still aren't well-defined) and gets consensus and buy-in from implementers.
>>>
>>> However, requiring us to output such a beast and gating HTTP/2.0 on it is effectively asking us to spin our wheels for n years. And the folks working on SPDY will - quite rightly - walk away and do their work somewhere more sane.
>>>
>>> And I still don't see why it's necessary to do this all in one effort. Julian's point was that the only technical reason to combine authentication work with re-specifying HTTP is to make the new authentication scheme MTI. Otherwise, the work can be done separately. Roy has expressed interest in coming up with a new scheme that isn't necessarily targeted at browsers -- which is great, but I don't see why it has to be part of this WG.
>>>
>>> We potentially have a LOT of work on our plate, and that work is channeling the energy behind a new serialisation of HTTP into something worthy of being called HTTP. Doing research and development on Web security is a very different kind of work, and the two don't mix well, IME.
>>>
>>>
>>>
>>> --
>>> Mark Nottingham   http://www.mnot.net/
>>>
>>>
>>>
>>>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 17:55:44 2012
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 AD2A721F8555 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 17:55:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.79
X-Spam-Level: 
X-Spam-Status: No, score=-8.79 tagged_above=-999 required=5 tests=[AWL=1.809, 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 Kups-4JznzeX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 17:55:43 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 369D021F854E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 17:55:43 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1TK4-0000Lg-Dl for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 01:54:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S1TJs-0000KZ-Np for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 01:54:36 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S1TJq-00081M-M8 for ietf-http-wg@w3.org; Sun, 26 Feb 2012 01:54:35 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.33.226]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D6F1722E253; Sat, 25 Feb 2012 20:54:06 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F498B9B.1030707@cs.tcd.ie>
Date: Sun, 26 Feb 2012 12:54:02 +1100
Cc: IETF-Discussion <ietf@ietf.org>, Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D14BBB56-C76F-438B-8509-2333923FE19B@mnot.net>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net> <4F498B9B.1030707@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S1TJq-00081M-M8 6b8e845119b12f9a8208f7146b2aa5d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/D14BBB56-C76F-438B-8509-2333923FE19B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12561
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>
Resent-Message-Id: <E1S1TK4-0000Lg-Dl@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 01:54:48 +0000

On 26/02/2012, at 12:32 PM, Stephen Farrell wrote:

>> Could you please explain why you think tying this effort to HTTP/2.0 =
is necessary to achieve that? To me that's the critical bit, and I still =
haven't seen the reasoning (perhaps I missed it).
>=20
> That's a fair question that doesn't have a good and quick
> answer, and some of the argument applies to the httpbis wg
> and not to HTTP/2.0 per se.

Aha. If we can decouple the auth work from the HTTP/2.0 deliverable, I'm =
less concerned -- although we're going to be quite busy.=20

For *this* re-charter, can we only solicit proposals for auth, and make =
the decision about what/if we'll go ahead in the *next* re-charter?=20

I.e., I'd like to wait before we decide on both pieces (the wire =
protocol and auth) before making commitments, or even plans. Part of the =
selection process for the wire protocol is determining implementer =
interest, and gathering the same information about the auth proposals =
will shed a lot more light on this conversation, I think.


> Caveats: this is probably something that needs more bandwidth
> than mail; most of the points below were already raised by
> others on this thread (though I didn't go back through all
> the mail yet) and this is not in any particular ordering.

That's OK - we'll be in Paris soon.

> - We've not really improved this in over a decade. Its time.

Don't disagree.

> - The community's appreciation of better security has
>  changed in that time as well so maybe its more tractable
>  now and we've more experience of real attacks.
> - Improving security after the fact is not a good plan.

Of course.

> - Thinking a separate security WG could provide an answer
>  that'd be adopted seems less likely to work to some. (It
>  does seem more likely to work for some others admittedly.)

Yes, there are arguments on both sides.

> - A backwards-incompatible change (if needed) could be
>  done much more easily when changing HTTP. Its at least
>  time to explore the area with that possibility in mind..

Hmm. One of the core ideas we're moving forward with is that 2.0 is =
semantically compatible with 1.x, even if it isn't syntactically.=20

> - A scheme less susceptible to phishing that got deployed
>  could be very valuable. Its not ridiculous to think that
>  might require breaking backwards compatibility somehow.

Agreed, but I think that's much more about the browser UI than about the =
wire protocol.

> So, a bunch of things. Maybe none individually compelling.
> But arguably taken together sufficiently convincing that
> not attempting again to do something here would really be
> inexcusable.
>=20
> And yes, I do recognise that attempting to solve this does
> add some risk. Most good things do.

Absolutely.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 17:55:44 2012
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 C0E0421F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 17:55:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.471
X-Spam-Level: 
X-Spam-Status: No, score=-7.471 tagged_above=-999 required=5 tests=[AWL=3.128, 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 pvt-ZDeiwXT1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 17:55:44 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 27A4921F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 17:55:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1TKD-0000MG-5b for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 01:54:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S1TJr-0000KJ-RB for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 01:54:35 +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 1S1TJo-00081I-SX for ietf-http-wg@w3.org; Sun, 26 Feb 2012 01:54:34 +0000
Received: From [192.168.1.10] (unverified [125.237.241.8]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3386)) with SMTP id <0018883943@smtp.qbik.com>; Sun, 26 Feb 2012 14:54:07 +1300
Message-ID: <4F4990B9.7040807@qbik.com>
Date: Sun, 26 Feb 2012 14:54:01 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120216 Thunderbird/11.0
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: Stephen Farrell <stephen.farrell@cs.tcd.ie>,  Mark Nottingham <mnot@mnot.net>, IETF-Discussion <ietf@ietf.org>, "Roy T. Fielding" <fielding@gbiv.com>,  Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>,  ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de>
In-Reply-To: <4F48EA4B.6050500@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1TJo-00081I-SX 3e5d7b8c687eb25bf4d5e47b033c9b9b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4990B9.7040807@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12562
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>
Resent-Message-Id: <E1S1TKD-0000MG-5b@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 01:54:57 +0000

I wonder if it would be helpful for people to outline what they expect 
are the issues to be solved by doing more work on an HTTP auth mechanism.

I get the feeling that some think the scope would encompass providing 
auth support for web applications, whereas others are mainly concerned 
with the transport level auth.

IMO http auth is not particularly suited to solve the issues required 
for web site authors, for the simple issue of administrative boundaries 
and realms of accounts.

For example the web server that sits on an OS that has 1 user database, 
yet hosts 10 web sites each of which require their own independent user 
database, and require the ability to create and destroy accounts, and 
these accounts NOT be OS ones (i.e. not grant any access to the OS).  
Sure these issues could be engineered around, but it would add to the 
current scope (for change) every web application that currently manages 
accounts (a great deal of them).

If we're just talking about transport auth, then what's wrong with 
something like kerberos.  As for server logging a client out, the auth 
mechanism would need a token that can be revoked by the server, since 
one cannot rely on client co-operation in such a matter.  A kerberos 
ticket seems to fit this bill.  then we'd just need a mechanism for a 
client to request revokation (logout).  It is also AFAIK supported on 
all server platforms, unlike any auth mechanism that requires access to 
plaintext passwords at the server end - these are not always available.

Adrien


On 26/02/2012 3:03 a.m., Julian Reschke wrote:
> On 2012-02-25 14:46, Stephen Farrell wrote:
>> ...
>> Yeah that's a tricky one. While one might like to
>> see "one or more" in both places that might not be
>> practical.
>>
>> In the proposal above the goal is that httpbis pick one
>> or more but recognising the reality that we might not get
>> a new proposal that httpbis will accept and that folks
>> will really implement and deploy.
>>
>> So:
>> Goal = one or more
>> Reluctant recognition of reality = zero or more
>>
>> With this plan if httpbis in fact select zero new proposals
>> that would represent a failure for all concerned. The "zero
>> or more" term is absolutely not intended to provide a way to
>> just punt on the question.
>>
>> Such a failure at the point where httpbis was re-chartering
>> to work on a HTTP/2.0 selection with no better security than
>> we now have is probably better evaluated as a whole - I
>> guess the question for the IETF/IESG at that point would
>> be whether the Internet would be better with or without
>> such a beast, or better waiting a while until the security
>> thing did get fixed.
>>
>> I can imagine an argument might ensue about that;-)
>> ...
>
> If we just need a new authentication scheme, nothing stops people from 
> working on that right now. I don't see how that should affect HTTP/2.0.
>
> If the "right" way to do security needs changes in the HTTP/1.1 
> authentication framework, then we should fix/augment/tune HTTP/1.1. 
> It's not going to go away anytime soon.
>
> Best regards, Julian
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com



From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 22:21:15 2012
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 64AE021F8555 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 22:21:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.926
X-Spam-Level: 
X-Spam-Status: No, score=-9.926 tagged_above=-999 required=5 tests=[AWL=0.673, 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 oGb3eQO3shhl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 22:21:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 80F1221F8543 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 22:21:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1XS7-00037W-6F for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 06:19:23 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S1XRr-00036e-50 for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 06:19:07 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S1XRo-0004jW-H3 for ietf-http-wg@w3.org; Sun, 26 Feb 2012 06:19:05 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1Q6E0ro013539; Sun, 26 Feb 2012 07:14:00 +0100
Date: Sun, 26 Feb 2012 07:14:00 +0100
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120226061400.GF8633@1wt.eu>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <FBC37226-CDB3-4669-8E39-E9CE8A1681C1@vpnc.org> <20120224072503.GH1306@1wt.eu> <4F47779B.5030004@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F47779B.5030004@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1XRo-0004jW-H3 49de7d0ef03c960dfba6b578c28d43c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120226061400.GF8633@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12563
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>
Resent-Message-Id: <E1S1XS7-00037W-6F@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 06:19:23 +0000

Hi Amos,

On Sat, Feb 25, 2012 at 12:42:19AM +1300, Amos Jeffries wrote:
> On 24/02/2012 8:25 p.m., Willy Tarreau wrote:
> >On Thu, Feb 23, 2012 at 05:23:45PM -0800, Paul Hoffman wrote:
> >>If only it were that simple. If the answer is "design an HTTP auth 
> >>mechanism
> >>that is better than Digest", then this is a tractable goal. If it is "get
> >>IETF consensus on that auth mechanism", then it isn't. The latter has 
> >>proven
> >>to be impossible because people say (possibly rightly) that web developers
> >>don't want auth mechanisms that use the browser chrome: they want auth in
> >>HTML, and anything that relies on the browser chrome is insufficient.
> >Maybe but you still need HTTP-based auth for proxies anyway. Also, I
> >partially disagree with your point, seeing the number of applications
> >in enterprise which rely on the hated NTLM auth which is also HTTP-based ;
> >they're using it because it's transparent to the user, and enterprise
> >customers do ask for such transparent auth schemes.
> >
> >There would also be much less need for cookies if auth was carried by the
> >browser, and this would let the user log off. So I think there's a need
> >for this.
> 
> Keeping the focus for charter firmly on the transport area and away from 
> the "web"/resource/content area allows us to split the two auth models 
> HTTP currently supports (www-auth and proxy-auth) along those same lines.
> 
> www-auth is end-to-end and only in that single-hop scenario can it be 
> considered close to a transport authentication. For all other hop counts 
> it is an effective *message* authentication, with no bearing on the 
> transport. The proxy-auth layer is the only one which remains strictly 
> transport-related, since it explicitly stops and re-starts at every HTTP 
> hop.
> 
> So IMHO, we can (indeed must) acknowledge that HTTP transport uses a 
> relay hop model. Charter security as a per-hop thing in HTTP. Any 
> proposals can define something to adapt/extend/replace/erase proxy-auth 
> into a real transport-auth. Specific to the two communicating hops. With 
> the same semantics and viability whether they be client-proxy or 
> client-server hops.
>  Bonus: per-hop allows us to ignore 2.0->1.x->2.0 compatibility. This 
> auth requirement only applies on 2.0->2.0+ hops.
> 
> www-auth can be left as the message-oriented authentication it is today 
> for the "web auth" stuff. Either pushed off to somebody else (again) or 
> to ourselves some years in the future when messaging semantics are up 
> for change.
> 
> Looking a little forward to potential proposals. We have TLS, Kerberos, 
> PGP, maybe OAuth and others all available right now (meeting that "over 
> current infrastructure" charter requirement) as schemes to define 
> proposals around. Being a "new" transport-authentication mechanism all 
> we have to do is ensure that implementation is reasonably easy and any 
> management tools to generate tokens or whatever are readily/easily 
> available to even clueless junior admin.

I get your point. I totally agree on the hop-by-hop view. It's what is
built today despite not having been designed this way, and a number of
current issues comes from the fact that we try to insert intermediaries
by force and create hops where they're not expected (eg: setting a LB
between an NTLM client-based and server is a real pain).

My goal is not to define new auth schemes ; it's only to ensure that
what we define does not require awful hacks when auth needs to be added.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 22:31:36 2012
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 3290821F8642 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 22:31:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.739
X-Spam-Level: 
X-Spam-Status: No, score=-9.739 tagged_above=-999 required=5 tests=[AWL=0.560, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_WEOFFER=0.3]
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 C8r2s0gF+w7p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 22:31:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6355C21F863F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 22:31:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1XcJ-00043a-5z for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 06:29:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S1Xbw-00042c-4v for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 06:29:32 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S1Xba-00050j-Oq for ietf-http-wg@w3.org; Sun, 26 Feb 2012 06:29:20 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1Q6SIYD013568; Sun, 26 Feb 2012 07:28:18 +0100
Date: Sun, 26 Feb 2012 07:28:18 +0100
From: Willy Tarreau <w@1wt.eu>
To: Adrien de Croy <adrien@qbik.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, Mark Nottingham <mnot@mnot.net>, IETF-Discussion <ietf@ietf.org>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Message-ID: <20120226062818.GG8633@1wt.eu>
References: <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F4990B9.7040807@qbik.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F4990B9.7040807@qbik.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1Xba-00050j-Oq 85552c1df62e936d31384053b653c418
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120226062818.GG8633@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12564
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>
Resent-Message-Id: <E1S1XcJ-00043a-5z@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 06:29:55 +0000

Hi Adrien,

On Sun, Feb 26, 2012 at 02:54:01PM +1300, Adrien de Croy wrote:
> 
> I wonder if it would be helpful for people to outline what they expect 
> are the issues to be solved by doing more work on an HTTP auth mechanism.
> 
> I get the feeling that some think the scope would encompass providing 
> auth support for web applications, whereas others are mainly concerned 
> with the transport level auth.

I am personally concerned with the risk that new auth schemes continue
to mix messages and transport. I don't think we need to define these new
schemes, we just need to ensure the new protocol offers provision for
doing the things right. I'd like to ensure we never get a new NTLM-like
design error which forces every implementation to break the HTTP model
to try to be compatible.

Also, (that's not directly related to auth) it would be nice if we could
have a random session ID in messages that browsers would send to help the
whole intermediary chain select the appropriate server. A simple hash on
this session ID would make load balancing much easier and much more reliable
than any other algorithm right now and would definitely help when challenge
based auth schemes are needed.

(...)
> If we're just talking about transport auth, then what's wrong with 
> something like kerberos.  As for server logging a client out, the auth 
> mechanism would need a token that can be revoked by the server, since 
> one cannot rely on client co-operation in such a matter.  A kerberos 
> ticket seems to fit this bill.  then we'd just need a mechanism for a 
> client to request revokation (logout).  It is also AFAIK supported on 
> all server platforms, unlike any auth mechanism that requires access to 
> plaintext passwords at the server end - these are not always available.

It is comparable to what is already done with cookies in most applications
(ie I have nothing against this). We just have to keep in mind that auth
methods will change with time. Many applications right now expect two-factor
auth and/or some complex UI adaptations to protect against malware. That's
why I think that our work on supporting auth should mainly ensure we offer
the solid blocks for building new auth schemes and don't necessarily need
to define these schemes ourselves.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sat Feb 25 22:45:06 2012
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 240B421F852C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 22:45:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.703
X-Spam-Level: 
X-Spam-Status: No, score=-9.703 tagged_above=-999 required=5 tests=[AWL=0.596, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 d2aWNsc-J+ds for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Feb 2012 22:45:05 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DAE821F851D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Feb 2012 22:45:05 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1XqX-0006Og-Kg for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 06:44:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S1Xq8-0006Nc-5x for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 06:44:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S1Xq5-0005I4-Us for ietf-http-wg@w3.org; Sun, 26 Feb 2012 06:44:11 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1Q6eP7e013597; Sun, 26 Feb 2012 07:40:25 +0100
Date: Sun, 26 Feb 2012 07:40:25 +0100
From: Willy Tarreau <w@1wt.eu>
To: Patrik =?iso-8859-1?B?RuRsdHN0cvZt?= <patrik@frobbit.se>
Cc: John C Klensin <john-ietf@jck.com>, Patrik =?iso-8859-1?B?RuRsdHN0cvZt?= <paf@frobbit.se>, Andrew Sullivan <ajs@anvilwalrusden.com>, "mnot@mnot.net" <mnot@mnot.net>, IETF Discussion <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20120226064025.GH8633@1wt.eu>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info> <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se> <DC8A7C4316C6F97607CFBCC6@PST.JCK.COM> <5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1Xq5-0005I4-Us 78ee8c59e90f932b54623ec47b4ed55f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120226064025.GH8633@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12565
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>
Resent-Message-Id: <E1S1XqX-0006Og-Kg@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 06:44:37 +0000

On Fri, Feb 24, 2012 at 05:57:31PM +0100, Patrik Fältström wrote:
> I am asking more generally why specifically this DNS issue is so stuck,
> because I think that is unfair. We upgrade other protocols...

Because in HTTP, anybody can be anywhere. You can have client-side proxies,
server-side gateways, load balancers, etc... everyone in this chain may or
may not resolve, it's only a matter of configuration and architecture choice.
There are plenty of places where clients won't access public resolvers at all
and rely on their proxies for this. So you can't make use of DNS to improve
these users' experience.

Also, DNS is SLLLLOOOOWWWWW. It's fast enough to send a mail. But for HTTP
it adds too much latency. Some people in the mobile world would like to be
able to configure an explicit proxy on their smartphones in order to avoid
a very expensive round trip before fetching an object : at 20 host names
on a web page, 300 ms round trip means 6 seconds are lost to resolve these
objects if they can't be totally parallelized.

DNS suggestion is something going back and forth regularly. I think that
people who try to push it hard only see the very simple case where users
have a direct low-latency internet connection. The reality is much much
different. This well reflected by the fact that in the end, after many
proposals, it has still not been adopted !

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sun Feb 26 06:56:35 2012
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 D391421F84C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 06:56:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.137
X-Spam-Level: 
X-Spam-Status: No, score=-8.137 tagged_above=-999 required=5 tests=[AWL=2.462, 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 mDeFxZEWJWgj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 06:56:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 44AFA21F84A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 26 Feb 2012 06:56:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1fVE-0006XA-Rd for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 14:55:08 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S1fV2-0006UG-81 for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 14:54:56 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S1fUz-0006u2-MG for ietf-http-wg@w3.org; Sun, 26 Feb 2012 14:54:55 +0000
Received: (qmail invoked by alias); 26 Feb 2012 14:54:27 -0000
Received: from p5DCC23AE.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.35.174] by mail.gmx.net (mp002) with SMTP; 26 Feb 2012 15:54:27 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+7RW54HoK7vUShwaKaW/wanOfBwgdk2Uvo6WkaCs QxG2Rxcjdx4Wz+
Message-ID: <4F4A4792.1010108@gmx.de>
Date: Sun, 26 Feb 2012 15:54:10 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
CC: Mark Nottingham <mnot@mnot.net>, The IESG <iesg@ietf.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, IETF-Discussion Discussion <ietf@ietf.org>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>	<4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>	<4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de>	<4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>	<4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net> <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
In-Reply-To: <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S1fUz-0006u2-MG 1e91b92cd9856338599022486a57d6ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4A4792.1010108@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12566
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>
Resent-Message-Id: <E1S1fVE-0006XA-Rd@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 14:55:08 +0000

On 2012-02-26 10:44, Yoav Nir wrote:
> ...
>> Could you please explain why you think tying this effort to HTTP/2.0 is necessary to achieve that? To me that's the critical bit, and I still haven't seen the reasoning (perhaps I missed it).
>
> I think I have *an* answer to this, though probably not *the* answer.
>
> There's two stages to adoption - implementation and roll-out. Obviously you can't roll out "new authentication" before the browsers and servers implement it. For my website, I wouldn't roll out new auth if only one or two of the browsers out there implemented it. Even if all the big ones (IE, Firefox, Chrome, Opera) did, I would still have to provide a backwards compatibility authentication scheme to support older browsers. This would lead to both inconsistent UI and to ugly javascript that detects the browser version, and makes the roll-out slower.

You can send multiple challenges in one response.

We could also define a way to make HTML-form-based login an HTTP scheme 
(see <http://tools.ietf.org/id/draft-broyer-http-cookie-auth-00.txt>) to 
integrate better what people use today.

> If any HTTP/2.0 browser is bound to have "new authentication" it makes things much easier.
>
> This could be circumvented by adding request headers that advertise capabilities, but I don't think we like those much.

I don't believe we need those. If we do, we should retrofit this into 
1.1 as well.

Anyway, I see lots of theoretical discussion about process. What's 
needed is people doing the actual work, both spec-wise and 
implementation-wise. That's the critical problem.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Feb 26 13:52:24 2012
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 6545721F8578 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 13:52:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.147
X-Spam-Level: 
X-Spam-Status: No, score=-8.147 tagged_above=-999 required=5 tests=[AWL=2.452, 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 TqmKJOmIqXCP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 13:52:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8F8FA21F8571 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 26 Feb 2012 13:52:23 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1lyz-0000Wk-C3 for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Feb 2012 21:50:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1lyh-0000R1-HG for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 21:49:59 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1S1lyf-0004dB-64 for ietf-http-wg@w3.org; Sun, 26 Feb 2012 21:49:58 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id D1A39171C7D; Sun, 26 Feb 2012 21:49:34 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1330292974; bh=cSHBSFSY5I4jr/ zvBxBuQAriRdyYvLhUKveb7onUePo=; b=v07h7lTgNHLN6PLfvIV3p9WxqZDykJ bJAbNT9nhiOfl8TgEwhKPFqjJChXGTag2KFB4NdUGQu8wts66mcqQ6ZW2538XjvA wLZuAuvfmbbPnKYzxxX6zIfsDbIkiBoJDZHEwkgRtqtTPoX+NcYoUOHeCvffL9jr dmevr0t65XZiz32Gw85ZvqIxVyglNtobUFhVIyueL6MDYADkCViHvgZmIQU5rywx 83EPlpiaZzbEHuo+DfLAOCB7hVawujuqC4wIH9AGeiyut/ti0AWy8aqcLDV39J+3 5qagmpgpJWuYBrwOPmCbwz0kqlPdhq8j5rlSdp/6k9W6RSLY1L6p3/4A==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id CEdfWukYwCsk; Sun, 26 Feb 2012 21:49:34 +0000 (GMT)
Received: from [10.87.48.3] (unknown [86.46.27.138]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id CA575171BFF; Sun, 26 Feb 2012 21:49:31 +0000 (GMT)
Message-ID: <4F4AA8EA.5020608@cs.tcd.ie>
Date: Sun, 26 Feb 2012 21:49:30 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: IETF-Discussion <ietf@ietf.org>,  Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>,  Paul Hoffman <paul.hoffman@vpnc.org>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>,  ietf-http-wg@w3.org
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net> <4F498B9B.1030707@cs.tcd.ie> <D14BBB56-C76F-438B-8509-2333923FE19B@mnot.net>
In-Reply-To: <D14BBB56-C76F-438B-8509-2333923FE19B@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1lyf-0004dB-64 59855aa3e6d845f6ce5181a9d27df6ed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4AA8EA.5020608@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12567
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>
Resent-Message-Id: <E1S1lyz-0000Wk-C3@frink.w3.org>
Resent-Date: Sun, 26 Feb 2012 21:50:17 +0000

On 02/26/2012 01:54 AM, Mark Nottingham wrote:
>
> On 26/02/2012, at 12:32 PM, Stephen Farrell wrote:
>
>>> Could you please explain why you think tying this effort to HTTP/2.0 is necessary to achieve that? To me that's the critical bit, and I still haven't seen the reasoning (perhaps I missed it).
>>
>> That's a fair question that doesn't have a good and quick
>> answer, and some of the argument applies to the httpbis wg
>> and not to HTTP/2.0 per se.
>
> Aha. If we can decouple the auth work from the HTTP/2.0 deliverable, I'm less concerned -- although we're going to be quite busy.
>
> For *this* re-charter, can we only solicit proposals for auth, and make the decision about what/if we'll go ahead in the *next* re-charter?
>
> I.e., I'd like to wait before we decide on both pieces (the wire protocol and auth) before making commitments, or even plans. Part of the selection process for the wire protocol is determining implementer interest, and gathering the same information about the auth proposals will shed a lot more light on this conversation, I think.

Right, that's pretty close to what I proposed.

Let's see if we hear supportive noises or howls of outrage or silence.

I think I'd suggest to keep the idea of chartering a sec wg to pick up
the pieces that httpbis doesn't want to progress, once that situation 
becomes clear. All going well, that'd result in some experimental RFCs
that could be picked up with little effort should events warrant. But
that doesn't directly impact on httpbis I guess.

S.




>
>> Caveats: this is probably something that needs more bandwidth
>> than mail; most of the points below were already raised by
>> others on this thread (though I didn't go back through all
>> the mail yet) and this is not in any particular ordering.
>
> That's OK - we'll be in Paris soon.
>
>> - We've not really improved this in over a decade. Its time.
>
> Don't disagree.
>
>> - The community's appreciation of better security has
>>   changed in that time as well so maybe its more tractable
>>   now and we've more experience of real attacks.
>> - Improving security after the fact is not a good plan.
>
> Of course.
>
>> - Thinking a separate security WG could provide an answer
>>   that'd be adopted seems less likely to work to some. (It
>>   does seem more likely to work for some others admittedly.)
>
> Yes, there are arguments on both sides.
>
>> - A backwards-incompatible change (if needed) could be
>>   done much more easily when changing HTTP. Its at least
>>   time to explore the area with that possibility in mind..
>
> Hmm. One of the core ideas we're moving forward with is that 2.0 is semantically compatible with 1.x, even if it isn't syntactically.
>
>> - A scheme less susceptible to phishing that got deployed
>>   could be very valuable. Its not ridiculous to think that
>>   might require breaking backwards compatibility somehow.
>
> Agreed, but I think that's much more about the browser UI than about the wire protocol.
>
>> So, a bunch of things. Maybe none individually compelling.
>> But arguably taken together sufficiently convincing that
>> not attempting again to do something here would really be
>> inexcusable.
>>
>> And yes, I do recognise that attempting to solve this does
>> add some risk. Most good things do.
>
> Absolutely.
>
> Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Sun Feb 26 22:50:17 2012
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 918E221F8526 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 22:50:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.66
X-Spam-Level: 
X-Spam-Status: No, score=-7.66 tagged_above=-999 required=5 tests=[AWL=0.639, BAYES_00=-2.599, MANGLED_PILL=2.3, 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 GAJlX6KhyxJC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 22:50:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B058821F851D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 26 Feb 2012 22:50:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1uO5-0005pr-H2 for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 06:48:45 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S1uNj-0005oN-CP for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 06:48:23 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S1uNh-0003fw-4q for ietf-http-wg@w3.org; Mon, 27 Feb 2012 06:48:22 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.24.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0F28B22E253; Mon, 27 Feb 2012 01:47:57 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
Date: Mon, 27 Feb 2012 17:47:54 +1100
Cc: "Julian F. Reschke" <julian.reschke@gmx.de>, Roy Fielding <fielding@gbiv.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0A19E765-068F-4DF1-B63F-752BD6F6B2AF@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <4F219829.4000704@gmx.de> <20120126193619.GA13716@1wt.eu> <4F25E19C.9090700@treenet.co.nz> <F09A9DB5-C189-4383-A227-598F533AA82D@mnot.net> <4F393308.9060402@gmx.de> <8D92280D-2FE5-41AE-941E-4C954EC7981F@mnot.net> <12BA9B45-D273-43E8-B600-A049452709F7@gbiv.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S1uNh-0003fw-4q 8449cd14d047dacc8806f1bb623a4f2d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #341: whitespace in request-lines and status-lines
Archived-At: <http://www.w3.org/mid/0A19E765-068F-4DF1-B63F-752BD6F6B2AF@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12568
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>
Resent-Message-Id: <E1S1uO5-0005pr-H2@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 06:48:45 +0000

OK, I'm marking this one as WONTFIX. Editors, feel free to incorporate =
Roy's pithy "The ABNF defines what is valid to send, not what is robust =
to parse" in p1 1.1 (and elsewhere as appropriate).


On 21/02/2012, at 4:46 PM, Roy T. Fielding wrote:

> On Feb 20, 2012, at 8:31 PM, Mark Nottingham wrote:
>=20
>> OK, but currently we don't talk about multiple spaces (or other =
whitespace) in the top-line anywhere; what's the appropriate vehicle?
>=20
> There is no vehicle needed.  As I said in the ticket, the only =
interoperable behavior
> is to send a single SP. If some implementations choose to receive more =
than one space,
> that's their choice -- it is still not interoperable to send more than =
one space.
> The ABNF defines what is valid to send, not what is robust to parse.  =
I'd rather change
> Apache httpd's parser to forbid extra spaces than make the =
request-line less predictable.
>=20
> ....Roy
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sun Feb 26 22:53:47 2012
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 B501421F8527 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 22:53:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.816
X-Spam-Level: 
X-Spam-Status: No, score=-8.816 tagged_above=-999 required=5 tests=[AWL=1.783, 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 RXzmGX2yV94m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 Feb 2012 22:53:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E901021F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 26 Feb 2012 22:53:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1uSj-0006bJ-Br for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 06:53:33 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S1uSV-0006YJ-Hy for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 06:53:19 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S1uST-0003rX-DU for ietf-http-wg@w3.org; Mon, 27 Feb 2012 06:53:18 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.24.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D41DA22E256 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 01:52:56 -0500 (EST)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1257)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F30B323.6080308@treenet.co.nz>
Date: Mon, 27 Feb 2012 17:52:54 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <803355A9-F742-462D-AABD-5EBC8826A7D4@mnot.net>
References: <20120126155637.GA11227@1wt.eu> <7F83A41A-2E06-4743-969C-E27967A1ACD5@mnot.net> <3DCE72EA-D295-4C1B-B4F2-AC658CAE7A1D@mnot.net> <4F30B323.6080308@treenet.co.nz>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S1uST-0003rX-DU 7f75400db61afd86b8a2a69160ff3a6d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #340: CR CR LF
Archived-At: <http://www.w3.org/mid/803355A9-F742-462D-AABD-5EBC8826A7D4@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12569
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>
Resent-Message-Id: <E1S1uSj-0006bJ-Br@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 06:53:33 +0000

Assigning for -19.


On 07/02/2012, at 4:14 PM, Amos Jeffries wrote:

> On 07/02/2012, at 2:18 PM, Mark Nottingham wrote:
>>>> 3.5. Message Parsing Robustness
>>>>=20
>>>>> Likewise, although the line terminator for the start-line and =
header
>>>>> fields is the sequence CRLF, we recommend that recipients =
recognize a
>>>>> single LF as a line terminator and ignore any CR.
>>>> Does this mean that CR CR CR CR CR CR LF should be interpreted as a =
single
>>>> LF ? It kinds of scares me on the risk of smuggling attacks. I'd =
rather
>>>> suggest :
>>>>=20
>>>>   ... we recommend that recipients recognize a single LF as a line
>>>>   terminator and ignore the optional preceeding CR. Messages =
containing
>>>>   a CR not followed by an LF MUST be rejected.
>>> I've created<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/340>.
> On 7/02/2012 5:20 p.m., Mark Nottingham wrote:
>> My .02 - I'm +1 on everything except the last sentence; read =
literally, it prohibits a CR not followed by a LF *anywhere* in the =
message, and even if that's fixed, it's too prohibitive (the ABNF =
already requires CRLF).
>>=20
>> That makes it:
>>=20
>>>    Likewise, although the line terminator for the start-line and =
header
>>>    fields is the sequence CRLF, we recommend that recipients =
recognize a
>>>    single LF as a line terminator and ignore the preceding CR, if =
present.
>> BTW, I think we're getting to wordsmithing here, does anyone disagree =
with the general sentiment?
>=20
> Yes.
>=20
> IME, the series of *CR LF has already been a smuggling risk for years =
and implementations are already handling it properly (or need =
vulnerability bugs reported immediately). Prohibiting it from being sent =
and instructing that it ought to be erased if found in the =
request/statsu/headers lines should be enough.
>=20
> It would be nice to go to straight LF as line delimiter. But that =
would probably break a lot of things.
>=20
>=20
> FWIW we accept multiple trailing CR before the LF in Squid but 400 any =
attempt to use it elsewhere in the first line. Its acceptance in the =
header area is more complex, being accepted as BWS and in some specific =
field values where encoding or content may need it.
>=20
> AYJ
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 01:38:58 2012
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 7346121F8608 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 01:38:58 -0800 (PST)
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=[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 sZurbmEA5Tnv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 01:38:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B86FE21F8600 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 01:38:57 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x1O-0005r2-En for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:37:30 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1A-0005qH-3F for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:37:16 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x18-00008B-SE for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:37:14 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x19-0002NT-81 for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:37:15 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S1afF-0004cX-HR for ylafon@jay.w3.org; Sun, 26 Feb 2012 04:45:09 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S1afE-0002ci-VH for ylafon@w3.org; Sun, 26 Feb 2012 09:45:08 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S1afF-0001jd-Vt for ylafon@w3.org; Sun, 26 Feb 2012 09:45:10 +0000
X-From_: ynir@checkpoint.com Sun Feb 26 09:45:02 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ynir@checkpoint.com>) id 1S1af7-0000Ww-Ss for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 09:45:02 +0000
X-Received: from smtp.checkpoint.com ([194.29.34.68] helo=michael.checkpoint.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1S1af5-0000LS-DT for ietf-http-wg@w3.org; Sun, 26 Feb 2012 09:45:01 +0000
X-CheckPoint: {4F49FAB6-C-1B221DC2-FFFF}
X-Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id q1Q9iNWH007812; Sun, 26 Feb 2012 11:44:23 +0200
X-Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sun, 26 Feb 2012 11:44:22 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Mark Nottingham <mnot@mnot.net>
CC: Stephen Farrell <stephen.farrell@cs.tcd.ie>, IETF-Discussion Discussion <ietf@ietf.org>, The IESG <iesg@ietf.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Old-Date: Sun, 26 Feb 2012 11:44:22 +0200
Thread-Topic: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Thread-Index: Acz0azfK51/x3lkvSw+qpEidKkJfrw==
Message-ID: <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>	<4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>	<4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de>	<4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>	<4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>
In-Reply-To: <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=michael.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S1af5-0000LS-DT 8b4fb73c5bdc7b498566d44be312edbb
Old-X-Envelope-To: ietf-http-wg
Date: Sun, 26 Feb 2012 09:45:09 +0000
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Sun Feb 26 04:45:10 2012
X-DSPAM-Confidence: 0.9996
X-DSPAM-Improbability: 1 in 226743 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f49ff26177711804284693
ReSent-Date: Mon, 27 Feb 2012 04:37:07 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12570
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>
Resent-Message-Id: <E1S1x1O-0005r2-En@frink.w3.org>

On Feb 26, 2012, at 2:44 AM, Mark Nottingham wrote:

>=20
>>=20
>> I proposed a plan that I think might allow us to make progress
>> on that. I believe we could.
>=20
> OK, great.=20
>=20
> Could you please explain why you think tying this effort to HTTP/2.0 is n=
ecessary to achieve that? To me that's the critical bit, and I still haven'=
t seen the reasoning (perhaps I missed it).

I think I have *an* answer to this, though probably not *the* answer.

There's two stages to adoption - implementation and roll-out. Obviously you=
 can't roll out "new authentication" before the browsers and servers implem=
ent it. For my website, I wouldn't roll out new auth if only one or two of =
the browsers out there implemented it. Even if all the big ones (IE, Firefo=
x, Chrome, Opera) did, I would still have to provide a backwards compatibil=
ity authentication scheme to support older browsers. This would lead to bot=
h inconsistent UI and to ugly javascript that detects the browser version, =
and makes the roll-out slower.

If any HTTP/2.0 browser is bound to have "new authentication" it makes thin=
gs much easier.

This could be circumvented by adding request headers that advertise capabil=
ities, but I don't think we like those much.

Yoav






From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 01:38:58 2012
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 97AB321F8600 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 01:38:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 agtTHielU6Ct for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 01:38:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B875421F8605 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 01:38:57 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x1y-0005yC-Dv for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:38:06 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1l-0005ww-41 for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:37:53 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x1j-00009c-S4 for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:37:51 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1k-0002OX-7V for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:37:52 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S0xY9-0000wR-2U for ylafon@jay.w3.org; Fri, 24 Feb 2012 10:59:13 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S0xY8-0000g5-HT for ylafon@w3.org; Fri, 24 Feb 2012 15:59:12 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S0xY9-0002P4-HS for ylafon@w3.org; Fri, 24 Feb 2012 15:59:13 +0000
X-From_: paf@frobbit.se Fri Feb 24 15:59:02 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <paf@frobbit.se>) id 1S0xXy-0002OJ-77 for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 15:59:02 +0000
X-Received: from srv01.frobbit.se ([85.30.129.39]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <paf@frobbit.se>) id 1S0xXv-0008GS-VO for ietf-http-wg@w3.org; Fri, 24 Feb 2012 15:59:01 +0000
X-Received: from localhost (localhost [127.0.0.1]) by srv01.frobbit.se (Postfix) with ESMTP id 6E620132958B4; Fri, 24 Feb 2012 16:58:37 +0100 (CET)
X-Virus-Scanned: amavisd-new at frobbit.se
X-Received: from srv01.frobbit.se ([127.0.0.1]) by localhost (srv01.frobbit.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dea0ALbzjTEa; Fri, 24 Feb 2012 16:58:37 +0100 (CET)
X-Received: from host-78-64-116-200.homerun.telia.com (host-78-64-116-200.homerun.telia.com [78.64.116.200]) (Authenticated sender: paf01) by srv01.frobbit.se (Postfix) with ESMTP id 2C0C4132958AC; Fri, 24 Feb 2012 16:58:37 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: =?iso-8859-1?Q?Patrik_F=E4ltstr=F6m?= <paf@frobbit.se>
In-Reply-To: <20120224153818.GE48576@mail.yitter.info>
Old-Date: Fri, 24 Feb 2012 16:58:36 +0100
Cc: Mark Andrews <marka@isc.org>, iesg@ietf.org, mnot@mnot.net, ietf-http-wg@w3.org, IETF Discussion <ietf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info>
To: Andrew Sullivan <ajs@anvilwalrusden.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=85.30.129.39; envelope-from=paf@frobbit.se; helo=srv01.frobbit.se
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S0xXv-0008GS-VO 599c9566b1fbbc2f00581bf026903063
Old-X-Envelope-To: ietf-http-wg
Date: Fri, 24 Feb 2012 15:59:13 +0000
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Feb 24 10:59:14 2012
X-DSPAM-Confidence: 0.9987
X-DSPAM-Improbability: 1 in 79241 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f47b3d236291804284693
ReSent-Date: Mon, 27 Feb 2012 04:37:49 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12574
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>
Resent-Message-Id: <E1S1x1y-0005yC-Dv@frink.w3.org>

On 24 feb 2012, at 16:38, Andrew Sullivan wrote:

> Over in spfbis, people are arguing that the SPF RRTYPE should be
> deprecated and abandoned in SPF because nobody uses it because of
> practical difficulties in getting new RRTYPEs deployed.  What makes us
> think that the arguments in favour of SRV are going to find more
> fertile ground?

Because people disagree on whether it is actually hard to get new =
RRTYPEs deployed.

I for example do completely disagree on it being hard. Sure, your user =
interface in the gui of your favorite $EDITOR might not support the new =
RRTYPE, but should that constrain deployment of good standards?

   Patrik





From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 02:19:39 2012
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 9B82C21F84D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:39 -0800 (PST)
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=[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 oWgjyJM45l37 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 34B3321F847A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 02:19:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x2H-000604-QT for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:38:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x28-0005zE-2c for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:38:16 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x26-0000AN-SM for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:38:14 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x27-0002PQ-6s for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:38:15 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S13Ry-0005Zq-FA for ylafon@jay.w3.org; Fri, 24 Feb 2012 17:17:14 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S13Ry-00070o-EN for ylafon@w3.org; Fri, 24 Feb 2012 22:17:14 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S13Ry-0008Qu-PY for ylafon@w3.org; Fri, 24 Feb 2012 22:17:14 +0000
X-From_: ynir@checkpoint.com Fri Feb 24 22:17:08 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ynir@checkpoint.com>) id 1S13Rs-0008QC-3J for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 22:17:08 +0000
X-Received: from smtp.checkpoint.com ([194.29.34.68] helo=michael.checkpoint.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1S13Rp-0002fN-Gf for ietf-http-wg@w3.org; Fri, 24 Feb 2012 22:17:06 +0000
X-CheckPoint: {4F48080B-5-1B221DC2-FFFF}
X-Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id q1OMG9FV015474; Sat, 25 Feb 2012 00:16:09 +0200
X-Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sat, 25 Feb 2012 00:16:09 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
CC: Stephen Farrell <stephen.farrell@cs.tcd.ie>, IETF-Discussion Discussion <ietf@ietf.org>, The IESG <iesg@ietf.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Old-Date: Sat, 25 Feb 2012 00:16:09 +0200
Thread-Topic: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Thread-Index: AczzQeiQwNzv2Us/TPqjWCoFeYXysQ==
Message-ID: <A8ECD869-385D-4D3D-BD4F-A19F96ACE031@checkpoint.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>	<4F478872.8020103@cs.tcd.ie> <FDE9205F-4B8C-47A6-AF12-B654E23590E4@vpnc.org>
In-Reply-To: <FDE9205F-4B8C-47A6-AF12-B654E23590E4@vpnc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=michael.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S13Rp-0002fN-Gf ad5d6e234455c0ba0c84556b04c9dc9f
Old-X-Envelope-To: ietf-http-wg
Date: Fri, 24 Feb 2012 22:17:14 +0000
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Fri Feb 24 17:17:15 2012
X-DSPAM-Confidence: 0.9993
X-DSPAM-Improbability: 1 in 151498 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f480c6b214482167526874
ReSent-Date: Mon, 27 Feb 2012 04:38:14 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/A8ECD869-385D-4D3D-BD4F-A19F96ACE031@checkpoint.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12575
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>
Resent-Message-Id: <E1S1x2H-000604-QT@frink.w3.org>

On Feb 24, 2012, at 5:02 PM, Paul Hoffman wrote:

> On Feb 24, 2012, at 4:54 AM, Stephen Farrell wrote:
>=20
>>> "Proposals for new HTTP authentication schemes are in scope."
>>=20
>> How would a plan like the following look to folks:
>>=20
>> - httpbis is chartered to include auth mechanism work as
>> per the above (or whatever text goes into the charter)

<snip/>

>>=20
>> Might that be a way forward that'll give enough folks
>> enough of what they want/need?
>=20
>=20
> It would, but I would like to give a counter-proposal that I think will u=
se people's different talents better:
>=20
> - new wg on developing http authentication mechanisms is chartered soon (=
BoF in Paris); call it the ham wg
> - httpbis is chartered to follow the work of the ham wg and is required t=
o make sure that the authentication framework in http 2.0 works for as many=
 of the proposals from the ham wg as possible
> - ham wg is responsible for most of what you list above
> - http2.0 document says "the mandatory to implement auth mechanisms are n=
amed in that RFC over there", which comes from the ham wg
>=20
> There will be overlap in wg membership, but not nearly as much as would b=
e needed for your proposal.

I like the idea, but there is always the danger of the HAM working group ei=
ther getting stuck with multiple non-interoperable proposals like we've see=
n at IPsecME with the PAKE work.

There is also the possibility of getting stuck with conflicting requirement=
s. For example, there will be a need to use existing user databases (RADIUS=
/DIAMETER servers, LDAP directories), but that is hard to reconcile with th=
e preference for ZKPs.

I'm not really worried, because HTTP/2.0 is bound to take a long time, and =
there will be plenty of opportunity for chair and ADs to step in and interv=
ene if the wg actually does that.

On a more technical note, we are 12 days past the cutoff date for new BoF s=
ession requests, so it's probably too late for a BoF in Paris.=20

Yoav





From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 02:19:40 2012
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 F10D921F847A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.258
X-Spam-Level: 
X-Spam-Status: No, score=-10.258 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, MIME_BASE64_BLANKS=0.041, 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 9NxyWAFGKK6I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E692621F8475 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 02:19:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x1V-0005t4-8E for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:37:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1O-0005r3-LS for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:37:30 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x1N-00008W-E6 for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:37:29 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1N-0002Ng-Q2 for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:37:29 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S1ff2-0005Fk-KP for ylafon@jay.w3.org; Sun, 26 Feb 2012 10:05:16 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S1ff2-0002El-2t for ylafon@w3.org; Sun, 26 Feb 2012 15:05:16 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S1ff3-0000CG-48 for ylafon@w3.org; Sun, 26 Feb 2012 15:05:17 +0000
X-From_: tevfik.sahin@turktelekom.com.tr Sun Feb 26 15:05:10 2012
X-Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tevfik.sahin@turktelekom.com.tr>) id 1S1few-0000BY-2o for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 15:05:10 +0000
X-Received: from mx01.turktelekom.com.tr ([212.175.13.103] helo=mail.turktelekom.com.tr) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <tevfik.sahin@turktelekom.com.tr>) id 1S1fet-0002DI-33 for ietf-http-wg@w3.org; Sun, 26 Feb 2012 15:05:08 +0000
X-Received: from (unknown [10.6.98.102]) by AVGW-TT-4.turktelekom.com.tr with smtp id 22b1_0dfd_339c6fb0_60a4_11e1_897b_00219b92ed21; Sun, 26 Feb 2012 20:04:02 +0200
X-Received: from S000CHS02.turktelekom.intra (10.6.98.202) by S000EDG02.turktelekom.intra (10.6.98.102) with Microsoft SMTP Server (TLS) id 14.2.247.3; Sun, 26 Feb 2012 17:04:42 +0200
X-Received: from S000MBX01.turktelekom.intra ([fe80::f93e:bfa0:cd47:50cc]) by S000CHS02.turktelekom.intra ([fe80::68ff:d05b:7cf8:2c7b%27]) with mapi id 14.02.0247.003; Sun, 26 Feb 2012 17:04:39 +0200
From: =?utf-8?B?VEVWRsSwSyDFnkFIxLBO?= <tevfik.sahin@turktelekom.com.tr>
To: Mark Nottingham <mnot@mnot.net>, Yoav Nir <ynir@checkpoint.com>
CC: The IESG <iesg@ietf.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, IETF-Discussion Discussion <ietf@ietf.org>
Thread-Topic: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Thread-Index: AQHM8MZzB6OckiKrhUGDr8GiGGECwpZIMxIA//9ZgACAAAOYAIAAOoIAgAAFvwCAAAOuAIAAALGAgAABh4CAAOu+AIAASpQAgAACEgCAAhFcgIAAAWkAgAABc4CAAMDMAIAA3PUAgADD8wCAAATqgIAAAqmAgACaGgCAABUEgIAAqNWA///vNACAAHsA4w==
Old-Date: Sun, 26 Feb 2012 15:04:38 +0000
Message-ID: <b9TKdqspKX6J@0b0mpBFf>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com>	<4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net>	<4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de>	<4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net>	<4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net>,<3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
In-Reply-To: <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
Accept-Language: tr-TR, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-NAI-Spam-Report: 2 Rules triggered *  0.2 -- GEN_SPAM_FEATRE *  0 -- RV4143
X-NAI-Spam-Version: 2.2.0.9309 : core <4143> : streams <732385> : uri <1072444>
Received-SPF: pass client-ip=212.175.13.103; envelope-from=tevfik.sahin@turktelekom.com.tr; helo=mail.turktelekom.com.tr
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1fet-0002DI-33 6e7bb068d89eae6f3206c6116b0e4a12
Old-X-Envelope-To: ietf-http-wg
Date: Sun, 26 Feb 2012 15:05:17 +0000
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sun Feb 26 10:05:21 2012
X-DSPAM-Confidence: 0.9996
X-DSPAM-Improbability: 1 in 238587 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f4a4a31202021804284693
ReSent-Date: Mon, 27 Feb 2012 04:37:25 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] RE: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: RE: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/b9TKdqspKX6J@0b0mpBFf>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12571
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>
Resent-Message-Id: <E1S1x1V-0005t4-8E@frink.w3.org>

WmMNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBZb2F2IE5pcg0KU2VudDogIDI2
LjAyLjIwMTIsIDExOjQ1DQpUbzogTWFyayBOb3R0aW5naGFtDQpDYzogVGhlIElFU0c7IGlldGYt
aHR0cC13Z0B3My5vcmcgR3JvdXA7IElFVEYtRGlzY3Vzc2lvbiBEaXNjdXNzaW9uDQpTdWJqZWN0
OiBSZTogV0cgUmV2aWV3OiBSZWNoYXJ0ZXIgb2YgSHlwZXJ0ZXh0IFRyYW5zZmVyIFByb3RvY29s
IEJpcyAoaHR0cGJpcykNCg0KDQpPbiBGZWIgMjYsIDIwMTIsIGF0IDI6NDQgQU0sIE1hcmsgTm90
dGluZ2hhbSB3cm90ZToNCg0KPg0KPj4NCj4+IEkgcHJvcG9zZWQgYSBwbGFuIHRoYXQgSSB0aGlu
ayBtaWdodCBhbGxvdyB1cyB0byBtYWtlIHByb2dyZXNzDQo+PiBvbiB0aGF0LiBJIGJlbGlldmUg
d2UgY291bGQuDQo+DQo+IE9LLCBncmVhdC4NCj4NCj4gQ291bGQgeW91IHBsZWFzZSBleHBsYWlu
IHdoeSB5b3UgdGhpbmsgdHlpbmcgdGhpcyBlZmZvcnQgdG8gSFRUUC8yLjAgaXMgbmVjZXNzYXJ5
IHRvIGFjaGlldmUgdGhhdD8gVG8gbWUgdGhhdCdzIHRoZSBjcml0aWNhbCBiaXQsIGFuZCBJIHN0
aWxsIGhhdmVuJ3Qgc2VlbiB0aGUgcmVhc29uaW5nIChwZXJoYXBzIEkgbWlzc2VkIGl0KS4NCg0K
SSB0aGluayBJIGhhdmUgKmFuKiBhbnN3ZXIgdG8gdGhpcywgdGhvdWdoIHByb2JhYmx5IG5vdCAq
dGhlKiBhbnN3ZXIuDQoNClRoZXJlJ3MgdHdvIHN0YWdlcyB0byBhZG9wdGlvbiAtIGltcGxlbWVu
dGF0aW9uIGFuZCByb2xsLW91dC4gT2J2aW91c2x5IHlvdSBjYW4ndCByb2xsIG91dCAibmV3IGF1
dGhlbnRpY2F0aW9uIiBiZWZvcmUgdGhlIGJyb3dzZXJzIGFuZCBzZXJ2ZXJzIGltcGxlbWVudCBp
dC4gRm9yIG15IHdlYnNpdGUsIEkgd291bGRuJ3Qgcm9sbCBvdXQgbmV3IGF1dGggaWYgb25seSBv
bmUgb3IgdHdvIG9mIHRoZSBicm93c2VycyBvdXQgdGhlcmUgaW1wbGVtZW50ZWQgaXQuIEV2ZW4g
aWYgYWxsIHRoZSBiaWcgb25lcyAoSUUsIEZpcmVmb3gsIENocm9tZSwgT3BlcmEpIGRpZCwgSSB3
b3VsZCBzdGlsbCBoYXZlIHRvIHByb3ZpZGUgYSBiYWNrd2FyZHMgY29tcGF0aWJpbGl0eSBhdXRo
ZW50aWNhdGlvbiBzY2hlbWUgdG8gc3VwcG9ydCBvbGRlciBicm93c2Vycy4gVGhpcyB3b3VsZCBs
ZWFkIHRvIGJvdGggaW5jb25zaXN0ZW50IFVJIGFuZCB0byB1Z2x5IGphdmFzY3JpcHQgdGhhdCBk
ZXRlY3RzIHRoZSBicm93c2VyIHZlcnNpb24sIGFuZCBtYWtlcyB0aGUgcm9sbC1vdXQgc2xvd2Vy
Lg0KDQpJZiBhbnkgSFRUUC8yLjAgYnJvd3NlciBpcyBib3VuZCB0byBoYXZlICJuZXcgYXV0aGVu
dGljYXRpb24iIGl0IG1ha2VzIHRoaW5ncyBtdWNoIGVhc2llci4NCg0KVGhpcyBjb3VsZCBiZSBj
aXJjdW12ZW50ZWQgYnkgYWRkaW5nIHJlcXVlc3QgaGVhZGVycyB0aGF0IGFkdmVydGlzZSBjYXBh
YmlsaXRpZXMsIGJ1dCBJIGRvbid0IHRoaW5rIHdlIGxpa2UgdGhvc2UgbXVjaC4NCg0KWW9hdg0K
DQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpJZXRm
IG1haWxpbmcgbGlzdA0KSWV0ZkBpZXRmLm9yZw0KaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1h
bi9saXN0aW5mby9pZXRmDQoNCg0KDQrigJxUaGlzIE1lc3NhZ2UgKGluY2x1ZGluZyBhbnkgYXR0
YWNobWVudHMpIGNvbnRhaW5zIGNvbmZpZGVudGlhbCBpbmZvcm1hdGlvbiBhbmQgaXMgaW50ZW5k
ZWQgb25seSBmb3IgdGhlIGluZGl2aWR1YWwgbmFtZWQuIElmIHlvdSBhcmUgbm90IHRoZSBuYW1l
ZCBhZHJlc3NlZSBvciBub3QgcmVsYXRlZCB3aXRoIHRoZSBjb250ZW50IG9mIHRoaXMgTWVzc2Fn
ZSwgeW91IGFyZSBmb3JiaWRkZW4gdG8gcmVhZCwgZGlzc2VtaW5hdGUsIGRpc3RyaWJ1dGUsIGNv
cHksIHJlcHJvZHVjZSBvciBtb2RpZnkgdGhpcyBtYWlsIGJ5IG91ciBDb21wYW55LiBQbGVhc2Ug
bm90ZnkgdGhlIHNlbmRlciBpbW1lZGlhdGVseSBpZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIGUt
bWFpbCBieSBtaXN0YWtlIGFuZCBkZWxldGUgdGhpcyBlLW1haWwgZnJvbSB5b3VyIHN5c3RlbS4g
RS1tYWlsIHRyYW5zbWlzc29uIGNhbiBub3QgYmUgZ3VhcmFudGVlZCB0byBiZSBzZWN1cmUgb3Ig
ZXJyb3ItZnJlZSBhcyB0aGUgbWFpbCBtYXkgYXJyaXZlIGxhdGUgb3IgaW5jb21wbGV0ZSBvciB0
aGUgaW5mb3JtYXRpb24gY291bGQgYmUgaW50ZXJjZXB0ZWQsIGNvcnJ1cHRlZCwgbG9zdCwgZGVz
dHJveWVkLCBhbWVuZGVkLCAsIG9yIGNvbnRhaW4gdmlydXNlcy4gVGhlIHNlbmRlciB0aGVyZWZv
cmUgZG9lcyBub3QgYWNjZXB0IGxpYWJpbGl0eSBmb3IgYW55IGVycm9ycywgbG9zcyBvZiBpbnRl
Z3JpdHkgb3IgY29uZmlkZW50aWFsaXR5IG9yIG9tbWlzc2lvbnMgaW4gdGhlIGNvbnRlbnRzIG9m
IHRoaXMgTWVzc2FnZSBvciBmb3IgdGhlIGluZm9ybWF0aW9uIHRyYW5zbWlzc2lvbiwgcmVjZXB0
aW9uLCBzdG9yYWdlIG9mIHVzZSBvZiBzdWNoIGluIGFueSB3YXkgd2hhdHNvZXZlciwgd2hpY2gg
YXJpc2UgYXMgYSByZXN1bHQgb2YgZS1tYWlsIHRyYW5zbWlzc2lvbi4gQW55IG9waW5pb25zIGV4
cHJlc3NlZCBpbiB0aGlzIG1lc3NhZ2UgYXJlIHRob3NlIG9mIHRoZSBhdXRob3IgYW5kIG1heSBu
b3QgbmVjZXNzYXJpbHkgcmVmbGVjdCB0aGUgb3BpbmlvbnMgb2YgT3VyIENvbXBhbnkuDQoNCkNv
cHlyaWdodCBpbiBkb2N1bWVudHMgY3JlYXRlZCBieSBvciBvbiBiZWhhbGYgb2Ygb3VyIENvbXBh
bnkgcmVtYWlucyB2ZXN0ZWQgaW4gdXMsIGFuZCB3ZSBhc3NlcnQgYWxsIG9mIG91ciBtb3JhbCBh
bmQgaW50ZWxsZWN0dWFsIHByb3BlcnR5IHJpZ2h0cy7igJ0NCg0KDQrigJxCdSBtZXNhaiAodmUg
ZWtsZXJpKSBnaXpsaSBiaWxnaSBpw6dlcm1la3RlZGlyIHZlIHNhZGVjZSBnw7ZuZGVyaWxlbiBr
acWfaXllIHnDtm5lbGlrdGlyLiBCdSBlLW1haWxpbiBtdWhhdGFixLEgZGXEn2lsc2VuaXogdmV5
YSBpw6dlcmnEn2kgaWxlIGlsZ2luaXogeW9rc2EsIMWeaXJrZXRpbWl6aW4gb25hecSxIG9sbWFr
c8SxesSxbiBidSBtZXNhasSxbiBva3VubWFzxLEsIGRlxJ9pxZ90aXJpbG1lc2ksIGtvcHlhbGFu
bWFzxLEsIMO8w6fDvG5jw7wga2nFn2lsZXJlIGHDp8Sxa2xhbm1hc8SxLCB5YXnEsW5sYW5tYXPE
sSwgaWbFn2EgZWRpbG1lc2kgdmV5YSBpbGV0aWxtZXNpIHlhc2FrdMSxci4gQnUgbWVzYWrEsW4g
Z8O2bmRlcmlsbWVrIGlzdGVuZGnEn2kga2nFn2kgZGXEn2lsc2VuaXogKHlhIGRhIGJ1IGUtcG9z
dGEnecSxIHlhbmzEscWfbMSxa2xhIGFsZMSxeXNhbsSxeiksIGzDvHRmZW4geW9sbGF5YW4ga2nF
n2l5aSBoZW1lbiBoYWJlcmRhciBlZGluaXogdmUgbWVzYWrEsSBzaXN0ZW1pbml6ZGVuIGRlcmhh
bCBzaWxpbml6LiBFLW1haWwgaWxldGltaW5pbiBnw7x2ZW5saSB2ZXlhIGhhdGFzxLF6IG9sZHXE
n3VudW4gZ2FyYW50aXNpIG9sbWFkxLHEn8SxbmRhbiBnZcOnIHZleWEgZWtzaWsgaWxldGltIHZl
eWEgacOnZXJpayB2ZSBiaWxnaWxlcmRlIGVrc2lrbGlrLCBrYXnEsXAsIGRlxJ9pxZ9pa2xpayB2
ZXlhIHZpcsO8cyBvbGFiaWxpci4gQnUgbmVkZW5sZSwgYnUgbWVzYWrEsW4gaWxldGltaW5kZW4g
ZG9sYXnEsSwgZ8O2bmRlcmVuLCBpw6dlcmlrdGVraSBoYXRhLCBla3Npa2xpaywgZG/En3J1bHXE
n3VuIHZlIGdpemxpbGnEn2luIGlobGFsaW5kZW4gdmV5YSBidSB5b2xsYSBiaWxnaSBwYXlsYcWf
xLFtxLEsIGlsZXRpbWksIGRlcG9sYW5tYXPEsSBnaWJpIGhlcmhhbmdpIGJpciBrdWxsYW7EsW3E
sW5kYW4gaGnDp2JpciDFn2VraWxkZSBzb3J1bWx1IGRlxJ9pbGRpci4gQnUgbWVzYWrEsW4gacOn
ZXJpxJ9pIHlhemFyxLFuYSBhaXQgb2x1cCwgxZ5pcmtldGltaXppbiBnw7Zyw7zFn2xlcmluaSBp
w6dlcm1leWViaWxpci4NCg0KQnUgbWVzYWrEsW4gacOnZXJpxJ9pbmRlIGdlw6dlbiDFnmlya2V0
aW1pemluIGFkIHZleWEgbmFuxLFtYSB5YXJhdMSxbGFuIGZpa3JpIHZlIHPEsW5haSBoYWtsYXIg
xZ5pcmtldGltaXplIGFpdCBvbHVwLCBtYWRkaSB2ZSBtYW5ldmkgdMO8bSBoYWtsYXLEsSDFnmly
a2V0aW1pemRlIHNha2zEsWTEsXIu4oCdDQo=




From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 02:19:40 2012
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 27A8F21F8475 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:40 -0800 (PST)
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=[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 EVnYQD4GbMJw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8226321F8496 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 02:19:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x1b-0005tx-6F for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:37:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1V-0005t5-Lp for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:37:37 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x1U-0001NU-Ge for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:37:36 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1U-0002Nx-QS for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:37:36 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S1m2n-0000nq-S3 for ylafon@jay.w3.org; Sun, 26 Feb 2012 16:54:13 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S1m2n-0007Mh-Aa for ylafon@w3.org; Sun, 26 Feb 2012 21:54:13 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S1m2o-0001Ie-7o for ylafon@w3.org; Sun, 26 Feb 2012 21:54:14 +0000
X-From_: fisc@informatik.uni-kiel.de Sun Feb 26 21:54:08 2012
X-Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fisc@informatik.uni-kiel.de>) id 1S1m2i-0001Hy-3H for ietf-http-wg@listhub.w3.org; Sun, 26 Feb 2012 21:54:08 +0000
X-Received: from miraculix-out.informatik.uni-kiel.de ([134.245.248.209] helo=miraculix.informatik.uni-kiel.de) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fisc@informatik.uni-kiel.de>) id 1S1m2f-0004vQ-BP for ietf-http-wg@w3.org; Sun, 26 Feb 2012 21:54:06 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-kiel.de
X-Received: from [192.168.0.103] (31-16-179-194-dynip.superkabel.de [31.16.179.194]) (authenticated bits=0) by miraculix.informatik.uni-kiel.de (8.14.5/8.14.5) with ESMTP id q1QLrZWU000848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-http-wg@w3.org>; Sun, 26 Feb 2012 22:53:42 +0100 (MET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=informatik.uni-kiel.de; s=ifi-200807; t=1330293222; bh=vir9wXe3iIvBehPG0V2xQlgQG1sLuSgOnuGL2nVBDRg=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=f/yTyejGSTEbt+U1yWmzv9KKVaQUIUoawVeXrM/G39KKSXTR/C+iBqtIbrsyJwn6l 0vi2QEfqr8WoIi9Ft+tp2JRvQ+v0LkUNsZiqyU5tTd+nSI7NBgkCL0jMXV67VKLaDu COVxHwn3tIIO0P5Hzg/ornYibvbB06Vw+KeX6dbQ=
Message-ID: <4F4AA9D9.5040000@informatik.uni-kiel.de>
Old-Date: Sun, 26 Feb 2012 22:53:29 +0100
From: Fiona Schmidtke <fisc@informatik.uni-kiel.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Null-Tag: 19f0aeba9fa83918a1421a679885e48e
X-Authenticated-Sender: user fisc from 31.16.179.194
Received-SPF: none client-ip=134.245.248.209; envelope-from=fisc@informatik.uni-kiel.de; helo=miraculix.informatik.uni-kiel.de
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, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S1m2f-0004vQ-BP 0f1310e013ff66a000dd135ea3259648
Old-X-Envelope-To: ietf-http-wg
Date: Sun, 26 Feb 2012 21:54:14 +0000
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sun Feb 26 16:54:14 2012
X-DSPAM-Confidence: 0.9964
X-DSPAM-Improbability: 1 in 27357 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f4aaa0630971410093335
ReSent-Date: Mon, 27 Feb 2012 04:37:35 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] HTTP at a glance
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP at a glance
Archived-At: <http://www.w3.org/mid/4F4AA9D9.5040000@informatik.uni-kiel.de>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12572
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>
Resent-Message-Id: <E1S1x1b-0005tx-6F@frink.w3.org>

Hi,

I've just put together a simple website [1] that tries to explain HTTP 
at a glance for all the web developers out there that do not care about 
HTTP at the moment. (e.g. that ones who use GET and POST methods 
interchangeably and state something like "POST is safer than GET, 
because it does not append the data to the URL").
It would be nice if someone could have a look and give some feedback, as 
I don't know if I have covered most of the important things that such 
new developers should get to know. Please don't be too harsh to me, as 
I'm new to the topic, but I'd like to give my best to contribute to the 
understanding of HTTP.

Regards,
Fiona

[1] http://semfact.github.com/httpataglance/





From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 02:19:39 2012
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 AFA2721F84E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:39 -0800 (PST)
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=[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 p5GRMPl5ucdP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:19:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A635221F84B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 02:19:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x1n-0005xX-Lv for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:37:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1h-0005uM-9W for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:37:49 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x1g-0001Nn-4V for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:37:48 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x1g-0002OF-EJ for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:37:48 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S0xEQ-0007zE-Oz for ylafon@jay.w3.org; Fri, 24 Feb 2012 10:38:50 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S0xEQ-0007ha-8D for ylafon@w3.org; Fri, 24 Feb 2012 15:38:50 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S0xER-0005aY-6u for ylafon@w3.org; Fri, 24 Feb 2012 15:38:51 +0000
X-From_: ajs@anvilwalrusden.com Fri Feb 24 15:38:44 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ajs@anvilwalrusden.com>) id 1S0xEK-0005Z5-ES for ietf-http-wg@listhub.w3.org; Fri, 24 Feb 2012 15:38:44 +0000
X-Received: from mail.yitter.info ([208.86.224.201]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ajs@anvilwalrusden.com>) id 1S0xEF-0007gQ-Eb for ietf-http-wg@w3.org; Fri, 24 Feb 2012 15:38:43 +0000
X-Received: from mail.yitter.info (69-196-144-227.dsl.teksavvy.com [69.196.144.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yitter.info (Postfix) with ESMTPSA id E4C611ECB420; Fri, 24 Feb 2012 15:38:17 +0000 (UTC)
Old-Date: Fri, 24 Feb 2012 10:38:19 -0500
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: Mark Andrews <marka@isc.org>
Cc: Doug Barton <dougb@dougbarton.us>, mnot@mnot.net, IETF Discussion <ietf@ietf.org>, iesg@ietf.org, ietf-http-wg@w3.org
Message-ID: <20120224153818.GE48576@mail.yitter.info>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Received-SPF: none client-ip=208.86.224.201; envelope-from=ajs@anvilwalrusden.com; helo=mail.yitter.info
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1S0xEF-0007gQ-Eb bd3786b49695f13994555f784c3c0243
Old-X-Envelope-To: ietf-http-wg
Date: Fri, 24 Feb 2012 15:38:51 +0000
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Fri Feb 24 10:39:01 2012
X-DSPAM-Confidence: 0.9988
X-DSPAM-Improbability: 1 in 84746 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f47af14307101804284693
ReSent-Date: Mon, 27 Feb 2012 04:37:46 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120224153818.GE48576@mail.yitter.info>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12573
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>
Resent-Message-Id: <E1S1x1n-0005xX-Lv@frink.w3.org>

On Fri, Feb 24, 2012 at 01:54:32PM +1100, Mark Andrews wrote:
> 
> In message <4F46BFDF.3070703@dougbarton.us>, Doug Barton writes:
> > 
> > 2782 was published 12 years ago this month. I suppose it can be
> > considered mature enough to deploy at this point? :)
> 
> +1000

Over in spfbis, people are arguing that the SPF RRTYPE should be
deprecated and abandoned in SPF because nobody uses it because of
practical difficulties in getting new RRTYPEs deployed.  What makes us
think that the arguments in favour of SRV are going to find more
fertile ground?

Best,

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com




From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 02:30:41 2012
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 CF97421F861B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:30:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.091
X-Spam-Level: 
X-Spam-Status: No, score=-7.091 tagged_above=-999 required=5 tests=[AWL=3.508, 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 5Q3Mj0hDhk-R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:30:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BB03F21F8617 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 02:30:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1x2N-00060s-Ni for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 09:38:31 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x2D-0005zp-2Q for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 09:38:23 +0000
Received: from jay.w3.org ([128.30.52.169]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S1x2B-0000Ar-RC for ietf-http-wg@w3.org; Mon, 27 Feb 2012 09:38:19 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S1x2C-0002Pe-5I for ietf-http-wg@w3.org; Mon, 27 Feb 2012 04:38:20 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S18li-000103-D7 for ylafon@jay.w3.org; Fri, 24 Feb 2012 22:57:58 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S18lh-0002gX-Uj for ylafon@w3.org; Sat, 25 Feb 2012 03:57:57 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S18li-0001VH-Sv for ylafon@w3.org; Sat, 25 Feb 2012 03:57:58 +0000
X-From_: dougb@dougbarton.us Sat Feb 25 03:57:49 2012
X-Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dougb@dougbarton.us>) id 1S18lZ-0001UZ-5b for ietf-http-wg@listhub.w3.org; Sat, 25 Feb 2012 03:57:49 +0000
X-Received: from mx22.fluidhosting.com ([204.14.89.5] helo=mail2.fluidhosting.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dougb@dougbarton.us>) id 1S18lX-0000nX-9Q for ietf-http-wg@w3.org; Sat, 25 Feb 2012 03:57:48 +0000
X-Received: (qmail 14400 invoked by uid 399); 25 Feb 2012 03:57:24 -0000
X-Received: from unknown (HELO 172-17-197-151.globalsuite.net) (dougb@dougbarton.us@12.207.105.210) by mail2.fluidhosting.com with ESMTPAM; 25 Feb 2012 03:57:24 -0000
X-Originating-IP: 12.207.105.210
X-Sender: dougb@dougbarton.us
Message-ID: <4F485C22.90302@dougbarton.us>
Old-Date: Fri, 24 Feb 2012 19:57:22 -0800
From: Doug Barton <dougb@dougbarton.us>
Organization: http://SupersetSolutions.com/
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120224 Thunderbird/10.0.2
MIME-Version: 1.0
To: Andrew Sullivan <ajs@anvilwalrusden.com>
CC: Mark Andrews <marka@isc.org>, mnot@mnot.net,  IETF Discussion <ietf@ietf.org>, iesg@ietf.org, ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info>
In-Reply-To: <20120224153818.GE48576@mail.yitter.info>
X-Enigmail-Version: 1.3.5
OpenPGP: id=1A1ABC84
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=204.14.89.5; envelope-from=dougb@dougbarton.us; helo=mail2.fluidhosting.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S18lX-0000nX-9Q 41d231229aebafa2e8801cfc8812a85d
Old-X-Envelope-To: ietf-http-wg
Date: Sat, 25 Feb 2012 03:57:58 +0000
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Feb 24 22:57:58 2012
X-DSPAM-Confidence: 0.9992
X-DSPAM-Improbability: 1 in 126722 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f485c4638532323111622
ReSent-Date: Mon, 27 Feb 2012 04:38:19 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F485C22.90302@dougbarton.us>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12576
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>
Resent-Message-Id: <E1S1x2N-00060s-Ni@frink.w3.org>

On 02/24/2012 07:38, Andrew Sullivan wrote:
> On Fri, Feb 24, 2012 at 01:54:32PM +1100, Mark Andrews wrote:
>>
>> In message <4F46BFDF.3070703@dougbarton.us>, Doug Barton writes:
>>>
>>> 2782 was published 12 years ago this month. I suppose it can be
>>> considered mature enough to deploy at this point? :)
>>
>> +1000
> 
> Over in spfbis, people are arguing that the SPF RRTYPE should be
> deprecated and abandoned in SPF because nobody uses it because of
> practical difficulties in getting new RRTYPEs deployed.  What makes us
> think that the arguments in favour of SRV are going to find more
> fertile ground?

Because I emphasized the point that SRV has been around for 12 years? I
have enough experience to know how difficult it is to deploy new RRs.
SRV is not new.


Doug

-- 

	It's always a long day; 86400 doesn't fit into a short.

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/





From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 02:36:04 2012
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 BF82421F867F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:36:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.964
X-Spam-Level: 
X-Spam-Status: No, score=-9.964 tagged_above=-999 required=5 tests=[AWL=0.635, 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 2iUqovjuewYg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 02:36:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6ECE721F867E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 02:36:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S1xuP-0008Hh-U5 for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 10:34:21 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S1xu9-0008GZ-EJ for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 10:34:05 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S1xu2-0001pH-Eg for ietf-http-wg@w3.org; Mon, 27 Feb 2012 10:34:04 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id 53AB8E6E66 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 23:33:34 +1300 (NZDT)
Message-ID: <4F4B5BFD.2030701@treenet.co.nz>
Date: Mon, 27 Feb 2012 23:33:33 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <4F4AA9D9.5040000@informatik.uni-kiel.de>
In-Reply-To: <4F4AA9D9.5040000@informatik.uni-kiel.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S1xu2-0001pH-Eg 9221c95839c1a1210ff1363802d5e1c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/4F4B5BFD.2030701@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12577
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>
Resent-Message-Id: <E1S1xuP-0008Hh-U5@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 10:34:21 +0000

On 27/02/2012 10:54 a.m., Fiona Schmidtke wrote:
> Hi,
>
> I've just put together a simple website [1] that tries to explain HTTP 
> at a glance for all the web developers out there that do not care 
> about HTTP at the moment. (e.g. that ones who use GET and POST methods 
> interchangeably and state something like "POST is safer than GET, 
> because it does not append the data to the URL").
> It would be nice if someone could have a look and give some feedback, 
> as I don't know if I have covered most of the important things that 
> such new developers should get to know. Please don't be too harsh to 
> me, as I'm new to the topic, but I'd like to give my best to 
> contribute to the understanding of HTTP.
>
> Regards,
> Fiona
>
> [1] http://semfact.github.com/httpataglance/
>

Nice.

Three nitpicks though:
  + PUT is replace or create a resource.
  + POST is send some data to a script or service. NOT create, that is 
one of the big mistakes web dev make today which needs fixing.
  + all of the status codes ranges end at *99. There are HTTP status 
flying around the web reserved by other specifications.

HTH

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 04:52:48 2012
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 77C1021F8709 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 04:52:48 -0800 (PST)
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=[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 yau7cd+NxL-M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 04:52:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7816521F86B6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 04:52:42 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2033-00040t-7X for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 12:51:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fisc@informatik.uni-kiel.de>) id 1S202m-0003zu-Su for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 12:51:08 +0000
Received: from miraculix-out.informatik.uni-kiel.de ([134.245.248.209] helo=miraculix.informatik.uni-kiel.de) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fisc@informatik.uni-kiel.de>) id 1S202d-0006Fh-Kn for ietf-http-wg@w3.org; Mon, 27 Feb 2012 12:51:07 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-kiel.de
Received: from [192.168.0.103] (31-16-179-194-dynip.superkabel.de [31.16.179.194]) (authenticated bits=0) by miraculix.informatik.uni-kiel.de (8.14.5/8.14.5) with ESMTP id q1RCoUx6022451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 13:50:37 +0100 (MET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=informatik.uni-kiel.de; s=ifi-200807; t=1330347037; bh=zbJKYxN1GldoCyvVtseh345nO7NGJk66TZDwpPdPoEc=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=TFDXQaI+BV4WYI55ZSGu1x4y6ENhLrYzVWvKiPeUwkExGSWtAVjXSQH5ZyDkpZoJ5 RsgtuQU/MOYgZeqm8iTr9a7qEVeasJelqvhRVnYEzubyZb3l1mCs43PIQB6GHMPQ+c uZqt4IA+IEHX1Bx3VPkAxgdPgc8EX69Q/XW1zTCY=
Message-ID: <4F4B7C0D.4000500@informatik.uni-kiel.de>
Date: Mon, 27 Feb 2012 13:50:21 +0100
From: Fiona Schmidtke <fisc@informatik.uni-kiel.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Null-Tag: 100710124b8b41b92e5c506b2b77109c
X-Authenticated-Sender: user fisc from 31.16.179.194
Received-SPF: none client-ip=134.245.248.209; envelope-from=fisc@informatik.uni-kiel.de; helo=miraculix.informatik.uni-kiel.de
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, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S202d-0006Fh-Kn 28c10ccf037338ad47c37a16b1c66ac8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/4F4B7C0D.4000500@informatik.uni-kiel.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12578
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>
Resent-Message-Id: <E1S2033-00040t-7X@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 12:51:25 +0000

>  Nice.
>
>  Three nitpicks though:
>   + PUT is replace or create a resource.
>   + POST is send some data to a script or service. NOT create, that is
>  one of the big mistakes web dev make today which needs fixing.
>   + all of the status codes ranges end at *99. There are HTTP status
>  flying around the web reserved by other specifications.

Thanks for your suggestions. I updated the site.
I think the big mistake with PUT/POST comes from the statement that
POST creates a new subordinate. I saw that this is left out in the
new specifications.

Regards,
Fiona



From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 06:20:48 2012
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 AC23521F85F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 06:20:48 -0800 (PST)
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=[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 V2lHl+vTsFF2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 06:20:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8A2821F85D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 06:20:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S21QV-0002UD-Mb for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 14:19:43 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S21QF-0002SP-4O for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 14:19:27 +0000
Received: from mail-gy0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S21Q3-0000cS-Jb for ietf-http-wg@w3.org; Mon, 27 Feb 2012 14:19:26 +0000
Received: by ghbz17 with SMTP id z17so358720ghb.2 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 06:18:50 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.60.30.70 as permitted sender) client-ip=10.60.30.70;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.60.30.70 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.60.30.70]) by 10.60.30.70 with SMTP id q6mr2889500oeh.56.1330352330418 (num_hops = 1); Mon, 27 Feb 2012 06:18:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=HecalheD4zh3sbne9Gzkj03RA12gypmUcTChjNeAzTI=; b=J4foaUIoFVeJaIcaf/4R6EtFQw6ad8K4BNv9lqpGSzKAASQGVdd0PDsCOZuRsWeBWh +p9DW/i/nicN8qvRmA0lQB6qBH9aXeOKdCu7GKY+10VSv4yW2LLrpyWuMOjsI/ISN+9G qiv/agTsZJTb3A9GUHoE6UtAWAinP2vil+ROA=
MIME-Version: 1.0
Received: by 10.60.30.70 with SMTP id q6mr2598331oeh.56.1330352330368; Mon, 27 Feb 2012 06:18:50 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Mon, 27 Feb 2012 06:18:50 -0800 (PST)
Date: Mon, 27 Feb 2012 14:18:50 +0000
Message-ID: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.171; envelope-from=mikekelly321@gmail.com; helo=mail-gy0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S21Q3-0000cS-Jb 4f9ce32c0eab1969945fac9329c6fca7
X-Original-To: ietf-http-wg@w3.org
Subject: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12579
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>
Resent-Message-Id: <E1S21QV-0002UD-Mb@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 14:19:43 +0000

Hi all,

HTTPbis has amended the semantics of PUT to be unambiguous in its
prevention of partial updates. I cannot understand the rationale
behind this change, and I have a couple of questions for the group:

- Given that 2616 was ambiguous, is it acknowledged that this
represents a breaking change to any existing infrastructure that
relies on PUT requests that are permitted to be partial?

- How is it foreseen that this over-specification of PUT will benefit
the web? i.e. what infrastructure will be able to exist once all PUT
requests are unambiguously non-partial?

- Is it acknowledged that this change will effectively prevent proper
idempotent partial updates on the web?

- In light of the recent proliferation of 'mobile clients' which
operate on relatively slow and unreliable networks where partial
idempotent updates would be ideal; is the loss of idempotent partial
updates considered acceptable?

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 07:17:46 2012
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 165D321F8794 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 07:17:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.45
X-Spam-Level: 
X-Spam-Status: No, score=-8.45 tagged_above=-999 required=5 tests=[AWL=2.149, 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 33pYl6hvPoTa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 07:17:45 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 77DF321F878E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 07:17:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S22J8-0000xR-TH for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 15:16:10 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S22Io-0000gV-8h for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 15:15:50 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S22Ih-0007hA-3g for ietf-http-wg@w3.org; Mon, 27 Feb 2012 15:15:48 +0000
Received: (qmail invoked by alias); 27 Feb 2012 15:15:16 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp035) with SMTP; 27 Feb 2012 16:15:16 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1952/UGs9B5Z7rg+NNeMC5rkrROpRruXKYs9QuN2U tA+0x++t/vw3JY
Message-ID: <4F4B9DFB.4040903@gmx.de>
Date: Mon, 27 Feb 2012 16:15:07 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mike Kelly <mikekelly321@gmail.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com>
In-Reply-To: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S22Ih-0007hA-3g daca22cbc5d032f63add8c3ed4418f70
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4B9DFB.4040903@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12580
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>
Resent-Message-Id: <E1S22J8-0000xR-TH@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 15:16:10 +0000

On 2012-02-27 15:18, Mike Kelly wrote:
> Hi all,
>
> HTTPbis has amended the semantics of PUT to be unambiguous in its

"clarified", not "amended". The point being: PUT never allowed partial 
updates. Because people used if for partial updates anyway, we made that 
part clearer.

> prevention of partial updates. I cannot understand the rationale
> behind this change, and I have a couple of questions for the group:
>
> - Given that 2616 was ambiguous, is it acknowledged that this
> represents a breaking change to any existing infrastructure that
> relies on PUT requests that are permitted to be partial?

I don't think it ever was ambiguous.

"The PUT method requests that the enclosed entity be stored under the 
supplied Request-URI."

> - How is it foreseen that this over-specification of PUT will benefit
> the web? i.e. what infrastructure will be able to exist once all PUT
> requests are unambiguously non-partial?

I don't think it's an over-specification. And even if it was, it's not new.

> - Is it acknowledged that this change will effectively prevent proper
> idempotent partial updates on the web?

No. You can do idempotent partial updates with POST and PATCH (by 
including an If-Match header field).

> - In light of the recent proliferation of 'mobile clients' which
> operate on relatively slow and unreliable networks where partial
> idempotent updates would be ideal; is the loss of idempotent partial
> updates considered acceptable?

See above: (1) PUT never allowed partial updates, and (2) you don't need 
PUT to make modifications idempotent.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 07:37:50 2012
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 90B2621F8740 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 07:37:50 -0800 (PST)
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=[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 k6mgtpFUE8dO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 07:37:50 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EAA2D21F8730 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 07:37:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S22d3-0008HB-FU for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 15:36:45 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S22cm-0008FR-EC for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 15:36:28 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S22cb-00037N-OJ for ietf-http-wg@w3.org; Mon, 27 Feb 2012 15:36:27 +0000
Received: by yhkk6 with SMTP id k6so770498yhk.2 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 07:35:52 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) client-ip=10.60.2.162;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.60.2.162]) by 10.60.2.162 with SMTP id 2mr5697216oev.46.1330356952349 (num_hops = 1); Mon, 27 Feb 2012 07:35:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gEQ/L9ixqnoGwMW79VoTMYpqAlxnFtE3jwQu3urg/iQ=; b=uhO60nV9PoeyWuBtPA9+c7rULIdx4/c1iAHLxLByMC68buFJZ6yohij5KRA7/bVeRx yuS5D/xZqftJR6dwnTeFyF9J+Jd9S/Jr8T5+xemykzGgBwJvUbnLqS5ZBEfRYstvqm4j A1EYJwnlbnfwGzrZ4j1dGCbgu+aYV/WWBI37M=
MIME-Version: 1.0
Received: by 10.60.2.162 with SMTP id 2mr5035371oev.46.1330356952295; Mon, 27 Feb 2012 07:35:52 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Mon, 27 Feb 2012 07:35:52 -0800 (PST)
In-Reply-To: <4F4B9DFB.4040903@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de>
Date: Mon, 27 Feb 2012 15:35:52 +0000
Message-ID: <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.213.43; envelope-from=mikekelly321@gmail.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S22cb-00037N-OJ 5531ed733da5027d529113097ab219b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12581
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>
Resent-Message-Id: <E1S22d3-0008HB-FU@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 15:36:45 +0000

On Mon, Feb 27, 2012 at 3:15 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-02-27 15:18, Mike Kelly wrote:
>>
>> Hi all,
>>
>> HTTPbis has amended the semantics of PUT to be unambiguous in its
>
>
> "clarified", not "amended". The point being: PUT never allowed partial
> updates. Because people used if for partial updates anyway, we made that
> part clearer.
>
>
>> prevention of partial updates. I cannot understand the rationale
>> behind this change, and I have a couple of questions for the group:
>>
>> - Given that 2616 was ambiguous, is it acknowledged that this
>> represents a breaking change to any existing infrastructure that
>> relies on PUT requests that are permitted to be partial?
>
>
> I don't think it ever was ambiguous.
>
> "The PUT method requests that the enclosed entity be stored under the
> supplied Request-URI."
>

It was ambiguous enough to lead to real-world implementations which
directly violate it. You've said as much above, and the action to
ammend the semantics

>> - How is it foreseen that this over-specification of PUT will benefit
>> the web? i.e. what infrastructure will be able to exist once all PUT
>> requests are unambiguously non-partial?
>
>
> I don't think it's an over-specification. And even if it was, it's not new.

It is now explicit and non-ambiguous (i.e. prevented). That is new.

This is getting away from the real intention of the question: what are
your thoughts on the benefits of partial prevention vs non-prevention?

>> - Is it acknowledged that this change will effectively prevent proper
>> idempotent partial updates on the web?
>
>
> No. You can do idempotent partial updates with POST and PATCH (by including
> an If-Match header field).

I'm aware of this technique. It's neat, but I wouldn't consider it
explicitly idempotent; i.e. it's idempotent nature is not explicit and
is therefore not very visible. This is an issue for intermediary
components, such as HTTP client libraries in mobiles which (if the
request were PUT) could handle the re-issue of failed requests. Afaik,
this infrastructure already exists  right now on the web and works
fine for partial PUT requests.

>> - In light of the recent proliferation of 'mobile clients' which
>> operate on relatively slow and unreliable networks where partial
>> idempotent updates would be ideal; is the loss of idempotent partial
>> updates considered acceptable?
>
>
> See above: (1) PUT never allowed partial updates, and (2) you don't need PUT
> to make modifications idempotent.
>

as above:

(1) Then why were the semantics amended, and why would others have
implemented against the spec in that fashion?

(2) You need PUT to make a request that is visibly idempotent through
the network.

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 07:56:02 2012
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 EAFDF21F87A9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 07:56:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.473
X-Spam-Level: 
X-Spam-Status: No, score=-8.473 tagged_above=-999 required=5 tests=[AWL=2.126, 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 L+x92QWh7ZbY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 07:56:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4581021F879D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 07:56:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S22vJ-0003jR-5Z for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 15:55:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S22v3-0003iP-2w for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 15:55:21 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S22ut-0000jH-4u for ietf-http-wg@w3.org; Mon, 27 Feb 2012 15:55:20 +0000
Received: (qmail invoked by alias); 27 Feb 2012 15:54:44 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 27 Feb 2012 16:54:44 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+LKlYs81qL8nhtra3rgQ9S/p7B0yC1PCgg1G/rKR 2LHfZYikwfzOHn
Message-ID: <4F4BA740.5020102@gmx.de>
Date: Mon, 27 Feb 2012 16:54:40 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mike Kelly <mikekelly321@gmail.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com>
In-Reply-To: <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S22ut-0000jH-4u 57b8c922c4e8a9c3cbf01a30946f2f5b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4BA740.5020102@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12582
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>
Resent-Message-Id: <E1S22vJ-0003jR-5Z@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 15:55:37 +0000

On 2012-02-27 16:35, Mike Kelly wrote:
> ...
>> I don't think it ever was ambiguous.
>>
>> "The PUT method requests that the enclosed entity be stored under the
>> supplied Request-URI."
>>
>
> It was ambiguous enough to lead to real-world implementations which
> directly violate it. You've said as much above, and the action to
> ammend the semantics
> ...

Just because implementations get something wrong doesn't mean the spec 
was ambiguous; witness all the sites that did/do destructive things on 
GET, that do not implement HEAD, etc.

>> I don't think it's an over-specification. And even if it was, it's not new.
>
> It is now explicit and non-ambiguous (i.e. prevented). That is new.
>
> This is getting away from the real intention of the question: what are
> your thoughts on the benefits of partial prevention vs non-prevention?

You could ask the same question for most methods; PUT means "store" and 
always has. There's no good reason to change that (allowing partial 
updates would be a change).

>>> - Is it acknowledged that this change will effectively prevent proper
>>> idempotent partial updates on the web?
>>
>>
>> No. You can do idempotent partial updates with POST and PATCH (by including
>> an If-Match header field).
>
> I'm aware of this technique. It's neat, but I wouldn't consider it
> explicitly idempotent; i.e. it's idempotent nature is not explicit and
> is therefore not very visible. This is an issue for intermediary

How is is "not visible"?

> components, such as HTTP client libraries in mobiles which (if the
> request were PUT) could handle the re-issue of failed requests. Afaik,
> this infrastructure already exists  right now on the web and works
> fine for partial PUT requests.

Then I believe the right thing is to request changes to these libraries 
so that they handle PATCH (for instance) better.

>>> - In light of the recent proliferation of 'mobile clients' which
>>> operate on relatively slow and unreliable networks where partial
>>> idempotent updates would be ideal; is the loss of idempotent partial
>>> updates considered acceptable?
>>
>>
>> See above: (1) PUT never allowed partial updates, and (2) you don't need PUT
>> to make modifications idempotent.
>>
>
> as above:
>
> (1) Then why were the semantics amended, and why would others have
> implemented against the spec in that fashion?
>
> (2) You need PUT to make a request that is visibly idempotent through
> the network.

Yes, see above.

I think it's pretty clear that I won't convince you (the discussion 
happened before on rest-discuss I believe), and you won't convince me, 
so I'd be interested to hear other people's opinions.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 11:43:20 2012
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 4F9A921F8803 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 11:43:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=3.700, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 gjHur+Zg6b2N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 11:43:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A912A21F87F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 11:43:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S26SV-00040C-MQ for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 19:42:07 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <john-ietf@jck.com>) id 1S26SF-0003zG-Cq for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 19:41:51 +0000
Received: from bsa2.jck.com ([70.88.254.51]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <john-ietf@jck.com>) id 1S26S8-0001KZ-In for ietf-http-wg@w3.org; Mon, 27 Feb 2012 19:41:50 +0000
Received: from [198.252.137.7] (helo=PST.JCK.COM) by bsa2.jck.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1S26NX-000G8L-It; Mon, 27 Feb 2012 14:36:59 -0500
Date: Mon, 27 Feb 2012 14:41:15 -0500
From: John C Klensin <john-ietf@jck.com>
To: =?UTF-8?Q?Patrik_F=C3=A4ltstr=C3=B6m?= <patrik@frobbit.se>
cc: IETF Discussion <ietf@ietf.org>, =?UTF-8?Q?Patrik_F=C3=A4ltstr=C3=B6m?= <paf@frobbit.se>, mnot@mnot.net, iesg@ietf.org, ietf-http-wg@w3.org
Message-ID: <CE143B85CCFB2EDB6A7B260C@PST.JCK.COM>
In-Reply-To: <5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info> <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se> <DC8A7C4316C6F97607CFBCC6@PST.JCK.COM> <5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Received-SPF: none client-ip=70.88.254.51; envelope-from=john-ietf@jck.com; helo=bsa2.jck.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S26S8-0001KZ-In 068ca0fb0c8835122940b97c47c8bdd2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol  Bis (httpbis)
Archived-At: <http://www.w3.org/mid/CE143B85CCFB2EDB6A7B260C@PST.JCK.COM>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12583
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>
Resent-Message-Id: <E1S26SV-00040C-MQ@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 19:42:07 +0000

--On Friday, February 24, 2012 17:57 +0100 Patrik =
F=C3=A4ltstr=C3=B6m
<patrik@frobbit.se> wrote:

>=20
>=20
> On 24 feb 2012, at 17:43, John C Klensin <john-ietf@jck.com>
> wrote:
>=20
>> It is
>> the number of folks who, for lots of reasons, haven't =
upgraded
>> from operating systems, resolvers, etc., that don't support
>> newer RRTYPES.
>=20
> As I said, people disagree... ;-)

> As far as I know, there is nothing in any of the operating
> systems you mention that prohibits an application to send a
> random udp packet, and because of that your application can
> include a resolver library.
>=20
> What is a problem are the cases where DNS is not used at all
> at the end node, but instead other name binding/lookup
> protocols combined with a firewall policy that because of this
> can and is blocking udp+tcp/53 in various ways.

I'd suggest that there are two other problems.  One is that
per-application resolver setups pretty much prevent caching of
any flavor (possibly not an issue if one opens applications,
keeps them open for a long time, and uses different target sites
with different applications, but, if that scenario has been
studied wrt frequency, I'm not aware of it).  The other, more
important, issue is that it just about guarantees an
inconsistent user experience wrt the treatment of names. =20

Of course those are tradeoffs against locally-improved
functionality and reasonable people can disagree about how
important those issues are wrt the other considerations.


> That said, I still ask when it is, in general, time to just
> move forward. I see for example many other reasons why people
> should not use that old software. IE6 for example. Yes,
> economically constrained situations exists, but that problem
> do not go away by having us not start using SRV or HTTP/1.1 or
> SNI or HTML5.0 or...pick your favourite. And with SPF, that is
> not used by the edge node either.
>=20
> I am asking more generally why specifically this DNS issue is
> so stuck, because I think that is unfair. We upgrade other
> protocols...

Where I probably agree with you is that I think that we need to
evaluate costs, benefits, and risks and to do so against an
understanding and hope that we will have _many_ more Internet
users a decade from now than we do today.  Accepting the latter
may justify changes even more painful than transition to a new
RRTYPE if we understand that we are inconveniencing a relatively
small number of people today in order to make things much better
for a far larger future number.  And that is why I have never
believed in arguments for guaranteed absolute forward
compatibility in Internet, and Internet-like, situations.

> But my point is, people disagree. As we see here ;-)

Indeed.  Even though I would hope that we can at least mostly
agree about the facts even if we disagree about the tradeoffs to
which they lead.

    john



From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 13:25:21 2012
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 8D45221E8042 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 13:25:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.144
X-Spam-Level: 
X-Spam-Status: No, score=-9.144 tagged_above=-999 required=5 tests=[AWL=1.455, 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 iy2EpzC7+jQZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 13:25:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D421D21E803B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 13:25:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S282v-0007iO-74 for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 21:23:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1S282j-0007hS-MA for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 21:23:37 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a85.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S282h-0004p7-3i for ietf-http-wg@w3.org; Mon, 27 Feb 2012 21:23:36 +0000
Received: from homiemail-a85.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a85.g.dreamhost.com (Postfix) with ESMTP id 338A6BC04D; Mon, 27 Feb 2012 13:23:14 -0800 (PST)
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=rNqTvFaoM89b+DCE ZUXP4yjZy4K1QpEg3FMTXjLVDt3BufG/NLxZYoGEOehTsT+6rFzOm3eWkc8p0UD6 QHKc+mFYjA+pUobI+9TOYJlg5g5sgAkamL+hyYdhY902Trba5f8xeFS9xY38A9aO CH3UPQAyvT4b3CaJxsPc69r1eZw=
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=qf9hRJswDr4vSH9ut1TzsOxBihg=; b=ZtjV6Mc9dzlfgm+yc2N/GFVsYxTc xO19oy7Q/2DjODp5koe6XPyQqaOUO50THRcZr4T8lR3UhTAasmDk5WguuLdnJoH4 DsnWQTlQdvtO+SQ71EYE7HWKiKNQbC1MSkfTHFXH1n7rw+lB7XG6vvrTrh6fd6DP 0NDIvyGB0eNVFdM=
Received: from [10.134.89.83] (unknown [75.103.10.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a85.g.dreamhost.com (Postfix) with ESMTPSA id 111E0BC04A; Mon, 27 Feb 2012 13:23:14 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <4F4B5BFD.2030701@treenet.co.nz>
Date: Mon, 27 Feb 2012 13:23:15 -0800
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com>
References: <4F4AA9D9.5040000@informatik.uni-kiel.de> <4F4B5BFD.2030701@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.207; envelope-from=fielding@gbiv.com; helo=homiemail-a85.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: lisa.w3.org 1S282h-0004p7-3i 92604a8ccc0e703ad100ad856e3bf251
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12584
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>
Resent-Message-Id: <E1S282v-0007iO-74@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 21:23:49 +0000

On Feb 27, 2012, at 2:33 AM, Amos Jeffries wrote:

> On 27/02/2012 10:54 a.m., Fiona Schmidtke wrote:
>> Hi,
>>=20
>> I've just put together a simple website [1] that tries to explain =
HTTP at a glance for all the web developers out there that do not care =
about HTTP at the moment. (e.g. that ones who use GET and POST methods =
interchangeably and state something like "POST is safer than GET, =
because it does not append the data to the URL").
>> It would be nice if someone could have a look and give some feedback, =
as I don't know if I have covered most of the important things that such =
new developers should get to know. Please don't be too harsh to me, as =
I'm new to the topic, but I'd like to give my best to contribute to the =
understanding of HTTP.
>>=20
>> Regards,
>> Fiona
>>=20
>> [1] http://semfact.github.com/httpataglance/
>>=20
>=20
> Nice.
>=20
> Three nitpicks though:
> + PUT is replace or create a resource.
> + POST is send some data to a script or service. NOT create, that is =
one of the big mistakes web dev make today which needs fixing.

No, POST can create resources.  The only difference is that the client =
doesn't
know how the resource(s) will be identified after being created.

....Roy=


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 15:08:30 2012
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 6E30621E802F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 15:08:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.286
X-Spam-Level: 
X-Spam-Status: No, score=-10.286 tagged_above=-999 required=5 tests=[AWL=0.313, 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 g5GQIyvZYyop for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 15:08:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A980721E800C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 15:08:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S29f2-0005bw-Hn for ietf-http-wg-dist@listhub.w3.org; Mon, 27 Feb 2012 23:07:16 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S29em-0005Yk-LM for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 23:07:00 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S29eg-0008Gb-QJ for ietf-http-wg@w3.org; Mon, 27 Feb 2012 23:06:59 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 1FDE4E6EC1; Tue, 28 Feb 2012 12:06:15 +1300 (NZDT)
To: "Roy T. Fielding" <fielding@gbiv.com>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 28 Feb 2012 12:06:13 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: <ietf-http-wg@w3.org>
In-Reply-To: <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com>
References: <4F4AA9D9.5040000@informatik.uni-kiel.de> <4F4B5BFD.2030701@treenet.co.nz> <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com>
Message-ID: <7b96f0352567a7a2071eca5f9e5f0975@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S29eg-0008Gb-QJ b4fc590ac0f9165b84fd401d0136b513
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/7b96f0352567a7a2071eca5f9e5f0975@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12585
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>
Resent-Message-Id: <E1S29f2-0005bw-Hn@frink.w3.org>
Resent-Date: Mon, 27 Feb 2012 23:07:16 +0000

On 28.02.2012 10:23, Roy T. Fielding wrote:
> On Feb 27, 2012, at 2:33 AM, Amos Jeffries wrote:
>
>> On 27/02/2012 10:54 a.m., Fiona Schmidtke wrote:
>>> Hi,
>>>
>>> I've just put together a simple website [1] that tries to explain 
>>> HTTP at a glance for all the web developers out there that do not 
>>> care about HTTP at the moment. (e.g. that ones who use GET and POST 
>>> methods interchangeably and state something like "POST is safer than 
>>> GET, because it does not append the data to the URL").
>>> It would be nice if someone could have a look and give some 
>>> feedback, as I don't know if I have covered most of the important 
>>> things that such new developers should get to know. Please don't be 
>>> too harsh to me, as I'm new to the topic, but I'd like to give my 
>>> best to contribute to the understanding of HTTP.
>>>
>>> Regards,
>>> Fiona
>>>
>>> [1] http://semfact.github.com/httpataglance/
>>>
>>
>> Nice.
>>
>> Three nitpicks though:
>> + PUT is replace or create a resource.
>> + POST is send some data to a script or service. NOT create, that is 
>> one of the big mistakes web dev make today which needs fixing.
>
> No, POST can create resources.  The only difference is that the
> client doesn't
> know how the resource(s) will be identified after being created.


Only in so far as a script being capable of doing anything it likes. 
There is always a processing layer required on the POST. To convert from 
POST data format and location to whatever the created resource format 
and name is an implementation detail.

At the level of simplification that document has it's clearer to say 
simply "send some data", glossing over details of what the 
script/service implementation could potentially do with the data.

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 16:30:43 2012
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 B43C021F8680 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 16:30:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.514
X-Spam-Level: 
X-Spam-Status: No, score=-7.514 tagged_above=-999 required=5 tests=[AWL=3.085, 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 gyoOFLKCuCl2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 16:30:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CCAF521F8673 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 16:30:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2AwV-0008NP-EE for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 00:29:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2Aw0-0008I0-0E for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 00:28:52 +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 1S2Avw-00029Z-Eb for ietf-http-wg@w3.org; Tue, 28 Feb 2012 00:28:50 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3386)) with SMTP id <0018887763@smtp.qbik.com>; Tue, 28 Feb 2012 13:28:23 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3387)) with SMTP id <0010066181@sago.qbik.com>; Tue, 28 Feb 2012 13:28:12 +1300
Message-ID: <4F4C1F9C.6030006@qbik.com>
Date: Tue, 28 Feb 2012 13:28:12 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: Mike Kelly <mikekelly321@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de>
In-Reply-To: <4F4BA740.5020102@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2Avw-00029Z-Eb e91ab7e603d5989338f13816bc187d62
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4C1F9C.6030006@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12586
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>
Resent-Message-Id: <E1S2AwV-0008NP-EE@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 00:29:23 +0000

I've always had an issue with this concept of "Idempotence".  I really 
wonder whether it actually exists in the real web.

Many servers can and do have side effects for any particular method.

So one cannot claim that any method is in fact Idempotent?  Not in all 
cases anyway.  One could write a script for which POST was idempotent.  
Likewise there are plenty of URIs where GET is not.

I think the concept is not well understood in the web authoring space, 
and no-one really takes much care to make website implementations honour 
the intent of HTTP wrt methods which are supposed to be Idempotent.

My point is, why persist with this language?

Adrien

On 28/02/2012 4:54 a.m., Julian Reschke wrote:
> On 2012-02-27 16:35, Mike Kelly wrote:
>> ...
>>> I don't think it ever was ambiguous.
>>>
>>> "The PUT method requests that the enclosed entity be stored under the
>>> supplied Request-URI."
>>>
>>
>> It was ambiguous enough to lead to real-world implementations which
>> directly violate it. You've said as much above, and the action to
>> ammend the semantics
>> ...
>
> Just because implementations get something wrong doesn't mean the spec 
> was ambiguous; witness all the sites that did/do destructive things on 
> GET, that do not implement HEAD, etc.
>
>>> I don't think it's an over-specification. And even if it was, it's 
>>> not new.
>>
>> It is now explicit and non-ambiguous (i.e. prevented). That is new.
>>
>> This is getting away from the real intention of the question: what are
>> your thoughts on the benefits of partial prevention vs non-prevention?
>
> You could ask the same question for most methods; PUT means "store" 
> and always has. There's no good reason to change that (allowing 
> partial updates would be a change).
>
>>>> - Is it acknowledged that this change will effectively prevent proper
>>>> idempotent partial updates on the web?
>>>
>>>
>>> No. You can do idempotent partial updates with POST and PATCH (by 
>>> including
>>> an If-Match header field).
>>
>> I'm aware of this technique. It's neat, but I wouldn't consider it
>> explicitly idempotent; i.e. it's idempotent nature is not explicit and
>> is therefore not very visible. This is an issue for intermediary
>
> How is is "not visible"?
>
>> components, such as HTTP client libraries in mobiles which (if the
>> request were PUT) could handle the re-issue of failed requests. Afaik,
>> this infrastructure already exists  right now on the web and works
>> fine for partial PUT requests.
>
> Then I believe the right thing is to request changes to these 
> libraries so that they handle PATCH (for instance) better.
>
>>>> - In light of the recent proliferation of 'mobile clients' which
>>>> operate on relatively slow and unreliable networks where partial
>>>> idempotent updates would be ideal; is the loss of idempotent partial
>>>> updates considered acceptable?
>>>
>>>
>>> See above: (1) PUT never allowed partial updates, and (2) you don't 
>>> need PUT
>>> to make modifications idempotent.
>>>
>>
>> as above:
>>
>> (1) Then why were the semantics amended, and why would others have
>> implemented against the spec in that fashion?
>>
>> (2) You need PUT to make a request that is visibly idempotent through
>> the network.
>
> Yes, see above.
>
> I think it's pretty clear that I won't convince you (the discussion 
> happened before on rest-discuss I believe), and you won't convince me, 
> so I'd be interested to hear other people's opinions.
>
> Best regards, Julian
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 16:42:26 2012
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 515D921E8024 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 16:42:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 YRTNvIGECuQA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 16:42:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D86AD21E800C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 16:42:24 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2B8E-00045Q-Al for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 00:41:30 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1S2B82-00040s-Ht for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 00:41:18 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1S2B7z-0000vD-Fk for ietf-http-wg@w3.org; Tue, 28 Feb 2012 00:41:17 +0000
Received: by wibhm2 with SMTP id hm2so4039005wib.2 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 16:40:49 -0800 (PST)
Received-SPF: pass (google.com: domain of jasnell@gmail.com designates 10.180.86.9 as permitted sender) client-ip=10.180.86.9;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of jasnell@gmail.com designates 10.180.86.9 as permitted sender) smtp.mail=jasnell@gmail.com; dkim=pass header.i=jasnell@gmail.com
Received: from mr.google.com ([10.180.86.9]) by 10.180.86.9 with SMTP id l9mr33361572wiz.15.1330389649995 (num_hops = 1); Mon, 27 Feb 2012 16:40:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BeOcdgZFXV5ruHadKUE2r41HyMFsTZYbT/jgrnfoA/U=; b=wMQLsX60YQQnpylT/nn31lyO17MM3lDY8xXde8eY7GERNqpZwVFXNJasq98Td/dMvr TnShDpJEJmt87f1Mb+WpQaug8yxYJaXuP9Jdm9h4gDcxSbUx0QLsV2z4FI/uDXXj9HSh SUTPcQWg5Z8QjPu9xYfAh3uTIGhfZTeLf3u9E=
MIME-Version: 1.0
Received: by 10.180.86.9 with SMTP id l9mr26475339wiz.15.1330389649945; Mon, 27 Feb 2012 16:40:49 -0800 (PST)
Received: by 10.223.86.8 with HTTP; Mon, 27 Feb 2012 16:40:49 -0800 (PST)
Received: by 10.223.86.8 with HTTP; Mon, 27 Feb 2012 16:40:49 -0800 (PST)
In-Reply-To: <4F4C1F9C.6030006@qbik.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com>
Date: Mon, 27 Feb 2012 16:40:49 -0800
Message-ID: <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Adrien de Croy <adrien@qbik.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>,  Mike Kelly <mikekelly321@gmail.com>
Content-Type: multipart/alternative; boundary=f46d044287be7f758804b9fb7a39
Received-SPF: pass client-ip=209.85.212.171; envelope-from=jasnell@gmail.com; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2B7z-0000vD-Fk cd923d4c66234646dcda534fd06fae2d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12587
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>
Resent-Message-Id: <E1S2B8E-00045Q-Al@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 00:41:30 +0000

--f46d044287be7f758804b9fb7a39
Content-Type: text/plain; charset=UTF-8

The possible idempotency of a partial update depends entirely on the nature
of the resource being updated, not the method used. At the http level, a
partial update can never be assumed to be idempotent, even if that's how
it's implemented in one specific case. The semantics of put are clear in
that it always must be considered to be idempotent.
On Feb 27, 2012 4:30 PM, "Adrien de Croy" <adrien@qbik.com> wrote:

>
> I've always had an issue with this concept of "Idempotence".  I really
> wonder whether it actually exists in the real web.
>
> Many servers can and do have side effects for any particular method.
>
> So one cannot claim that any method is in fact Idempotent?  Not in all
> cases anyway.  One could write a script for which POST was idempotent.
>  Likewise there are plenty of URIs where GET is not.
>
> I think the concept is not well understood in the web authoring space, and
> no-one really takes much care to make website implementations honour the
> intent of HTTP wrt methods which are supposed to be Idempotent.
>
> My point is, why persist with this language?
>
> Adrien
>
> On 28/02/2012 4:54 a.m., Julian Reschke wrote:
>
>> On 2012-02-27 16:35, Mike Kelly wrote:
>>
>>> ...
>>>
>>>> I don't think it ever was ambiguous.
>>>>
>>>> "The PUT method requests that the enclosed entity be stored under the
>>>> supplied Request-URI."
>>>>
>>>>
>>> It was ambiguous enough to lead to real-world implementations which
>>> directly violate it. You've said as much above, and the action to
>>> ammend the semantics
>>> ...
>>>
>>
>> Just because implementations get something wrong doesn't mean the spec
>> was ambiguous; witness all the sites that did/do destructive things on GET,
>> that do not implement HEAD, etc.
>>
>>  I don't think it's an over-specification. And even if it was, it's not
>>>> new.
>>>>
>>>
>>> It is now explicit and non-ambiguous (i.e. prevented). That is new.
>>>
>>> This is getting away from the real intention of the question: what are
>>> your thoughts on the benefits of partial prevention vs non-prevention?
>>>
>>
>> You could ask the same question for most methods; PUT means "store" and
>> always has. There's no good reason to change that (allowing partial updates
>> would be a change).
>>
>>  - Is it acknowledged that this change will effectively prevent proper
>>>>> idempotent partial updates on the web?
>>>>>
>>>>
>>>>
>>>> No. You can do idempotent partial updates with POST and PATCH (by
>>>> including
>>>> an If-Match header field).
>>>>
>>>
>>> I'm aware of this technique. It's neat, but I wouldn't consider it
>>> explicitly idempotent; i.e. it's idempotent nature is not explicit and
>>> is therefore not very visible. This is an issue for intermediary
>>>
>>
>> How is is "not visible"?
>>
>>  components, such as HTTP client libraries in mobiles which (if the
>>> request were PUT) could handle the re-issue of failed requests. Afaik,
>>> this infrastructure already exists  right now on the web and works
>>> fine for partial PUT requests.
>>>
>>
>> Then I believe the right thing is to request changes to these libraries
>> so that they handle PATCH (for instance) better.
>>
>>  - In light of the recent proliferation of 'mobile clients' which
>>>>> operate on relatively slow and unreliable networks where partial
>>>>> idempotent updates would be ideal; is the loss of idempotent partial
>>>>> updates considered acceptable?
>>>>>
>>>>
>>>>
>>>> See above: (1) PUT never allowed partial updates, and (2) you don't
>>>> need PUT
>>>> to make modifications idempotent.
>>>>
>>>>
>>> as above:
>>>
>>> (1) Then why were the semantics amended, and why would others have
>>> implemented against the spec in that fashion?
>>>
>>> (2) You need PUT to make a request that is visibly idempotent through
>>> the network.
>>>
>>
>> Yes, see above.
>>
>> I think it's pretty clear that I won't convince you (the discussion
>> happened before on rest-discuss I believe), and you won't convince me, so
>> I'd be interested to hear other people's opinions.
>>
>> Best regards, Julian
>>
>>
> --
> Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
> WinGate 7 is released! - http://www.wingate.com/**getlatest/<http://www.wingate.com/getlatest/>
>
>
>

--f46d044287be7f758804b9fb7a39
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>The possible idempotency of a partial update depends entirely on the nat=
ure of the resource being updated, not the method used. At the http level, =
a partial update can never be assumed to be idempotent, even if that&#39;s =
how it&#39;s implemented in one specific case. The semantics of put are cle=
ar in that it always must be considered to be idempotent.</p>

<div class=3D"gmail_quote">On Feb 27, 2012 4:30 PM, &quot;Adrien de Croy&qu=
ot; &lt;<a href=3D"mailto:adrien@qbik.com">adrien@qbik.com</a>&gt; wrote:<b=
r type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I&#39;ve always had an issue with this concept of &quot;Idempotence&quot;. =
=C2=A0I really wonder whether it actually exists in the real web.<br>
<br>
Many servers can and do have side effects for any particular method.<br>
<br>
So one cannot claim that any method is in fact Idempotent? =C2=A0Not in all=
 cases anyway. =C2=A0One could write a script for which POST was idempotent=
. =C2=A0Likewise there are plenty of URIs where GET is not.<br>
<br>
I think the concept is not well understood in the web authoring space, and =
no-one really takes much care to make website implementations honour the in=
tent of HTTP wrt methods which are supposed to be Idempotent.<br>
<br>
My point is, why persist with this language?<br>
<br>
Adrien<br>
<br>
On 28/02/2012 4:54 a.m., Julian Reschke wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On 2012-02-27 16:35, Mike Kelly wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
...<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I don&#39;t think it ever was ambiguous.<br>
<br>
&quot;The PUT method requests that the enclosed entity be stored under the<=
br>
supplied Request-URI.&quot;<br>
<br>
</blockquote>
<br>
It was ambiguous enough to lead to real-world implementations which<br>
directly violate it. You&#39;ve said as much above, and the action to<br>
ammend the semantics<br>
...<br>
</blockquote>
<br>
Just because implementations get something wrong doesn&#39;t mean the spec =
was ambiguous; witness all the sites that did/do destructive things on GET,=
 that do not implement HEAD, etc.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don&#39;t think it&#39;s an over-specification. And even if it was, it&#3=
9;s not new.<br>
</blockquote>
<br>
It is now explicit and non-ambiguous (i.e. prevented). That is new.<br>
<br>
This is getting away from the real intention of the question: what are<br>
your thoughts on the benefits of partial prevention vs non-prevention?<br>
</blockquote>
<br>
You could ask the same question for most methods; PUT means &quot;store&quo=
t; and always has. There&#39;s no good reason to change that (allowing part=
ial updates would be a change).<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

- Is it acknowledged that this change will effectively prevent proper<br>
idempotent partial updates on the web?<br>
</blockquote>
<br>
<br>
No. You can do idempotent partial updates with POST and PATCH (by including=
<br>
an If-Match header field).<br>
</blockquote>
<br>
I&#39;m aware of this technique. It&#39;s neat, but I wouldn&#39;t consider=
 it<br>
explicitly idempotent; i.e. it&#39;s idempotent nature is not explicit and<=
br>
is therefore not very visible. This is an issue for intermediary<br>
</blockquote>
<br>
How is is &quot;not visible&quot;?<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
components, such as HTTP client libraries in mobiles which (if the<br>
request were PUT) could handle the re-issue of failed requests. Afaik,<br>
this infrastructure already exists =C2=A0right now on the web and works<br>
fine for partial PUT requests.<br>
</blockquote>
<br>
Then I believe the right thing is to request changes to these libraries so =
that they handle PATCH (for instance) better.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

- In light of the recent proliferation of &#39;mobile clients&#39; which<br=
>
operate on relatively slow and unreliable networks where partial<br>
idempotent updates would be ideal; is the loss of idempotent partial<br>
updates considered acceptable?<br>
</blockquote>
<br>
<br>
See above: (1) PUT never allowed partial updates, and (2) you don&#39;t nee=
d PUT<br>
to make modifications idempotent.<br>
<br>
</blockquote>
<br>
as above:<br>
<br>
(1) Then why were the semantics amended, and why would others have<br>
implemented against the spec in that fashion?<br>
<br>
(2) You need PUT to make a request that is visibly idempotent through<br>
the network.<br>
</blockquote>
<br>
Yes, see above.<br>
<br>
I think it&#39;s pretty clear that I won&#39;t convince you (the discussion=
 happened before on rest-discuss I believe), and you won&#39;t convince me,=
 so I&#39;d be interested to hear other people&#39;s opinions.<br>
<br>
Best regards, Julian<br>
<br>
</blockquote>
<br>
-- <br>
Adrien de Croy - WinGate Proxy Server - <a href=3D"http://www.wingate.com" =
target=3D"_blank">http://www.wingate.com</a><br>
WinGate 7 is released! - <a href=3D"http://www.wingate.com/getlatest/" targ=
et=3D"_blank">http://www.wingate.com/<u></u>getlatest/</a><br>
<br>
<br>
</blockquote></div>

--f46d044287be7f758804b9fb7a39--


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 16:57:44 2012
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 55F8F21F8702 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 16:57:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.556
X-Spam-Level: 
X-Spam-Status: No, score=-7.556 tagged_above=-999 required=5 tests=[AWL=3.042, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 hiVw5UTOLv9D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 16:57:43 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31E0C21F86FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 16:57:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2BM1-0000N3-VN for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 00:55:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2BLp-0000LD-SF for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 00:55:33 +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 1S2BLm-0003JW-Se for ietf-http-wg@w3.org; Tue, 28 Feb 2012 00:55:33 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3386)) with SMTP id <0018887790@smtp.qbik.com>; Tue, 28 Feb 2012 13:55:08 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3387)) with SMTP id <0010066194@sago.qbik.com>; Tue, 28 Feb 2012 13:54:57 +1300
Message-ID: <4F4C25E1.3040500@qbik.com>
Date: Tue, 28 Feb 2012 13:54:57 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Julian Reschke <julian.reschke@gmx.de>,  HTTP Working Group <ietf-http-wg@w3.org>, Mike Kelly <mikekelly321@gmail.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com>
In-Reply-To: <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------070104010901090406060502"
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2BLm-0003JW-Se 41dda5960484c286ffe607428c889213
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4C25E1.3040500@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12588
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>
Resent-Message-Id: <E1S2BM1-0000N3-VN@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 00:55:45 +0000

This is a multi-part message in MIME format.
--------------070104010901090406060502
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit


I wasn't talking so much about partial updates using PUT, but the 
general reliance on the concept of idempotence at all.

Various features in HTTP, such as pipelining, recovering from closes etc 
rely on certain methods being idempotent.  I would propose one can never 
assume any method is idempotent, since that is up to server-side 
implementation.

Whether in practise PUT is usually actually idempotent or not I don't 
have any information.

But my feeling is there is a disconnect between HTTP and those making 
websites in this regard.

On 28/02/2012 1:40 p.m., James M Snell wrote:
>
> The possible idempotency of a partial update depends entirely on the 
> nature of the resource being updated, not the method used. At the http 
> level, a partial update can never be assumed to be idempotent, even if 
> that's how it's implemented in one specific case. The semantics of put 
> are clear in that it always must be considered to be idempotent.
>
> On Feb 27, 2012 4:30 PM, "Adrien de Croy" <adrien@qbik.com 
> <mailto:adrien@qbik.com>> wrote:
>
>
>     I've always had an issue with this concept of "Idempotence".  I
>     really wonder whether it actually exists in the real web.
>
>     Many servers can and do have side effects for any particular method.
>
>     So one cannot claim that any method is in fact Idempotent?  Not in
>     all cases anyway.  One could write a script for which POST was
>     idempotent.  Likewise there are plenty of URIs where GET is not.
>
>     I think the concept is not well understood in the web authoring
>     space, and no-one really takes much care to make website
>     implementations honour the intent of HTTP wrt methods which are
>     supposed to be Idempotent.
>
>     My point is, why persist with this language?
>
>     Adrien
>
>     On 28/02/2012 4:54 a.m., Julian Reschke wrote:
>
>         On 2012-02-27 16:35, Mike Kelly wrote:
>
>             ...
>
>                 I don't think it ever was ambiguous.
>
>                 "The PUT method requests that the enclosed entity be
>                 stored under the
>                 supplied Request-URI."
>
>
>             It was ambiguous enough to lead to real-world
>             implementations which
>             directly violate it. You've said as much above, and the
>             action to
>             ammend the semantics
>             ...
>
>
>         Just because implementations get something wrong doesn't mean
>         the spec was ambiguous; witness all the sites that did/do
>         destructive things on GET, that do not implement HEAD, etc.
>
>                 I don't think it's an over-specification. And even if
>                 it was, it's not new.
>
>
>             It is now explicit and non-ambiguous (i.e. prevented).
>             That is new.
>
>             This is getting away from the real intention of the
>             question: what are
>             your thoughts on the benefits of partial prevention vs
>             non-prevention?
>
>
>         You could ask the same question for most methods; PUT means
>         "store" and always has. There's no good reason to change that
>         (allowing partial updates would be a change).
>
>                     - Is it acknowledged that this change will
>                     effectively prevent proper
>                     idempotent partial updates on the web?
>
>
>
>                 No. You can do idempotent partial updates with POST
>                 and PATCH (by including
>                 an If-Match header field).
>
>
>             I'm aware of this technique. It's neat, but I wouldn't
>             consider it
>             explicitly idempotent; i.e. it's idempotent nature is not
>             explicit and
>             is therefore not very visible. This is an issue for
>             intermediary
>
>
>         How is is "not visible"?
>
>             components, such as HTTP client libraries in mobiles which
>             (if the
>             request were PUT) could handle the re-issue of failed
>             requests. Afaik,
>             this infrastructure already exists  right now on the web
>             and works
>             fine for partial PUT requests.
>
>
>         Then I believe the right thing is to request changes to these
>         libraries so that they handle PATCH (for instance) better.
>
>                     - In light of the recent proliferation of 'mobile
>                     clients' which
>                     operate on relatively slow and unreliable networks
>                     where partial
>                     idempotent updates would be ideal; is the loss of
>                     idempotent partial
>                     updates considered acceptable?
>
>
>
>                 See above: (1) PUT never allowed partial updates, and
>                 (2) you don't need PUT
>                 to make modifications idempotent.
>
>
>             as above:
>
>             (1) Then why were the semantics amended, and why would
>             others have
>             implemented against the spec in that fashion?
>
>             (2) You need PUT to make a request that is visibly
>             idempotent through
>             the network.
>
>
>         Yes, see above.
>
>         I think it's pretty clear that I won't convince you (the
>         discussion happened before on rest-discuss I believe), and you
>         won't convince me, so I'd be interested to hear other people's
>         opinions.
>
>         Best regards, Julian
>
>
>     -- 
>     Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
>     WinGate 7 is released! - http://www.wingate.com/getlatest/
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/


--------------070104010901090406060502
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    I wasn't talking so much about partial updates using PUT, but the
    general reliance on the concept of idempotence at all.<br>
    <br>
    Various features in HTTP, such as pipelining, recovering from closes
    etc rely on certain methods being idempotent.Â  I would propose one
    can never assume any method is idempotent, since that is up to
    server-side implementation.<br>
    <br>
    Whether in practise PUT is usually actually idempotent or not I
    don't have any information. <br>
    <br>
    But my feeling is there is a disconnect between HTTP and those
    making websites in this regard.<br>
    <br>
    On 28/02/2012 1:40 p.m., James M Snell wrote:
    <blockquote
cite="mid:CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com"
      type="cite">
      <p>The possible idempotency of a partial update depends entirely
        on the nature of the resource being updated, not the method
        used. At the http level, a partial update can never be assumed
        to be idempotent, even if that's how it's implemented in one
        specific case. The semantics of put are clear in that it always
        must be considered to be idempotent.</p>
      <div class="gmail_quote">On Feb 27, 2012 4:30 PM, "Adrien de Croy"
        &lt;<a moz-do-not-send="true" href="mailto:adrien@qbik.com">adrien@qbik.com</a>&gt;
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
          I've always had an issue with this concept of "Idempotence".
          Â I really wonder whether it actually exists in the real web.<br>
          <br>
          Many servers can and do have side effects for any particular
          method.<br>
          <br>
          So one cannot claim that any method is in fact Idempotent?
          Â Not in all cases anyway. Â One could write a script for which
          POST was idempotent. Â Likewise there are plenty of URIs where
          GET is not.<br>
          <br>
          I think the concept is not well understood in the web
          authoring space, and no-one really takes much care to make
          website implementations honour the intent of HTTP wrt methods
          which are supposed to be Idempotent.<br>
          <br>
          My point is, why persist with this language?<br>
          <br>
          Adrien<br>
          <br>
          On 28/02/2012 4:54 a.m., Julian Reschke wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            On 2012-02-27 16:35, Mike Kelly wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              ...<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                I don't think it ever was ambiguous.<br>
                <br>
                "The PUT method requests that the enclosed entity be
                stored under the<br>
                supplied Request-URI."<br>
                <br>
              </blockquote>
              <br>
              It was ambiguous enough to lead to real-world
              implementations which<br>
              directly violate it. You've said as much above, and the
              action to<br>
              ammend the semantics<br>
              ...<br>
            </blockquote>
            <br>
            Just because implementations get something wrong doesn't
            mean the spec was ambiguous; witness all the sites that
            did/do destructive things on GET, that do not implement
            HEAD, etc.<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                I don't think it's an over-specification. And even if it
                was, it's not new.<br>
              </blockquote>
              <br>
              It is now explicit and non-ambiguous (i.e. prevented).
              That is new.<br>
              <br>
              This is getting away from the real intention of the
              question: what are<br>
              your thoughts on the benefits of partial prevention vs
              non-prevention?<br>
            </blockquote>
            <br>
            You could ask the same question for most methods; PUT means
            "store" and always has. There's no good reason to change
            that (allowing partial updates would be a change).<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  - Is it acknowledged that this change will effectively
                  prevent proper<br>
                  idempotent partial updates on the web?<br>
                </blockquote>
                <br>
                <br>
                No. You can do idempotent partial updates with POST and
                PATCH (by including<br>
                an If-Match header field).<br>
              </blockquote>
              <br>
              I'm aware of this technique. It's neat, but I wouldn't
              consider it<br>
              explicitly idempotent; i.e. it's idempotent nature is not
              explicit and<br>
              is therefore not very visible. This is an issue for
              intermediary<br>
            </blockquote>
            <br>
            How is is "not visible"?<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              components, such as HTTP client libraries in mobiles which
              (if the<br>
              request were PUT) could handle the re-issue of failed
              requests. Afaik,<br>
              this infrastructure already exists Â right now on the web
              and works<br>
              fine for partial PUT requests.<br>
            </blockquote>
            <br>
            Then I believe the right thing is to request changes to
            these libraries so that they handle PATCH (for instance)
            better.<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  - In light of the recent proliferation of 'mobile
                  clients' which<br>
                  operate on relatively slow and unreliable networks
                  where partial<br>
                  idempotent updates would be ideal; is the loss of
                  idempotent partial<br>
                  updates considered acceptable?<br>
                </blockquote>
                <br>
                <br>
                See above: (1) PUT never allowed partial updates, and
                (2) you don't need PUT<br>
                to make modifications idempotent.<br>
                <br>
              </blockquote>
              <br>
              as above:<br>
              <br>
              (1) Then why were the semantics amended, and why would
              others have<br>
              implemented against the spec in that fashion?<br>
              <br>
              (2) You need PUT to make a request that is visibly
              idempotent through<br>
              the network.<br>
            </blockquote>
            <br>
            Yes, see above.<br>
            <br>
            I think it's pretty clear that I won't convince you (the
            discussion happened before on rest-discuss I believe), and
            you won't convince me, so I'd be interested to hear other
            people's opinions.<br>
            <br>
            Best regards, Julian<br>
            <br>
          </blockquote>
          <br>
          -- <br>
          Adrien de Croy - WinGate Proxy Server - <a
            moz-do-not-send="true" href="http://www.wingate.com"
            target="_blank">http://www.wingate.com</a><br>
          WinGate 7 is released! - <a moz-do-not-send="true"
            href="http://www.wingate.com/getlatest/" target="_blank">http://www.wingate.com/getlatest/</a><br>
          <br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Adrien de Croy - WinGate Proxy Server - <a class="moz-txt-link-freetext" href="http://www.wingate.com">http://www.wingate.com</a>
WinGate 7 is released! - <a class="moz-txt-link-freetext" href="http://www.wingate.com/getlatest/">http://www.wingate.com/getlatest/</a></pre>
  </body>
</html>

--------------070104010901090406060502--


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 17:20:40 2012
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 8167D21E8024 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:20:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.301
X-Spam-Level: 
X-Spam-Status: No, score=-10.301 tagged_above=-999 required=5 tests=[AWL=0.298, 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 7Ji4bNaRhKGq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:20:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A771721E800C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 17:20:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2BjN-0008AD-Hv for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 01:19:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2BjB-00087o-Qz for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 01:19:41 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2Bj7-0002Pl-PI for ietf-http-wg@w3.org; Tue, 28 Feb 2012 01:19:40 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 4A9F4E6EB6; Tue, 28 Feb 2012 14:18:59 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 28 Feb 2012 14:18:58 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4F4BA740.5020102@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de>
Message-ID: <b4ec1c1dbb23913b4a5a03c624b73bc2@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2Bj7-0002Pl-PI c4de8a5a3b1c6b3359cd898186aeaa6e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/b4ec1c1dbb23913b4a5a03c624b73bc2@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12589
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>
Resent-Message-Id: <E1S2BjN-0008AD-Hv@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 01:19:53 +0000

On 28.02.2012 04:54, Julian Reschke wrote:
> On 2012-02-27 16:35, Mike Kelly wrote:
>> ...
>>> I don't think it ever was ambiguous.
>>>
>>> "The PUT method requests that the enclosed entity be stored under 
>>> the
>>> supplied Request-URI."
>>>
>>
>> It was ambiguous enough to lead to real-world implementations which
>> directly violate it. You've said as much above, and the action to
>> ammend the semantics
>> ...
>
> Just because implementations get something wrong doesn't mean the
> spec was ambiguous; witness all the sites that did/do destructive
> things on GET, that do not implement HEAD, etc.
>
>>> I don't think it's an over-specification. And even if it was, it's 
>>> not new.
>>
>> It is now explicit and non-ambiguous (i.e. prevented). That is new.
>>
>> This is getting away from the real intention of the question: what 
>> are
>> your thoughts on the benefits of partial prevention vs 
>> non-prevention?
>
> You could ask the same question for most methods; PUT means "store"
> and always has. There's no good reason to change that (allowing
> partial updates would be a change).
>
>>>> - Is it acknowledged that this change will effectively prevent 
>>>> proper
>>>> idempotent partial updates on the web?
>>>
>>>
>>> No. You can do idempotent partial updates with POST and PATCH (by 
>>> including
>>> an If-Match header field).
>>
>> I'm aware of this technique. It's neat, but I wouldn't consider it
>> explicitly idempotent; i.e. it's idempotent nature is not explicit 
>> and
>> is therefore not very visible. This is an issue for intermediary
>
> How is is "not visible"?

This is a side-track argument anyway. To work with partials PUT also 
requires If-Match. Without it PUT becomes non-idempotent and one might 
as well use PATCH.

That side effect is not very visible in the 2616 wording. In the new 
HTTPbis wording there is no choice of getting it wrong, they need to use 
PATCH.

>
>> components, such as HTTP client libraries in mobiles which (if the
>> request were PUT) could handle the re-issue of failed requests. 
>> Afaik,
>> this infrastructure already exists  right now on the web and works
>> fine for partial PUT requests.
>
> Then I believe the right thing is to request changes to these
> libraries so that they handle PATCH (for instance) better.
>

Yes.

>>>> - In light of the recent proliferation of 'mobile clients' which
>>>> operate on relatively slow and unreliable networks where partial
>>>> idempotent updates would be ideal; is the loss of idempotent 
>>>> partial
>>>> updates considered acceptable?
>>>
>>>
>>> See above: (1) PUT never allowed partial updates, and (2) you don't 
>>> need PUT
>>> to make modifications idempotent.
>>>
>>
>> as above:
>>
>> (1) Then why were the semantics amended, and why would others have
>> implemented against the spec in that fashion?
>>
>> (2) You need PUT to make a request that is visibly idempotent 
>> through
>> the network.
>
> Yes, see above.
>
> I think it's pretty clear that I won't convince you (the discussion
> happened before on rest-discuss I believe), and you won't convince 
> me,
> so I'd be interested to hear other people's opinions.

In order to work reliably for partials PUT requires If-Match and 
*additionally* needs some header mechanism to determine the difference 
between full and partial replacement (Range, Content-Type, etc).

In short its *more* complex to use PUT than PATCH.

/2c

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 17:38:00 2012
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 7E8A021E802F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:38:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, 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 wmyPdDadlXh9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:38:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E78B821E802B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 17:37:59 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Bzo-0002lM-0m for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 01:36:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmougin@acm.org>) id 1S2Bzc-0002jL-Up for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 01:36:41 +0000
Received: from smtp01.smtpout.orange.fr ([80.12.242.123] helo=smtp.smtpout.orange.fr) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <pmougin@acm.org>) id 1S2Bza-0002qP-ML for ietf-http-wg@w3.org; Tue, 28 Feb 2012 01:36:39 +0000
Received: from afontenayssb-151-1-2-90.w82-121.abo.wanadoo.fr ([82.121.208.90]) by mwinf5d02 with ME id fDcB1i0051xZlZ603DcBYD; Tue, 28 Feb 2012 02:36:12 +0100
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Philippe Mougin <pmougin@acm.org>
In-Reply-To: <4F4C1F9C.6030006@qbik.com>
Date: Tue, 28 Feb 2012 02:36:11 +0100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D94BDDD3-123A-492D-8498-96A76DA16E93@acm.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com>
To: Adrien de Croy <adrien@qbik.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=80.12.242.123; envelope-from=pmougin@acm.org; helo=smtp.smtpout.orange.fr
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2Bza-0002qP-ML de363b2531f9a2ba5fa3b114d47ee22f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/D94BDDD3-123A-492D-8498-96A76DA16E93@acm.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12590
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>
Resent-Message-Id: <E1S2Bzo-0002lM-0m@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 01:36:52 +0000

Le 28 f=E9vr. 2012 =E0 01:28, Adrien de Croy a =E9crit :

> I've always had an issue with this concept of "Idempotence".  I really =
wonder whether it actually exists in the real web.
>=20
> Many servers can and do have side effects for any particular method.

=46rom the latest httpbis draft : "Request methods can also have the =
property of "idempotence" in that, aside from error or expiration =
issues, the intended effect of multiple identical requests is the same =
as for a single request. PUT, DELETE, and all safe request methods are =
idempotent.  It is important to note that idempotence refers only to =
changes requested by the client: a server is free to change its state =
due to multiple requests for the purpose of tracking those requests, =
versioning of results, etc."

> So one cannot claim that any method is in fact Idempotent?  Not in all =
cases anyway.  One could write a script for which POST was idempotent.  =
Likewise there are plenty of URIs where GET is not.
>=20
> I think the concept is not well understood in the web authoring space, =
and no-one really takes much care to make website implementations honour =
the intent of HTTP wrt methods which are supposed to be Idempotent.
>=20
> My point is, why persist with this language?

I'd say because it allows us to create distributed systems that benefit =
from it. Regardless of how well it is understood by some people, I am =
glad I can benefit from it in the systems I develop.

Philippe Mougin=


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 17:38:17 2012
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 02BE421E8029 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:38:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, 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 ZX+FqtkdQydZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:38:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8B9A821E800C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 17:38:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2C0t-0002pO-BY for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 01:37:59 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1S2C0h-0002le-HB for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 01:37:47 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1S2C0f-0002sL-Fm for ietf-http-wg@w3.org; Tue, 28 Feb 2012 01:37:46 +0000
Received: by vcbf11 with SMTP id f11so991397vcb.2 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 17:37:20 -0800 (PST)
Received-SPF: pass (google.com: domain of zhong.j.yu@gmail.com designates 10.52.173.79 as permitted sender) client-ip=10.52.173.79;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of zhong.j.yu@gmail.com designates 10.52.173.79 as permitted sender) smtp.mail=zhong.j.yu@gmail.com; dkim=pass header.i=zhong.j.yu@gmail.com
Received: from mr.google.com ([10.52.173.79]) by 10.52.173.79 with SMTP id bi15mr9549366vdc.31.1330393040308 (num_hops = 1); Mon, 27 Feb 2012 17:37:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TDNtb3Cm0dQ4loKKPiVJOlZ0WX663LRXj1VXWKosfMI=; b=ozFGgzzvpf1HH0w2IZ3dX0hN45v6FROQjkt7EV96i/htVTAuNqUwndKMZhgEd45qnK IJzsUa+yFX6RMrddh65g5MBMEs7xVbgQcEUT69Y1CKSodjN4ZidYAEdV+WZyayxJmhjd jQdqKRMQqXPoNEsfRkg6H5scJA5ZJSYd51dfo=
MIME-Version: 1.0
Received: by 10.52.173.79 with SMTP id bi15mr7863891vdc.31.1330393040144; Mon, 27 Feb 2012 17:37:20 -0800 (PST)
Received: by 10.220.83.146 with HTTP; Mon, 27 Feb 2012 17:37:19 -0800 (PST)
In-Reply-To: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com>
Date: Mon, 27 Feb 2012 19:37:19 -0600
Message-ID: <CACuKZqGTXtnEXX-kqE-LG7vFGx3W=BwVab6B02jH2FQsWk+7qw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mike Kelly <mikekelly321@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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 1S2C0f-0002sL-Fm 1db0bf40ba20ec87a2ec3753e9ebab1d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CACuKZqGTXtnEXX-kqE-LG7vFGx3W=BwVab6B02jH2FQsWk+7qw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12591
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>
Resent-Message-Id: <E1S2C0t-0002pO-BY@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 01:37:59 +0000

On Mon, Feb 27, 2012 at 8:18 AM, Mike Kelly <mikekelly321@gmail.com> wrote:
> Hi all,
> - In light of the recent proliferation of 'mobile clients' which
> operate on relatively slow and unreliable networks where partial
> idempotent updates would be ideal; is the loss of idempotent partial
> updates considered acceptable?

How would partial PUT work? Client cuts the whole entity into pieces,
and PUT each one individually? That is not atomic - what happens to a
GET request before the whole thing is finished?

I don't think PATCH addresses OP's concern, that is, reducing
retransmission cost in face of network failure (which should really be
TCP's job).

Zhong


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 17:49:52 2012
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 2977621E8029 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:49:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.458
X-Spam-Level: 
X-Spam-Status: No, score=-8.458 tagged_above=-999 required=5 tests=[AWL=2.141, 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 r3q0BRNbLg6B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:49:51 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2D0D21E8026 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 17:49:51 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2CBn-0005y6-Lf for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 01:49:15 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1S2CBc-0005x4-VR for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 01:49:04 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1S2CBa-00038S-GK for ietf-http-wg@w3.org; Tue, 28 Feb 2012 01:49:03 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q1S1mUZ4012605; Tue, 28 Feb 2012 02:48:30 +0100 (CET)
Received: from [192.168.217.105] (p5489AA88.dip.t-dialin.net [84.137.170.136]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 62F8A501; Tue, 28 Feb 2012 02:48:30 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4F4C25E1.3040500@qbik.com>
Date: Tue, 28 Feb 2012 02:48:29 +0100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <899BE280-77F1-455B-B901-BBE478A5DC83@tzi.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com>
To: Adrien de Croy <adrien@qbik.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2CBa-00038S-GK 057688e5baa4c7aca70ba06bc112a452
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/899BE280-77F1-455B-B901-BBE478A5DC83@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12592
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>
Resent-Message-Id: <E1S2CBn-0005y6-Lf@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 01:49:15 +0000

> I would propose one can never assume any method is idempotent, since =
that is up to server-side implementation.

A number of functions in the HTTP architecture rely on the defined =
properties of the methods (such as idempotence, safeness).
If the methods no longer have useful properties, we can replace all of =
them with MAKEITSO or some such.

> Whether in practise PUT is usually actually idempotent or not I don't =
have any information.=20

Plain HTML pages can only trigger GET (links) and POST (forms), so PUT =
has been a bit of a specialty for the browser web.
Ajax and RESTful Web APIs changed that. =20
I seem to remember Amazon AWS relied on range-PUTs heavily for a while =
(which, I think, is what we are discussing here).
Incidentally, the other REST protocol, CoAP, has them (and needs them =
for requests with data > desired datagram size), but in a specialized =
form.

> But my feeling is there is a disconnect between HTTP and those making =
websites in this regard.

There used to be a strong disconnect a decade ago.
Prefetchers like Google Web Accelerator helped fix that :-)
Security considerations further caused people to keep the difference =
between methods in mind.
Modern web dev frameworks also helped sites to start conforming.
Nowadays, rookie web developers learn this stuff pretty quickly.

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 17:57:34 2012
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 AF61921E802B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:57:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.315
X-Spam-Level: 
X-Spam-Status: No, score=-10.315 tagged_above=-999 required=5 tests=[AWL=0.284, 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 QcCRpraGtILl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 17:57:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C17B21E8029 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 17:57:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2CJ7-0006gi-P0 for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 01:56:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2CIx-0006fh-8L for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 01:56:39 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2CIu-0003Ij-Ve for ietf-http-wg@w3.org; Tue, 28 Feb 2012 01:56:38 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id AA4B5E6E66; Tue, 28 Feb 2012 14:56:14 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 28 Feb 2012 14:56:13 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4F4C25E1.3040500@qbik.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com>
Message-ID: <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2CIu-0003Ij-Ve e91165422acd8e430f65c3b7a3086633
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/e1a6512ca4d057685fb513a95c69a780@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12593
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>
Resent-Message-Id: <E1S2CJ7-0006gi-P0@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 01:56:49 +0000

On 28.02.2012 13:54, Adrien de Croy wrote:
> I wasn't talking so much about partial updates using PUT, but the
> general reliance on the concept of idempotence at all.
>
> Various features in HTTP, such as pipelining, recovering from closes
> etc rely on certain methods being idempotent.  I would propose one 
> can
> never assume any method is idempotent, since that is up to 
> server-side
> implementation.

It is required for cacheability assumptions on the response in absence 
of explicit "Cache-Control: public". Since almost no sites explicitly 
send "public" we can't exactly erase that property without causing a 
whole lot of pain to a lot of network administrators.

An HTTP bandwidth increase of between 20% and 50% on certain Tier-1 
network pipes is at stake and not something to play around with.

Intermediary admin already have to violate the specs to a certain 
degree, ignoring no-cache to reduce bandwidth costs wrongly imposed by 
broken server libraries which insist on sending no-cache and no-store on 
static content.

>
> Whether in practise PUT is usually actually idempotent or not I don't
> have any information.
>
> But my feeling is there is a disconnect between HTTP and those making
> websites in this regard.
>

IME the disconnect is happening around about the library/framework/SDK 
layer. The documentation for those is spares on HTTP details, and some 
of their defaults are actually causing violations of the HTTP specs. 
This thread on PUT with partials being a case in point. PHP insistence 
on sending prohibitive cache-controls by default has also led to many 
broken web apps. ASP has similar problems. the litany of implementation 
compliance bugs and side effects is _long_.

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 20:30:51 2012
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 0500021E8011 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 20:30:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.126
X-Spam-Level: 
X-Spam-Status: No, score=-8.126 tagged_above=-999 required=5 tests=[AWL=2.473, 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 7ArerbWNMggz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 20:30:50 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9FC0021F85A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 20:30:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Egf-0000Hx-Sk for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 04:29:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1S2EgH-0000GT-TW for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 04:28:53 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1S2EgE-0001jS-Vg for ietf-http-wg@w3.org; Tue, 28 Feb 2012 04:28:52 +0000
Received: by bkwq16 with SMTP id q16so4385086bkw.2 for <ietf-http-wg@w3.org>; Mon, 27 Feb 2012 20:28:25 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.204.145.145 as permitted sender) client-ip=10.204.145.145;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.204.145.145 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.204.145.145]) by 10.204.145.145 with SMTP id d17mr8714294bkv.77.1330403305579 (num_hops = 1); Mon, 27 Feb 2012 20:28:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4nHDqSn++aqkab5uzpQfuQikNO8psaBuv/cbQaamGKo=; b=QTMVN7qTi3EZMRFrDHm5g8a8WIN8DEsUvkoiOTcJ8EbCzM2BODk61zBbFIVsriJ2VQ 27OQGk4rXnZkVdrdZ2PEuc6WXpS6b/XMFnOrq4ri9j2UdEaCXJi+Q5ONhKdrfc3Ubq6T HCRfoVBNmtUEWnjOoN/+lzmxm6Tfy3NkViE44=
MIME-Version: 1.0
Received: by 10.204.145.145 with SMTP id d17mr6991600bkv.77.1330403305470; Mon, 27 Feb 2012 20:28:25 -0800 (PST)
Received: by 10.204.232.74 with HTTP; Mon, 27 Feb 2012 20:28:25 -0800 (PST)
In-Reply-To: <4F4BA740.5020102@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de>
Date: Mon, 27 Feb 2012 20:28:25 -0800
Message-ID: <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2EgE-0001jS-Vg 465fe2e32cb08bf825c3958a0d46f654
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12594
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>
Resent-Message-Id: <E1S2Egf-0000Hx-Sk@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 04:29:17 +0000

I think that the "problem" in this case is one of invention only.  If
you desire the ability to do a partial update of a resource, then you
probably don't have enough resources.  I know that's a gross
generalization, but I haven't seen that comment in the thread.

I agree with Mike that PATCH (or a special POST) aren't visibly
idempotent, which is a crucial characteristic if this is going to
work.

On 27 February 2012 07:54, Julian Reschke <julian.reschke@gmx.de> wrote:
>>> See above: (1) PUT never allowed partial updates, and (2) you don't need
>>> PUT
>>> to make modifications idempotent.


From ietf-http-wg-request@listhub.w3.org  Mon Feb 27 21:30:19 2012
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 E58E021F849D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 21:30:18 -0800 (PST)
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=[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 GEeCoaPqVfeP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 27 Feb 2012 21:30:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 932D121F849B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 27 Feb 2012 21:30:17 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2FcI-0006Wa-RN for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 05:28:50 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <eric@bisonsystems.net>) id 1S2Fc4-0006Vh-R4 for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 05:28:36 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1S2Fc2-0003aJ-Mv for ietf-http-wg@w3.org; Tue, 28 Feb 2012 05:28:35 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4C0D4509B4; Tue, 28 Feb 2012 00:28:13 -0500 (EST)
Date: Mon, 27 Feb 2012 22:27:38 -0700
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <20120227222738.0d5235c2.eric@bisonsystems.net>
In-Reply-To: <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2Fc2-0003aJ-Mv 4b4cfda1e13c1949712ab525b2cbca3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/20120227222738.0d5235c2.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12595
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>
Resent-Message-Id: <E1S2FcI-0006Wa-RN@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 05:28:50 +0000

Martin Thomson wrote:
>
> I agree with Mike that PATCH (or a special POST) aren't visibly
> idempotent, which is a crucial characteristic if this is going to
> work.
> 

If 99.9% of partial updates are non-idempotent, wouldn't the need for
idempotent partial update be an edge case, as opposed to crucial?

What we're trying to make visible on the wire is *sender intent* not
idempotency.  The sender doesn't intend to make idempotent vs. non-
idempotent requests.  Idempotency is a property of the request method,
not a sender intent in and of itself.

If the sender intent is partial update, the method is PATCH.  If the
sender intent is full update, the method is PUT -- that intent is what
makes a request idempotent or not.  It wouldn't make sense to determine
idempotency at a glance, but then still need to reverse-engineer sender
intent.

Which is where we'd be if PUT was allowed to sometimes mean partial
update -- we'd need to consider other factors to determine sender
intent, instead of simply looking at the request method.  How would
that be more visible?

If sender intent was based on idempotency, we'd have two methods --
IDEMP and NOTIDEMP -- and wouldn't care about distinguishing full
update from partial update from retrieval.  But, sender intent is about
what action to take, not the properties of that action.  That's what
needs to be visible.

-Eric


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 00:40:01 2012
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 C686321F8704 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 00:40:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.28
X-Spam-Level: 
X-Spam-Status: No, score=-8.28 tagged_above=-999 required=5 tests=[AWL=2.319, 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 h9c3Ox1Cz06D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 00:40:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EEE8B21F8702 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 00:40:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2IZs-00082O-0U for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 08:38:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2IZc-000812-Li for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 08:38:16 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2IZa-0005Wr-Cq for ietf-http-wg@w3.org; Tue, 28 Feb 2012 08:38:15 +0000
Received: (qmail invoked by alias); 28 Feb 2012 08:37:47 -0000
Received: from p3EE27432.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.116.50] by mail.gmx.net (mp041) with SMTP; 28 Feb 2012 09:37:47 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18RkkdZNnYR6p5NBQU46RCCtm8c3dNKPegotm627U wanuq/RzrQNtug
Message-ID: <4F4C9259.7090506@gmx.de>
Date: Tue, 28 Feb 2012 09:37:45 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: Mike Kelly <mikekelly321@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com>
In-Reply-To: <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2IZa-0005Wr-Cq 671cc68cce3d55e8d665afb642fb6eb3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4C9259.7090506@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12596
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>
Resent-Message-Id: <E1S2IZs-00082O-0U@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 08:38:32 +0000

On 2012-02-28 05:28, Martin Thomson wrote:
> I think that the "problem" in this case is one of invention only.  If
> you desire the ability to do a partial update of a resource, then you
> probably don't have enough resources.  I know that's a gross
> generalization, but I haven't seen that comment in the thread.
>
> I agree with Mike that PATCH (or a special POST) aren't visibly
> idempotent, which is a crucial characteristic if this is going to
> work.

How exactly is it "not visible"?

 From <http://greenbytes.de/tech/webdav/rfc5789.html#rfc.section.2.p.4>:

"A PATCH request can be issued in such a way as to be idempotent, which 
also helps prevent bad outcomes from collisions between two PATCH 
requests on the same resource in a similar time frame. Collisions from 
multiple PATCH requests may be more dangerous than PUT collisions 
because some patch formats need to operate from a known base-point or 
else they will corrupt the resource. Clients using this kind of patch 
application SHOULD use a conditional request such that the request will 
fail if the resource has been updated since the client last accessed the 
resource. For example, the client can use a strong ETag [RFC2616] in an 
If-Match header on the PATCH request."

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 01:29:52 2012
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 1CAD321F8752 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 01:29:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.448
X-Spam-Level: 
X-Spam-Status: No, score=-6.448 tagged_above=-999 required=5 tests=[AWL=4.151, 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 nQfn6OTHjR1h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 01:29:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8282021F84F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 01:29:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2JLU-0003ew-Bw for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 09:27:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S2JLD-0003e3-Rz for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 09:27:27 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1S2JLC-0003v2-LL for ietf-http-wg@w3.org; Tue, 28 Feb 2012 09:27:26 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1S2JLD-0003wF-0I for ietf-http-wg@w3.org; Tue, 28 Feb 2012 04:27:27 -0500
X-Return-path: <listmaster@w3.org>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S29NJ-0001tv-KH for ylafon@jay.w3.org; Mon, 27 Feb 2012 17:48:57 -0500
X-Received: from frink.w3.org ([128.30.52.56]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1S29NJ-0006YF-1d for ylafon@w3.org; Mon, 27 Feb 2012 22:48:57 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1S29NK-0001qT-41 for ylafon@w3.org; Mon, 27 Feb 2012 22:48:58 +0000
X-From_: marka@isc.org Mon Feb 27 22:48:57 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <marka@isc.org>) id 1S29NJ-0001pw-OW for ietf-http-wg@listhub.w3.org; Mon, 27 Feb 2012 22:48:57 +0000
X-Received: from mx.pao1.isc.org ([149.20.64.53]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <marka@isc.org>) id 1S29NH-0006XA-3f for ietf-http-wg@w3.org; Mon, 27 Feb 2012 22:48:56 +0000
X-Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.isc.org", Issuer "RapidSSL CA" (not verified)) by mx.pao1.isc.org (Postfix) with ESMTPS id 772EAC941E; Mon, 27 Feb 2012 22:48:11 +0000 (UTC) (envelope-from marka@isc.org)
X-Received: from drugs.dv.isc.org (unknown [IPv6:2001:470:1f00:820:99bb:33d4:f25c:36e7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bikeshed.isc.org (Postfix) with ESMTPSA id 1C561216C36; Mon, 27 Feb 2012 22:48:11 +0000 (UTC) (envelope-from marka@isc.org)
X-Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id 4964A1DDBB0C; Tue, 28 Feb 2012 09:48:03 +1100 (EST)
To: Willy Tarreau <w@1wt.eu>
Cc: Patrik =?iso-8859-1?B?RuRsdHN0cvZt?= <patrik@frobbit.se>, IETF Discussion <ietf@ietf.org>, Patrik =?iso-8859-1?B?RuRsdHN0cvZt?= <paf@frobbit.se>, "mnot@mnot.net" <mnot@mnot.net>, "iesg@ietf.org" <iesg@ietf.org>, John C Klensin <john-ietf@jck.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: Mark Andrews <marka@isc.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F46BFDF.3070703@dougbarton.us> <20120224025433.00F1A1DC6AEB@drugs.dv.isc.org> <20120224153818.GE48576@mail.yitter.info> <D7E6B990-3A02-4999-A6EB-2A3585D29B45@frobbit.se> <DC8A7C4316C6F97607CFBCC6@PST.JCK.COM> <5B092333-30BD-481B-8E6A-F41DB5C586C2@frobbit.se>  <20120226064025.GH8633@1wt.eu>
In-reply-to: Your message of "Sun, 26 Feb 2012 07:40:25 BST." <20120226064025.GH8633@1wt.eu>
Old-Date: Tue, 28 Feb 2012 09:48:03 +1100
Message-Id: <20120227224803.4964A1DDBB0C@drugs.dv.isc.org>
Received-SPF: neutral client-ip=149.20.64.53; envelope-from=marka@isc.org; helo=mx.pao1.isc.org
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S29NH-0006XA-3f 269f6f5600c70ccb43a706a4e2051da4
Old-X-Envelope-To: ietf-http-wg
Date: Mon, 27 Feb 2012 22:48:58 +0000
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Mon Feb 27 17:48:58 2012
X-DSPAM-Confidence: 0.9995
X-DSPAM-Improbability: 1 in 219872 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f4c085a73191348253982
ReSent-Date: Tue, 28 Feb 2012 04:27:22 -0500 (EST)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20120227224803.4964A1DDBB0C@drugs.dv.isc.org>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12597
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>
Resent-Message-Id: <E1S2JLU-0003ew-Bw@frink.w3.org>

In message <20120226064025.GH8633@1wt.eu>, Willy Tarreau writes:
> On Fri, Feb 24, 2012 at 05:57:31PM +0100, Patrik F=E4ltstr=F6m wrote:
> > I am asking more generally why specifically this DNS issue is so stuck,
> > because I think that is unfair. We upgrade other protocols...

> 
> Because in HTTP, anybody can be anywhere. You can have client-side proxies,
> server-side gateways, load balancers, etc... everyone in this chain may or
> may not resolve, it's only a matter of configuration and architecture choic=
> e.
> There are plenty of places where clients won't access public resolvers at a=
> ll
> and rely on their proxies for this. So you can't make use of DNS to improve
> these users' experience.

Proxies can lookup SRV records.  They already lookup A and AAAA records.
 
> Also, DNS is SLLLLOOOOWWWWW. It's fast enough to send a mail. But for HTTP
> it adds too much latency. Some people in the mobile world would like to be
> able to configure an explicit proxy on their smartphones in order to avoid
> a very expensive round trip before fetching an object : at 20 host names
> on a web page, 300 ms round trip means 6 seconds are lost to resolve these
> objects if they can't be totally parallelized.

If they can't be parallelized then you can blame the page developer.

As for SRV you can always do SRV + AAAA + A in parallel.

> DNS suggestion is something going back and forth regularly. I think that
> people who try to push it hard only see the very simple case where users
> have a direct low-latency internet connection. The reality is much much
> different. This well reflected by the fact that in the end, after many
> proposals, it has still not been adopted !
> 
> Regards,
> Willy
> 
> _______________________________________________
> Ietf mailing list
> Ietf@ietf.org
> https://www.ietf.org/mailman/listinfo/ietf
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org




From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 02:11:36 2012
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 257B821F862F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:11:36 -0800 (PST)
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=[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 wdMSk8K-lQYx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:11:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7D94521F8628 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 02:11:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2K1N-0007jo-S0 for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 10:11:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2K1A-0007iq-Nm for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 10:10:48 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2K18-0008TM-Gi for ietf-http-wg@w3.org; Tue, 28 Feb 2012 10:10:47 +0000
Received: by obcuy19 with SMTP id uy19so8452603obc.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 02:10:21 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) client-ip=10.60.2.162;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.60.2.162]) by 10.60.2.162 with SMTP id 2mr7263828oev.46.1330423821172 (num_hops = 1); Tue, 28 Feb 2012 02:10:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=qv3jAJV80TjtncMBPVQybnPdL7FSez7Zcosljo7vg4o=; b=GQa+3AyvM+60hebTp+bzE/jq80NYrYpSNDq+RhIEznA0wdpTO0ZxsT8AuJq5Q7tmBY maqYyB7ESl6NYaQqfDUrs4MN/KR2KO6k9dBuEeS+KlZqE4FzbMN+A14bWSyn1jX7gdhc Dyssy3pXSdOW85pKesvKFK7w4CX6q/OBQ7vWk=
MIME-Version: 1.0
Received: by 10.60.2.162 with SMTP id 2mr6382560oev.46.1330423821029; Tue, 28 Feb 2012 02:10:21 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Tue, 28 Feb 2012 02:10:20 -0800 (PST)
In-Reply-To: <20120227222738.0d5235c2.eric@bisonsystems.net>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <20120227222738.0d5235c2.eric@bisonsystems.net>
Date: Tue, 28 Feb 2012 10:10:20 +0000
Message-ID: <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: "Eric J. Bowman" <eric@bisonsystems.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2K18-0008TM-Gi aaf0b3fce99b2102bc881b04e10e7c2a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12598
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>
Resent-Message-Id: <E1S2K1N-0007jo-S0@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 10:11:01 +0000

On Tue, Feb 28, 2012 at 5:27 AM, Eric J. Bowman <eric@bisonsystems.net> wro=
te:
> Martin Thomson wrote:
>>
>> I agree with Mike that PATCH (or a special POST) aren't visibly
>> idempotent, which is a crucial characteristic if this is going to
>> work.
>>
>
> If 99.9% of partial updates are non-idempotent, wouldn't the need for
> idempotent partial update be an edge case, as opposed to crucial?
>
> What we're trying to make visible on the wire is *sender intent* not
> idempotency. =A0The sender doesn't intend to make idempotent vs. non-
> idempotent requests. =A0Idempotency is a property of the request method,
> not a sender intent in and of itself.

No. What we should be trying to make visible "on the wire" are
properties of a request that are useful/valuable for intermediate
processing.

The idempotency of a request is valuable for intermediate processing,
because infrastructure can be developed to re-issue a client request
on network failure.

Having a request guaranteed to be non-partial is not useful or
valuable for intermediate processing, apparently there are no examples
of intermediary mechanisms which leverage this.

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 02:22:01 2012
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 5682721F864E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:22:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.304
X-Spam-Level: 
X-Spam-Status: No, score=-8.304 tagged_above=-999 required=5 tests=[AWL=2.295, 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 I6uSv153bz7X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:22:00 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D7E6021F862F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 02:21:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2KAa-0003NC-Jq for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 10:20:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2KAN-0003LC-3G for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 10:20:19 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2KAG-0000Ji-Jk for ietf-http-wg@w3.org; Tue, 28 Feb 2012 10:20:18 +0000
Received: (qmail invoked by alias); 28 Feb 2012 10:19:45 -0000
Received: from p3EE27432.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.116.50] by mail.gmx.net (mp028) with SMTP; 28 Feb 2012 11:19:45 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/9bq9s1EP9pvlFzGvJAstb9zl1m2rxJk1B0sPACS 0n+m2qyh+YXAqw
Message-ID: <4F4CAA3D.7030200@gmx.de>
Date: Tue, 28 Feb 2012 11:19:41 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mike Kelly <mikekelly321@gmail.com>
CC: "Eric J. Bowman" <eric@bisonsystems.net>,  Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <20120227222738.0d5235c2.eric@bisonsystems.net> <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com>
In-Reply-To: <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2KAG-0000Ji-Jk 47fbc76383509bcf28d836342d1673f9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4CAA3D.7030200@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12599
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>
Resent-Message-Id: <E1S2KAa-0003NC-Jq@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 10:20:32 +0000

On 2012-02-28 11:10, Mike Kelly wrote:
> On Tue, Feb 28, 2012 at 5:27 AM, Eric J. Bowman<eric@bisonsystems.net>  wrote:
>> Martin Thomson wrote:
>>>
>>> I agree with Mike that PATCH (or a special POST) aren't visibly
>>> idempotent, which is a crucial characteristic if this is going to
>>> work.
>>>
>>
>> If 99.9% of partial updates are non-idempotent, wouldn't the need for
>> idempotent partial update be an edge case, as opposed to crucial?
>>
>> What we're trying to make visible on the wire is *sender intent* not
>> idempotency.  The sender doesn't intend to make idempotent vs. non-
>> idempotent requests.  Idempotency is a property of the request method,
>> not a sender intent in and of itself.
>
> No. What we should be trying to make visible "on the wire" are
> properties of a request that are useful/valuable for intermediate
> processing.
>
> The idempotency of a request is valuable for intermediate processing,
> because infrastructure can be developed to re-issue a client request
> on network failure.
>
> Having a request guaranteed to be non-partial is not useful or
> valuable for intermediate processing, apparently there are no examples
> of intermediary mechanisms which leverage this.

Just because something isn't useful to intermediaries (with which I 
don't fully agree) doesn't mean it isn't useful to be defined.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 02:25:49 2012
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 022DA21F85A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:25:49 -0800 (PST)
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=[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 Cgsh0eMZPpCz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:25:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3DCC321F8599 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 02:25:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2KDj-0003j6-1U for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 10:23:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2KDX-0003iF-Ge for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 10:23:35 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2KDQ-0000RA-L4 for ietf-http-wg@w3.org; Tue, 28 Feb 2012 10:23:34 +0000
Received: by obcuy19 with SMTP id uy19so8464864obc.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 02:23:03 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) client-ip=10.60.2.162;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.60.2.162]) by 10.60.2.162 with SMTP id 2mr7278641oev.46.1330424583507 (num_hops = 1); Tue, 28 Feb 2012 02:23:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UO7Q1ej+hc8neHL1IM0aHRS2hDSZhRFefx5Z7eu3hVo=; b=U2ChgZ5Jxw4gVrM8V1Q9HMmxUFrCknNz8OgmLJ5tmPhp24Ilm/Rd8ELPxoUx+Gl+5y ZcbaxVfZHxLAVh1+OhQaNZMiohjgJEC91Z17dYdZL5lq93W4VtUM7lMvwoQDEIg9EsV9 ibgKv3OrJAHugewpFjD9p3CR8w3eHNUYzexZg=
MIME-Version: 1.0
Received: by 10.60.2.162 with SMTP id 2mr6395689oev.46.1330424583450; Tue, 28 Feb 2012 02:23:03 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Tue, 28 Feb 2012 02:23:03 -0800 (PST)
In-Reply-To: <4F4C9259.7090506@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de>
Date: Tue, 28 Feb 2012 10:23:03 +0000
Message-ID: <CANqiZJY2WNSD2xZYQfsXBDoeaRanoEdQyXwuytMYyzwk8KtqQA@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2KDQ-0000RA-L4 020a7565cf123940f2d1131691c49245
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJY2WNSD2xZYQfsXBDoeaRanoEdQyXwuytMYyzwk8KtqQA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12600
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>
Resent-Message-Id: <E1S2KDj-0003j6-1U@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 10:23:47 +0000

On Tue, Feb 28, 2012 at 8:37 AM, Julian Reschke <julian.reschke@gmx.de> wro=
te:
> On 2012-02-28 05:28, Martin Thomson wrote:
>>
>> I think that the "problem" in this case is one of invention only. =A0If
>> you desire the ability to do a partial update of a resource, then you
>> probably don't have enough resources. =A0I know that's a gross
>> generalization, but I haven't seen that comment in the thread.
>>
>> I agree with Mike that PATCH (or a special POST) aren't visibly
>> idempotent, which is a crucial characteristic if this is going to
>> work.
>
>
> How exactly is it "not visible"?
>
> From <http://greenbytes.de/tech/webdav/rfc5789.html#rfc.section.2.p.4>:
>
> "A PATCH request can be issued in such a way as to be idempotent, which a=
lso
> helps prevent bad outcomes from collisions between two PATCH requests on =
the
> same resource in a similar time frame. Collisions from multiple PATCH
> requests may be more dangerous than PUT collisions because some patch
> formats need to operate from a known base-point or else they will corrupt
> the resource. Clients using this kind of patch application SHOULD use a
> conditional request such that the request will fail if the resource has b=
een
> updated since the client last accessed the resource. For example, the cli=
ent
> can use a strong ETag [RFC2616] in an If-Match header on the PATCH reques=
t."

The amount of infrastructure that exists right now, or in the near
future, which understands and is built to leverage idempotent PATCH is
tiny in comparison to PUT. Visibility, in practice, depends on the
relative ubiquity of the semantic, and not just on whether a
spec-which-says-so makes it through to RFC.

So, from a purely theoretical stand-point you may be right, but in the
real-world I don't think their visibility is even close to equivalent.

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 02:41:36 2012
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 A02ED21F858F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:41:36 -0800 (PST)
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=[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 ynkUb61bWjXx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 02:41:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 954DD21F8566 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 02:41:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2KTZ-0007D9-0U for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 10:40:09 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2KTN-0007B4-MQ for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 10:39:57 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2KTF-0000sb-Nc for ietf-http-wg@w3.org; Tue, 28 Feb 2012 10:39:56 +0000
Received: by obcuy19 with SMTP id uy19so8479672obc.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 02:39:24 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.182.127.20 as permitted sender) client-ip=10.182.127.20;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.182.127.20 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.182.127.20]) by 10.182.127.20 with SMTP id nc20mr6449753obb.66.1330425564366 (num_hops = 1); Tue, 28 Feb 2012 02:39:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=NrT4zMGytx/eKMQDeZZ5W3aGq0qxrBIvN7Qol4MUJUk=; b=jkM2l0nqy8fGb3sVQAlJOwqOKnkKHkjjQsDXNR7OBJ2xXz+r7AuB/fQzxUuAmUfGx5 lv2gofAxFIRfbuCEHV6T+49islDYtdV0XGN1w2KSNTfzqAFykDkpDufJcs/hRmStRhaK Fmsp/qzP0yPLozHbi3kWAuj4z6g5LmD6e0Goo=
MIME-Version: 1.0
Received: by 10.182.127.20 with SMTP id nc20mr5718699obb.66.1330425564263; Tue, 28 Feb 2012 02:39:24 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Tue, 28 Feb 2012 02:39:24 -0800 (PST)
In-Reply-To: <4F4CAA3D.7030200@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <20120227222738.0d5235c2.eric@bisonsystems.net> <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com> <4F4CAA3D.7030200@gmx.de>
Date: Tue, 28 Feb 2012 10:39:24 +0000
Message-ID: <CANqiZJbuMi5=WWVFAx4_ef3Din0oj93VdFzuwpfAqxTDN_QZmg@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "Eric J. Bowman" <eric@bisonsystems.net>, Martin Thomson <martin.thomson@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2KTF-0000sb-Nc e9debbdd063df7f28eeab2f6624d65c8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJbuMi5=WWVFAx4_ef3Din0oj93VdFzuwpfAqxTDN_QZmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12601
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>
Resent-Message-Id: <E1S2KTZ-0007D9-0U@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 10:40:09 +0000

On Tue, Feb 28, 2012 at 10:19 AM, Julian Reschke <julian.reschke@gmx.de> wr=
ote:
> On 2012-02-28 11:10, Mike Kelly wrote:
>>
>> On Tue, Feb 28, 2012 at 5:27 AM, Eric J. Bowman<eric@bisonsystems.net>
>> =A0wrote:
>>>
>>> Martin Thomson wrote:
>>>>
>>>>
>>>> I agree with Mike that PATCH (or a special POST) aren't visibly
>>>> idempotent, which is a crucial characteristic if this is going to
>>>> work.
>>>>
>>>
>>> If 99.9% of partial updates are non-idempotent, wouldn't the need for
>>> idempotent partial update be an edge case, as opposed to crucial?
>>>
>>> What we're trying to make visible on the wire is *sender intent* not
>>> idempotency. =A0The sender doesn't intend to make idempotent vs. non-
>>> idempotent requests. =A0Idempotency is a property of the request method=
,
>>> not a sender intent in and of itself.
>>
>>
>> No. What we should be trying to make visible "on the wire" are
>> properties of a request that are useful/valuable for intermediate
>> processing.
>>
>> The idempotency of a request is valuable for intermediate processing,
>> because infrastructure can be developed to re-issue a client request
>> on network failure.
>>
>> Having a request guaranteed to be non-partial is not useful or
>> valuable for intermediate processing, apparently there are no examples
>> of intermediary mechanisms which leverage this.
>
>
> Just because something isn't useful to intermediaries (with which I don't
> fully agree) doesn't mean it isn't useful to be defined.
>

If we're talking about 'visibility on the wire', we should be talking
about facilitating intermediary processing.

I have a couple of further questions:

- why don't you fully agree?
- how is PUT being unambiguously non-partial useful?

Bear in mind applications which interact through HTTP can define
whether or not their use(s) of PUT are non-partial without HTTP being
involved - many already do this.

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 04:40:29 2012
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 3800821F860E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 04:40:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[AWL=0.622, 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 7GOqJJiImGck for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 04:40:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 11E3721F8601 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 04:40:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2MKn-0003BM-CK for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 12:39:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2MKV-00035r-A3 for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 12:38:55 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2MKS-0003TT-TY for ietf-http-wg@w3.org; Tue, 28 Feb 2012 12:38:54 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id CC157E6E66 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 01:38:28 +1300 (NZDT)
Message-ID: <4F4CCAC2.7000304@treenet.co.nz>
Date: Wed, 29 Feb 2012 01:38:26 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <20120227222738.0d5235c2.eric@bisonsystems.net> <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com>
In-Reply-To: <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2MKS-0003TT-TY 30c68e7b90c4a18ef03c251b95a04c78
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4CCAC2.7000304@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12602
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>
Resent-Message-Id: <E1S2MKn-0003BM-CK@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 12:39:13 +0000

On 28/02/2012 11:10 p.m., Mike Kelly wrote:
> On Tue, Feb 28, 2012 at 5:27 AM, Eric J. Bowman<eric@bisonsystems.net>  wrote:
>> Martin Thomson wrote:
>>> I agree with Mike that PATCH (or a special POST) aren't visibly
>>> idempotent, which is a crucial characteristic if this is going to
>>> work.
>>>
>> If 99.9% of partial updates are non-idempotent, wouldn't the need for
>> idempotent partial update be an edge case, as opposed to crucial?
>>
>> What we're trying to make visible on the wire is *sender intent* not
>> idempotency.  The sender doesn't intend to make idempotent vs. non-
>> idempotent requests.  Idempotency is a property of the request method,
>> not a sender intent in and of itself.
> No. What we should be trying to make visible "on the wire" are
> properties of a request that are useful/valuable for intermediate
> processing.
>
> The idempotency of a request is valuable for intermediate processing,
> because infrastructure can be developed to re-issue a client request
> on network failure.
>
> Having a request guaranteed to be non-partial is not useful or
> valuable for intermediate processing, apparently there are no examples
> of intermediary mechanisms which leverage this.

What seems not so obvious, is that the PUT request-body is cacheable for 
the request-URI. Middleware can leverage this immediately on a 2xx 
response to start serving it up without wasting further bandwidth 
re-fetching it. People are already hacking away at the code trying to 
get as much as possible cached. Bandwidth reduction is a hot topic in 
the cloud based web app world. You can expect to see implementations 
appearing within the year, now that there is an actual need appearing.

As has been mentioned by others already a lot of HTTP capabilties were 
rare due to HTML limitations affecting the browsers. Custom HTTP agents 
have been using these features invisibly for some time. Browsers XHR 
support and HTML5 features are opening the doors to a great many web 
apps using these features in ways never before seen (outside the dreams 
of the spec writers anyway, maybe not even there).

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 05:33:27 2012
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 8D95D21F8643 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 05:33:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Ls66xX+6drFQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 05:33:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBA0E21F863F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 05:33:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2NA6-0008OT-UP for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 13:32:14 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@mykanjo.co.uk>) id 1S2N9n-0008Ms-KF for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 13:31:55 +0000
Received: from moutng.kundenserver.de ([212.227.126.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mike@mykanjo.co.uk>) id 1S2N9h-0006ea-1j for ietf-http-wg@w3.org; Tue, 28 Feb 2012 13:31:54 +0000
Received: from mail-tul01m020-f171.google.com (mail-tul01m020-f171.google.com [209.85.214.171]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MBv9P-1SAvK21XZn-00AG9G; Tue, 28 Feb 2012 14:31:21 +0100
Received: by obcuy19 with SMTP id uy19so8688207obc.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 05:31:19 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@mykanjo.co.uk designates 10.60.2.162 as permitted sender) client-ip=10.60.2.162;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@mykanjo.co.uk designates 10.60.2.162 as permitted sender) smtp.mail=mike@mykanjo.co.uk
Received: from mr.google.com ([10.60.2.162]) by 10.60.2.162 with SMTP id 2mr7530677oev.46.1330435879906 (num_hops = 1); Tue, 28 Feb 2012 05:31:19 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.2.162 with SMTP id 2mr6617730oev.46.1330435879873; Tue, 28 Feb 2012 05:31:19 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Tue, 28 Feb 2012 05:31:19 -0800 (PST)
In-Reply-To: <4F4CCAC2.7000304@treenet.co.nz>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <20120227222738.0d5235c2.eric@bisonsystems.net> <CANqiZJZV5iG6tb7Pj7vSRNQvKKjeuS9o-bt5DDAWG7T8R7-0kw@mail.gmail.com> <4F4CCAC2.7000304@treenet.co.nz>
Date: Tue, 28 Feb 2012 13:31:19 +0000
Message-ID: <CANqiZJaO70OSLAdmCnvN+uW1VvuA7-Psr4Ow4nJO=pgA_nsJSQ@mail.gmail.com>
From: Mike Kelly <mike@mykanjo.co.uk>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V02:K0:xkCjauDm5jlD257JeDYSJE1N3FuQarjVvuH+rgMtffv Cnosf4hr8Ca0iUqiyKVYNP1a9hy0MaJMntTilipyN1JVKfLbl5 EUVEwSwKWXfpJ9szpHfBk37pnnbYidYRbytoECkbxylqu3XcbT qlEgxJSy4YKgy2dyihi7FYEVht8IhKlKPotzD5yofvMzhZ9YaA JJe+DqGTTXEmg6RjmzQb87B84rcElQ42XONq5aewYbUT9A2bBH 1bksvcpx6kjciuahnoR8BN7nKKib/oDa4sEZluLkeDE5FgmZ1D vKZC7hFbSA1HielZuHoWlsUYrStClrPOlVwxfOuIjhX5Jp0NIR q90u/E2edjUvO5Il71iyAXIsJFv/t8IbMnw2dJq3eimXiIwWJu ENqERiNH6lshVMQTDMVbirUB/vaRzDiMBKmTTdOT/9MDvzh0Ys kAiSX
Received-SPF: none client-ip=212.227.126.171; envelope-from=mike@mykanjo.co.uk; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2N9h-0006ea-1j 73485964e69789390f91c70db4994bd6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJaO70OSLAdmCnvN+uW1VvuA7-Psr4Ow4nJO=pgA_nsJSQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12603
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>
Resent-Message-Id: <E1S2NA6-0008OT-UP@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 13:32:14 +0000

On Tue, Feb 28, 2012 at 12:38 PM, Amos Jeffries <squid3@treenet.co.nz> wrot=
e:
> On 28/02/2012 11:10 p.m., Mike Kelly wrote:
>>
>> On Tue, Feb 28, 2012 at 5:27 AM, Eric J. Bowman<eric@bisonsystems.net>
>> =A0wrote:
>>>
>>> Martin Thomson wrote:
>>>>
>>>> I agree with Mike that PATCH (or a special POST) aren't visibly
>>>> idempotent, which is a crucial characteristic if this is going to
>>>> work.
>>>>
>>> If 99.9% of partial updates are non-idempotent, wouldn't the need for
>>> idempotent partial update be an edge case, as opposed to crucial?
>>>
>>> What we're trying to make visible on the wire is *sender intent* not
>>> idempotency. =A0The sender doesn't intend to make idempotent vs. non-
>>> idempotent requests. =A0Idempotency is a property of the request method=
,
>>> not a sender intent in and of itself.
>>
>> No. What we should be trying to make visible "on the wire" are
>> properties of a request that are useful/valuable for intermediate
>> processing.
>>
>> The idempotency of a request is valuable for intermediate processing,
>> because infrastructure can be developed to re-issue a client request
>> on network failure.
>>
>> Having a request guaranteed to be non-partial is not useful or
>> valuable for intermediate processing, apparently there are no examples
>> of intermediary mechanisms which leverage this.
>
>
> What seems not so obvious, is that the PUT request-body is cacheable for =
the
> request-URI. Middleware can leverage this immediately on a 2xx response t=
o
> start serving it up without wasting further bandwidth re-fetching it. Peo=
ple
> are already hacking away at the code trying to get as much as possible
> cached.

Do you know of any caching infrastructure that is implemented to this effec=
t?

Does it conflict with the following:

http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-18#section-6.6

"Responses to the PUT method are not cacheable.  If a PUT request
passes through a cache that has one or more stored responses for the
effective request URI, those stored responses will be invalidated"

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 08:33:13 2012
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 D254921F86A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 08:33:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.193
X-Spam-Level: 
X-Spam-Status: No, score=-8.193 tagged_above=-999 required=5 tests=[AWL=2.406, 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 ZIruNyPYksUW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 08:33:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5252921F867B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 08:33:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Pxy-0000J6-Pq for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 16:31:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1S2Pwy-0000DD-OE for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 16:30:52 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1S2Pwr-00066u-Rl for ietf-http-wg@w3.org; Tue, 28 Feb 2012 16:30:51 +0000
Received: by bkwq16 with SMTP id q16so5012058bkw.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 08:30:20 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.204.141.11 as permitted sender) client-ip=10.204.141.11;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.204.141.11 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.204.141.11]) by 10.204.141.11 with SMTP id k11mr9959704bku.5.1330446620183 (num_hops = 1); Tue, 28 Feb 2012 08:30:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/951DzSC6rTHnr+UJXlAOIzJ6YbphqV+GiuOD8cYkYs=; b=LPF2M+ivY42dNp2S3/bxFajfXK416Ga69UgWckfSS/V06NQJXCbySRaBa9/eF0XCAG iDWZpK5uV0n6+9jRZc3f21ubvxdv8ZTMoDZ/DXMq9An0hahikWYOTVTEqQtSMp52i0B6 r6wmX35nEV2xuyqkGpP+k8ybtE6qcKa3IlIMA=
MIME-Version: 1.0
Received: by 10.204.141.11 with SMTP id k11mr8070294bku.5.1330446620097; Tue, 28 Feb 2012 08:30:20 -0800 (PST)
Received: by 10.204.232.74 with HTTP; Tue, 28 Feb 2012 08:30:19 -0800 (PST)
In-Reply-To: <4F4C9259.7090506@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de>
Date: Tue, 28 Feb 2012 08:30:19 -0800
Message-ID: <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2Pwr-00066u-Rl 039fa6a7057bec15a598999a70cadbec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12604
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>
Resent-Message-Id: <E1S2Pxy-0000J6-Pq@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 16:31:54 +0000

On 28 February 2012 00:37, Julian Reschke <julian.reschke@gmx.de> wrote:
> How exactly is it "not visible"?
>
> "A PATCH request can be issued in such a way as to be idempotent, [...]

"Can be" not "is".  You can issue a non-idempotent PATCH.  Though you
are advised not to, it is possible.  Therefore, an intermediary cannot
assume that the request is safe to retry.

A PUT is by definition idempotent.  A PATCH, like POST, is only
idempotent under (secret, non-obvious) conditions.

--Martin


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 08:51:53 2012
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 6CCF821F869D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 08:51:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.496
X-Spam-Level: 
X-Spam-Status: No, score=-8.496 tagged_above=-999 required=5 tests=[AWL=2.103, 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 256hGctMEPW6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 08:51:53 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E42EE21F8699 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 08:51:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2QFz-0000Dh-6Z for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 16:50:31 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2QFm-0000Cq-Ea for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 16:50:18 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2QFb-0005J0-GW for ietf-http-wg@w3.org; Tue, 28 Feb 2012 16:50:17 +0000
Received: (qmail invoked by alias); 28 Feb 2012 16:49:41 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp035) with SMTP; 28 Feb 2012 17:49:41 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18vChFiiFEviuSVgjrYXpPow102Ts/1O6RGjrj53r TiEdxKFZsgmmQ/
Message-ID: <4F4D05A2.4000907@gmx.de>
Date: Tue, 28 Feb 2012 17:49:38 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: Mike Kelly <mikekelly321@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com>
In-Reply-To: <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2QFb-0005J0-GW 70dec563475c1d2ae235a95f62fc11bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4D05A2.4000907@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12605
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>
Resent-Message-Id: <E1S2QFz-0000Dh-6Z@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 16:50:31 +0000

On 2012-02-28 17:30, Martin Thomson wrote:
> On 28 February 2012 00:37, Julian Reschke<julian.reschke@gmx.de>  wrote:
>> How exactly is it "not visible"?
>>
>> "A PATCH request can be issued in such a way as to be idempotent, [...]
>
> "Can be" not "is".  You can issue a non-idempotent PATCH.  Though you
> are advised not to, it is possible.  Therefore, an intermediary cannot
> assume that the request is safe to retry.

It can, if it comes with If-Match. Or am I missing something?

> A PUT is by definition idempotent.  A PATCH, like POST, is only
> idempotent under (secret, non-obvious) conditions.

That is true, but I'm not sure that is a problem when the conditions are 
well understood and documented.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 09:33:32 2012
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 F1F7321F86C3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 09:33:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.532
X-Spam-Level: 
X-Spam-Status: No, score=-8.532 tagged_above=-999 required=5 tests=[AWL=2.067, 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 0SOKvpmbR3eC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 09:33:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A85821F86B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 09:33:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Qv9-0005jr-7f for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 17:33:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1S2Qut-0005hd-0J for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 17:32:47 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1S2Qul-0006lb-MT for ietf-http-wg@w3.org; Tue, 28 Feb 2012 17:32:45 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q1SHVYJO003639; Tue, 28 Feb 2012 18:31:37 +0100 (CET)
Received: from [192.168.217.105] (p5489AA88.dip.t-dialin.net [84.137.170.136]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 42328990; Tue, 28 Feb 2012 18:31:09 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4F4D05A2.4000907@gmx.de>
Date: Tue, 28 Feb 2012 18:31:08 +0100
Cc: Martin Thomson <martin.thomson@gmail.com>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2Qul-0006lb-MT 179263ea3402f83584b3020c0085d4aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12606
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>
Resent-Message-Id: <E1S2Qv9-0005jr-7f@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 17:33:03 +0000

I'm not sure we are communicating.

In the web-as-deployed, partial updates often use the PUT method.
Intermediaries know these are idempotent and can do interesting things =
to these interactions.

In the web-as-soon-specified, partial updates are now moving to PATCH.
Intermediaries don't know anything and cannot do anything that would =
rely on idempotence.

Is that a problem? =20
A big enough problem that would move us to do something about the point =
the specs now seem to be converging towards?

I don't know.  I just want to make sure we communicate about this =
change.

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 10:25:40 2012
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 55D9021F86A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 10:25:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.256
X-Spam-Level: 
X-Spam-Status: No, score=-8.256 tagged_above=-999 required=5 tests=[AWL=2.343, 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 btMC71M2DpGo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 10:25:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B6C4121F86AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 10:25:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Rj9-0004AO-CT for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 18:24:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1S2Riq-00048X-9P for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 18:24:24 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1S2Rij-0002b6-6B for ietf-http-wg@w3.org; Tue, 28 Feb 2012 18:24:23 +0000
Received: by bkwj5 with SMTP id j5so2078bkw.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 10:23:51 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.204.145.70 as permitted sender) client-ip=10.204.145.70;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.204.145.70 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.204.145.70]) by 10.204.145.70 with SMTP id c6mr9841880bkv.41.1330453431680 (num_hops = 1); Tue, 28 Feb 2012 10:23:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=MlqWUGVmxN38plu9h9ppmKRVb6lUvtVlttvGKuD92m0=; b=Gv510XdtWHftdcL0muqNjIGXgJlBulZzMAihb/8S0mDQEdq43SCM6hjz00nG92SUIW aEC1NaJuVFAAQvw6imkK02M6ktxZVFaTZZ/oaKFFNrWyfGGTJsrY/xz+y8jdCNIgCFtT 0CWTVptFQbqSzXzRTpXE3aHtM9g0pFsmJj/rI=
MIME-Version: 1.0
Received: by 10.204.145.70 with SMTP id c6mr7950009bkv.41.1330453431591; Tue, 28 Feb 2012 10:23:51 -0800 (PST)
Received: by 10.204.232.74 with HTTP; Tue, 28 Feb 2012 10:23:51 -0800 (PST)
In-Reply-To: <4F4D05A2.4000907@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de>
Date: Tue, 28 Feb 2012 10:23:51 -0800
Message-ID: <CABkgnnVeZ2j48ZKOTifJnQsBHcw6U4xw0-Q9AU+5cxiifSKaOg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2Rij-0002b6-6B 586d2a9763c68e13387acb3084b66494
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CABkgnnVeZ2j48ZKOTifJnQsBHcw6U4xw0-Q9AU+5cxiifSKaOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12607
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>
Resent-Message-Id: <E1S2Rj9-0004AO-CT@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 18:24:43 +0000

On 28 February 2012 08:49, Julian Reschke <julian.reschke@gmx.de> wrote:
>> A PUT is by definition idempotent. =C2=A0A PATCH, like POST, is only
>> idempotent under (secret, non-obvious) conditions.
>
> That is true, but I'm not sure that is a problem when the conditions are
> well understood and documented.

That's the part that needs to be clearer.  Because I'm not certain
that I can look at a given PATCH (or POST) request and make a
determination about idempotence. The problem is that RFC 5789
categorically denies that PATCH is idempotent (then goes on to qualify
as you cited previously.)

Is it always true that a PATCH request with an If-Match header
containing a strong ETag is idempotent?  I think that it is as long as
the contract is observed (i.e. the server pays attention to the
If-Match; the ETag really is strong).

I don't think that any of the other conditional headers can be used to
make a statement of the same certitude.  Of course, there are plenty
of requests that could be non-idempotent, but - if you understand the
context - are actually idempotent.  That's the point of contention: is
it desirable that this property be observable (thanks Carsten)?

I don't see a strong reason to.  (What I think you saw as motivation
to do so, was just an attempt at clarifying a technical point.)  I
tend to think that if this is important, you need to restructure your
resources (my original point).

--Martin


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 10:32:16 2012
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 111F521F86B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 10:32:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.316
X-Spam-Level: 
X-Spam-Status: No, score=-8.316 tagged_above=-999 required=5 tests=[AWL=2.283, 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 o8Az+wZgkcLE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 10:32:15 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5A82021F865B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 10:32:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2RqB-0000Vh-TI for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 18:31:59 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1S2Rq1-0000UU-9e for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 18:31:49 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1S2Rps-0002z5-Pw for ietf-http-wg@w3.org; Tue, 28 Feb 2012 18:31:48 +0000
Received: by bkwj5 with SMTP id j5so12287bkw.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 10:31:14 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.204.128.211 as permitted sender) client-ip=10.204.128.211;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.204.128.211 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.204.128.211]) by 10.204.128.211 with SMTP id l19mr10455095bks.59.1330453874876 (num_hops = 1); Tue, 28 Feb 2012 10:31:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=OBGuI9ASA2xI2ZR/goA4pDS2LVQ4jmxj2lsSFmvUpgI=; b=IWu6onlkzUKGiGbE/UCdFaZ+05QRv8P2qBeAg1awHZpgAfaMmnG/ufwo7WepVKuAHM Ug2jKMtcr68nxdb6i4c1PQNLov9hwdzGSD2H64Cu6jQUUGWRMtPnpYS+pJNXCJ8P+SWH domRb1UVE01bcGseqDxIZiIico25/GceSPPeA=
MIME-Version: 1.0
Received: by 10.204.128.211 with SMTP id l19mr8457828bks.59.1330453874782; Tue, 28 Feb 2012 10:31:14 -0800 (PST)
Received: by 10.204.232.74 with HTTP; Tue, 28 Feb 2012 10:31:14 -0800 (PST)
In-Reply-To: <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com>
References: <4F4AA9D9.5040000@informatik.uni-kiel.de> <4F4B5BFD.2030701@treenet.co.nz> <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com>
Date: Tue, 28 Feb 2012 10:31:14 -0800
Message-ID: <CABkgnnU7-7wLf0F7n_LvC4O9gM2hkpUOa7uYwOp9NrZFqHPWQw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2Rps-0002z5-Pw fc3e96f64117052e2d690aeb29ce0295
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/CABkgnnU7-7wLf0F7n_LvC4O9gM2hkpUOa7uYwOp9NrZFqHPWQw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12608
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>
Resent-Message-Id: <E1S2RqB-0000Vh-TI@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 18:31:59 +0000

On 27 February 2012 13:23, Roy T. Fielding <fielding@gbiv.com> wrote:
> No, POST can create resources. =C2=A0The only difference is that the clie=
nt doesn't
> know how the resource(s) will be identified after being created.

And some of us really like having some control over our own URI space,
preferring this approach over PUT.  I wouldn't characterize that as a
mistake, just a choice.


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 11:56:54 2012
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 098FC21E804B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 11:56:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.724
X-Spam-Level: 
X-Spam-Status: No, score=-9.724 tagged_above=-999 required=5 tests=[AWL=0.875, 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 ZvOEM0UZsuyc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 11:56:53 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4EC4921E803B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 11:56:53 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2T93-0000OZ-Ml for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 19:55:33 +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 1S2T8m-0000Nc-5d for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 19:55:16 +0000
Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a33.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S2T8g-0003Gk-L6 for ietf-http-wg@w3.org; Tue, 28 Feb 2012 19:55:14 +0000
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id 7061959405E; Tue, 28 Feb 2012 11:54:49 -0800 (PST)
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=A2tJWUwvDkJh4Xx2 Wu02WI61d5p7By+AraEAuPh37tegURnTSE/mnsF1TYYz/H9/Zwcf64hJbkH5rwQo w0AhHdMJTfKPDMBlZsA+4vLlRraqC9TIpMK9NmCeFBuAkIH8HrsjI1VhA05lNDuw LUqkHNax0BgyTA8p49Cj6Ws7DY4=
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=zjiiz1tMyyfD/AB7rJ1TWVS4bGc=; b=zOql6jKOEF5Affvr0Ib+MDmhgAac pYPOZE7lpZfkb4Z/JmvqsXEcG/YEL7UZVs3RbKPwe26TnyLT9FTWdFeCRn7s8WCa cPAQGNyOp6lGzI9jCuLQFfbJHFJ5RF6/7mdlFdOVZMpNyho1Kh9qCzoFnea6P6I+ 6bEWQxJmBM5y9Uw=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (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 3A80E594058; Tue, 28 Feb 2012 11:54:49 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org>
Date: Tue, 28 Feb 2012 11:54:51 -0800
Cc: Julian Reschke <julian.reschke@gmx.de>, Martin Thomson <martin.thomson@gmail.com>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.202; 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 1S2T8g-0003Gk-L6 16ddeca0dba98a40c75fcacd5140c161
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12609
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>
Resent-Message-Id: <E1S2T93-0000OZ-Ml@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 19:55:33 +0000

On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:

> I'm not sure we are communicating.
> 
> In the web-as-deployed, partial updates often use the PUT method.

In the Web as defined, standardized, and deployed, those partial
updates using the PUT method are not interoperable with standard
HTTP/1.x servers.  That has been known since the idea was first
brought up and has not changed since then.  We could not make
non-compatible changes to an existing method in 1996, nor 1999,
nor can we do so now in 2012.  There is no such thing as partial
updates using PUT.  At best, there are some standard servers that
actively reject partial updates using PUT in order to prevent such
misbegotten behavior from corrupting their data store.

Any software that uses Content-Range in PUT requests is BROKEN.
Regardless of what we have in the spec, they are still BROKEN.
They simply do not interoperate over HTTP.  They only interoperate
with non-standard servers.

That is why I defined PATCH in 1994.  That is why there is a
proposed standard for PATCH now.  That is why all HTTP servers
that want to support partial updates will either use PATCH or
be forever broken.

Standards are based on what we know will work on the Internet.
We know partial PUT does not work.  Hence, it is not and has never
been part of the HTTP standard.

....Roy


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 14:18:53 2012
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 9511B21E8028 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 14:18:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.328
X-Spam-Level: 
X-Spam-Status: No, score=-10.328 tagged_above=-999 required=5 tests=[AWL=0.271, 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 c0Ia2sAYgM52 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 14:18:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 537E621E8027 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 14:18:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2VMa-0001F3-7c for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 22:17:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2VMI-0001Bc-CE for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 22:17:22 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2VMF-00079L-S9 for ietf-http-wg@w3.org; Tue, 28 Feb 2012 22:17:21 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 91CFAE6E68; Wed, 29 Feb 2012 11:16:55 +1300 (NZDT)
To: Martin Thomson <martin.thomson@gmail.com>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Wed, 29 Feb 2012 11:16:55 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, <ietf-http-wg@w3.org>
In-Reply-To: <CABkgnnU7-7wLf0F7n_LvC4O9gM2hkpUOa7uYwOp9NrZFqHPWQw@mail.gmail.com>
References: <4F4AA9D9.5040000@informatik.uni-kiel.de> <4F4B5BFD.2030701@treenet.co.nz> <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com> <CABkgnnU7-7wLf0F7n_LvC4O9gM2hkpUOa7uYwOp9NrZFqHPWQw@mail.gmail.com>
Message-ID: <29e829a75da6a761cd2c2f8af7c45a96@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2VMF-00079L-S9 ebb64e919e4e2047b1dba546af9490c9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/29e829a75da6a761cd2c2f8af7c45a96@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12610
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>
Resent-Message-Id: <E1S2VMa-0001F3-7c@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 22:17:40 +0000

On 29.02.2012 07:31, Martin Thomson wrote:
> On 27 February 2012 13:23, Roy T. Fielding <fielding@gbiv.com> wrote:
>> No, POST can create resources. Â The only difference is that the 
>> client doesn't
>> know how the resource(s) will be identified after being created.
>
> And some of us really like having some control over our own URI 
> space,
> preferring this approach over PUT.  I wouldn't characterize that as a
> mistake, just a choice.


The blessed way to do that is with a 3xx redirect instructing the 
client where you want the resource PUT if they somehow get it wrong. (Or 
just plain denying wrong PUT if you dont want third-party scripts using 
PUT on your site.)


Yes, I too see a bandwidth problem with that blessed way of doing 
things. Perhapse what is needed is a response indicating "okay, but 
change the URI to X" which does not involve a repeated PUT action. The 
plain PUT+200 sequence seems not to do that easily (workable ideas 
welcome. With my web-dev hat on I have an interest in implementing).

AYJ


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 14:54:12 2012
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 BC34421E8035 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 14:54:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.376
X-Spam-Level: 
X-Spam-Status: No, score=-9.376 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_47=0.6, J_CHICKENPOX_63=0.6, 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 uS+onxoYVb8x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 14:54:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 36DE921E8028 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 14:54:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2VvK-0001z0-Mm for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 22:53:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1S2Vv8-0001y9-Qs for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 22:53:22 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1S2Vv6-0004aG-3w for ietf-http-wg@w3.org; Tue, 28 Feb 2012 22:53:22 +0000
Received: by lagr15 with SMTP id r15so6606341lag.2 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 14:52:53 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@belshe.com designates 10.112.43.106 as permitted sender) client-ip=10.112.43.106;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@belshe.com designates 10.112.43.106 as permitted sender) smtp.mail=mike@belshe.com
Received: from mr.google.com ([10.112.43.106]) by 10.112.43.106 with SMTP id v10mr4652621lbl.2.1330469573955 (num_hops = 1); Tue, 28 Feb 2012 14:52:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.112.43.106 with SMTP id v10mr3825454lbl.2.1330469573697; Tue, 28 Feb 2012 14:52:53 -0800 (PST)
Received: by 10.112.24.167 with HTTP; Tue, 28 Feb 2012 14:52:53 -0800 (PST)
In-Reply-To: <20120225121336.GC8633@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu>
Date: Tue, 28 Feb 2012 14:52:53 -0800
Message-ID: <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e0cb4efe2a3453210f04ba0e1677
X-Gm-Message-State: ALoCoQmMS8VpLtkBtWxsUMzyDPn5euKexp4F7tDZRyBdHN6VAPVeVwbORXK5hpH2yphiqgDBPsbx
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2Vv6-0004aG-3w f219c2f515f53afc0c864495b2438d13
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12611
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>
Resent-Message-Id: <E1S2VvK-0001z0-Mm@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 22:53:34 +0000

--e0cb4efe2a3453210f04ba0e1677
Content-Type: text/plain; charset=ISO-8859-1

Hi, Willy -

Thanks for the insightful comments about header compression.  I'm out of
the country for a few days, so I am slow to reply fully.

We did consider this, but ultimately decided it was mostly a non issue, as
the problem already exists.   Specifically - the same amplification attacks
exist in the data stream with data gzip encoding.  You could make an
argument that origin servers and proxy servers are different, I suppose;
but many proxy servers are doing virus scanning and other content checks
anyway, and already decoding that stream.  But if you're still not
convinced, the problem also exists at the SSL layer.  (SSL will happily
negotiate compression of the entire stream - headers & all - long before it
gets to the app layer).  So overall, I don't think this is a new attack
vector for HTTP.

We did consider some header compression schemes like what you proposed -
they are quite viable.  They definitely provide less compression, and are
less resilient to learning over time like zlib is.  They also generally
fail to help with repeated cookies, which is really where some of the
biggest gains are.  But I'm open to other compression schemes.

Note that SPDY's compressor achieves about 85-90% compression for typical
web pages.

Mike


On Sat, Feb 25, 2012 at 4:13 AM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Mike,
>
> On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe wrote:
> > I posted this draft for comment from all.
> >
> >    http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
>
> First, thank you for posting this draft, it's full of very nice ideas.
>
> I have a really major concern with header compression. I understand that
> the initial reason why it is needed is that HTTP header names are quite
> long, but is an issue that we should address in HTTP/2.0 instead of any
> attempt to work around it by compressing them. Some header values are
> quite long too. User-agent could be reduced to 16bit vendor-id + 8-bit
> product-id + 8-bit product version. Cookies can be quite long but will
> generally not compress much since long ones are supposed to be
> unpredictable randoms.
>
> The concern I'm having with header compression is that it makes DoS much
> more trivial using low-bandwidth attacks. I've performed a test using the
> dictionary provided in the draft. Using it, I can reduce 4233425 bytes of
> crap headers to 7 bytes ("78 f9 e3 c6 a7 c2 ec"). Considered like this, it
> looks efficient. Now see it differently : by sending a frame of 18 + 7 =
> 25 bytes of data, I can make the server write 4233425 bytes to memory then
> parse those bytes as HTTP headers.  This is an amplification ratio of
> 4233425/25 = 169337. In other words, it means that with only the 256 kbps
> of upstream bandwidth I have on my entry-level ADSL access, I can make an
> intermediary or server have to process 43 Gbps of HTTP headers ! And even
> if we did not use an initial dictionary, it's easy to achieve compression
> ratios above 200 with zlib, which is still very dangerous in the case of
> DDoS attacks.
>
> Basically, it means that any low-end internet access is enough to knock
> down even large sites, even those who make use of hardware-accelerated
> zlib decompression. This is a major issue, especially if we consider the
> rise of DDoS attacks these days.
>
> In my opinion, in the sake of robustness, it is much better to be able
> to parse the stream and stop as soon as something's wrong. This means
> that the headers should be sent in the most easily parsable form. For
> efficiency, we should ditch current header names and use 1-byte for the
> most common ones. Possibly we could make use of a variable length encoding
> for the size just as we used in WebSocket. This way, most headers could be
> encoded as one byte for the length, one for the header name, and a few
> bytes for the value.  Some headers could be typed as enums to save space.
>
> For instance, if we apply this principle to the example in SPDY-Fan.pdf
> (274 bytes) :
>
>  GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1
>  Host: static.ak.fbcdn.net
>  User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8)
>  Accept: text/css,*/*;q=0.1
>  Accept-Language: en-us,en;q=0.5
>  Accept-Encoding: gzip,deflate
>  Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>
> We could get down to something more or less like this with minimal effort :
>
>   1 byte for method=GET + version=1.1
>   1 byte for the Host header value length
>  19 bytes for "static.ak.fbcdn.net"
>  33 bytes for "/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css"
>   1 byte for User-Agent header name
>   4 bytes for Mozilla + browser type + major version number
>   1 byte for Accept
>   1 byte for the number of content-types bytes
>   1 byte for text/css
>   1 byte for */*;q=
>   1 byte for 0.1
>   1 byte for Accept-Language
>   1 byte for the number of accept-languauge bytes
>   1 byte for en-us
>   1 byte for en;q=
>   1 byte for 0.5
>   1 byte for Accept-Encoding
>   1 byte for the number of bytes in the values
>   1 byte for gzip
>   1 byte for deflate        (note: both could be merged into one single)
>   1 byte for Accept-Charset
>   1 byte for the value length
>   1 byte ISO-8859-1
>   1 byte for utf-8;q=
>   1 byte for 0.7
>   1 byte for *;q=
>   1 byte for 0.7
>
> We're at a total of 80 bytes or 29% of the original size for a *small*
> request, which was already dominated by the Host, URI and UA lengths.
> And such an encoding would be as cheap to parse as it is to produce.
>
> We also have to take intermediaries into account. Most of them touch a
> few headers (eg: add/remove a cookie, etc). An encoding such as above
> is much cheaper to produce than it is to decompress+recompress just to
> add a cookie.
>
> Best regards,
> Willy
>
>

--e0cb4efe2a3453210f04ba0e1677
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi, Willy -<div><br></div><div>Thanks for the insightful comments about hea=
der compression. =A0I&#39;m out of the country for a few days, so I am slow=
 to reply fully.</div><div><br></div><div>We did consider this, but ultimat=
ely decided it was mostly a non issue, as the problem already exists. =A0 S=
pecifically - the same amplification attacks exist in the data stream with =
data gzip encoding. =A0You could make an argument that origin servers and p=
roxy servers are different, I suppose; but many proxy servers are doing vir=
us scanning and other content checks anyway, and already decoding that stre=
am. =A0But if you&#39;re still not convinced, the problem also exists at th=
e=A0SSL layer. =A0(SSL will happily negotiate compression of the entire str=
eam - headers &amp; all - long before it gets to the app layer). =A0So over=
all, I don&#39;t think this is a new attack vector for HTTP.</div>
<div><br></div><div>We did consider some header compression schemes like wh=
at you proposed - they are quite viable. =A0They definitely provide less co=
mpression, and are less resilient to learning over time like zlib is. =A0Th=
ey also generally fail to help with repeated cookies, which is really where=
 some of the biggest gains are. =A0But I&#39;m open to other compression sc=
hemes.=A0</div>
<div><br></div><div>Note that SPDY&#39;s compressor achieves about 85-90% c=
ompression for typical web pages.</div><div><br></div><div>Mike</div><div><=
br></div><div><br><div class=3D"gmail_quote">On Sat, Feb 25, 2012 at 4:13 A=
M, Willy Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Mike,<br>
<div class=3D"im"><br>
On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe wrote:<br>
&gt; I posted this draft for comment from all.<br>
&gt;<br>
&gt; =A0 =A0<a href=3D"http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00=
.txt" target=3D"_blank">http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-0=
0.txt</a><br>
<br>
</div>First, thank you for posting this draft, it&#39;s full of very nice i=
deas.<br>
<br>
I have a really major concern with header compression. I understand that<br=
>
the initial reason why it is needed is that HTTP header names are quite<br>
long, but is an issue that we should address in HTTP/2.0 instead of any<br>
attempt to work around it by compressing them. Some header values are<br>
quite long too. User-agent could be reduced to 16bit vendor-id + 8-bit<br>
product-id + 8-bit product version. Cookies can be quite long but will<br>
generally not compress much since long ones are supposed to be<br>
unpredictable randoms.<br>
<br>
The concern I&#39;m having with header compression is that it makes DoS muc=
h<br>
more trivial using low-bandwidth attacks. I&#39;ve performed a test using t=
he<br>
dictionary provided in the draft. Using it, I can reduce 4233425 bytes of<b=
r>
crap headers to 7 bytes (&quot;78 f9 e3 c6 a7 c2 ec&quot;). Considered like=
 this, it<br>
looks efficient. Now see it differently : by sending a frame of 18 + 7 =3D<=
br>
25 bytes of data, I can make the server write 4233425 bytes to memory then<=
br>
parse those bytes as HTTP headers. =A0This is an amplification ratio of<br>
4233425/25 =3D 169337. In other words, it means that with only the 256 kbps=
<br>
of upstream bandwidth I have on my entry-level ADSL access, I can make an<b=
r>
intermediary or server have to process 43 Gbps of HTTP headers ! And even<b=
r>
if we did not use an initial dictionary, it&#39;s easy to achieve compressi=
on<br>
ratios above 200 with zlib, which is still very dangerous in the case of<br=
>
DDoS attacks.<br>
<br>
Basically, it means that any low-end internet access is enough to knock<br>
down even large sites, even those who make use of hardware-accelerated<br>
zlib decompression. This is a major issue, especially if we consider the<br=
>
rise of DDoS attacks these days.<br>
<br>
In my opinion, in the sake of robustness, it is much better to be able<br>
to parse the stream and stop as soon as something&#39;s wrong. This means<b=
r>
that the headers should be sent in the most easily parsable form. For<br>
efficiency, we should ditch current header names and use 1-byte for the<br>
most common ones. Possibly we could make use of a variable length encoding<=
br>
for the size just as we used in WebSocket. This way, most headers could be<=
br>
encoded as one byte for the length, one for the header name, and a few<br>
bytes for the value. =A0Some headers could be typed as enums to save space.=
<br>
<br>
For instance, if we apply this principle to the example in SPDY-Fan.pdf<br>
(274 bytes) :<br>
<br>
 =A0GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1<br>
 =A0Host: <a href=3D"http://static.ak.fbcdn.net" target=3D"_blank">static.a=
k.fbcdn.net</a><br>
 =A0User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8)<br>
 =A0Accept: text/css,*/*;q=3D0.1<br>
 =A0Accept-Language: en-us,en;q=3D0.5<br>
 =A0Accept-Encoding: gzip,deflate<br>
 =A0Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7<br>
<br>
We could get down to something more or less like this with minimal effort :=
<br>
<br>
 =A0 1 byte for method=3DGET + version=3D1.1<br>
 =A0 1 byte for the Host header value length<br>
 =A019 bytes for &quot;<a href=3D"http://static.ak.fbcdn.net" target=3D"_bl=
ank">static.ak.fbcdn.net</a>&quot;<br>
 =A033 bytes for &quot;/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css&quot;<br>
 =A0 1 byte for User-Agent header name<br>
 =A0 4 bytes for Mozilla + browser type + major version number<br>
 =A0 1 byte for Accept<br>
 =A0 1 byte for the number of content-types bytes<br>
 =A0 1 byte for text/css<br>
 =A0 1 byte for */*;q=3D<br>
 =A0 1 byte for 0.1<br>
 =A0 1 byte for Accept-Language<br>
 =A0 1 byte for the number of accept-languauge bytes<br>
 =A0 1 byte for en-us<br>
 =A0 1 byte for en;q=3D<br>
 =A0 1 byte for 0.5<br>
 =A0 1 byte for Accept-Encoding<br>
 =A0 1 byte for the number of bytes in the values<br>
 =A0 1 byte for gzip<br>
 =A0 1 byte for deflate =A0 =A0 =A0 =A0(note: both could be merged into one=
 single)<br>
 =A0 1 byte for Accept-Charset<br>
 =A0 1 byte for the value length<br>
 =A0 1 byte ISO-8859-1<br>
 =A0 1 byte for utf-8;q=3D<br>
 =A0 1 byte for 0.7<br>
 =A0 1 byte for *;q=3D<br>
 =A0 1 byte for 0.7<br>
<br>
We&#39;re at a total of 80 bytes or 29% of the original size for a *small*<=
br>
request, which was already dominated by the Host, URI and UA lengths.<br>
And such an encoding would be as cheap to parse as it is to produce.<br>
<br>
We also have to take intermediaries into account. Most of them touch a<br>
few headers (eg: add/remove a cookie, etc). An encoding such as above<br>
is much cheaper to produce than it is to decompress+recompress just to<br>
add a cookie.<br>
<br>
Best regards,<br>
Willy<br>
<br>
</blockquote></div><br></div>

--e0cb4efe2a3453210f04ba0e1677--


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 14:55:45 2012
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 217E321E8044 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 14:55:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.259
X-Spam-Level: 
X-Spam-Status: No, score=-8.259 tagged_above=-999 required=5 tests=[AWL=2.340, 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 hEMLWCu2HyIn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 14:55:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 12B6021E802C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 14:55:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Vx7-0002B9-Mb for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 22:55:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2Vww-0002AC-Vk for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 22:55:15 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2Vwu-0004ch-Te for ietf-http-wg@w3.org; Tue, 28 Feb 2012 22:55:14 +0000
Received: (qmail invoked by alias); 28 Feb 2012 22:54:44 -0000
Received: from p3EE2676A.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.103.106] by mail.gmx.net (mp035) with SMTP; 28 Feb 2012 23:54:44 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18TbBk/o9MTEC0aapqa9+SwX0QzK6jx0s0zewSnWe USr5nbm7+zG3uJ
Message-ID: <4F4D5B2D.1060807@gmx.de>
Date: Tue, 28 Feb 2012 23:54:37 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: Martin Thomson <martin.thomson@gmail.com>,  "Roy T. Fielding" <fielding@gbiv.com>, ietf-http-wg@w3.org
References: <4F4AA9D9.5040000@informatik.uni-kiel.de> <4F4B5BFD.2030701@treenet.co.nz> <2C531B17-7035-490E-894C-30D4A67B8F2F@gbiv.com> <CABkgnnU7-7wLf0F7n_LvC4O9gM2hkpUOa7uYwOp9NrZFqHPWQw@mail.gmail.com> <29e829a75da6a761cd2c2f8af7c45a96@treenet.co.nz>
In-Reply-To: <29e829a75da6a761cd2c2f8af7c45a96@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2Vwu-0004ch-Te 073b9d173cbdba3751b13da32714a9b9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP at a glance
Archived-At: <http://www.w3.org/mid/4F4D5B2D.1060807@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12612
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>
Resent-Message-Id: <E1S2Vx7-0002B9-Mb@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 22:55:25 +0000

On 2012-02-28 23:16, Amos Jeffries wrote:
> On 29.02.2012 07:31, Martin Thomson wrote:
>> On 27 February 2012 13:23, Roy T. Fielding <fielding@gbiv.com> wrote:
>>> No, POST can create resources.  The only difference is that the
>>> client doesn't
>>> know how the resource(s) will be identified after being created.
>>
>> And some of us really like having some control over our own URI space,
>> preferring this approach over PUT. I wouldn't characterize that as a
>> mistake, just a choice.
>
>
> The blessed way to do that is with a 3xx redirect instructing the client
> where you want the resource PUT if they somehow get it wrong. (Or just

I wouldn't call it "the blessed way". In particular, automatically 
following a redirect upon PUT might be dangerous.

> plain denying wrong PUT if you dont want third-party scripts using PUT
> on your site.)

Yes. If you want to control the URI space, simply do not implement 
PUT-for-create.

> Yes, I too see a bandwidth problem with that blessed way of doing
> things. Perhapse what is needed is a response indicating "okay, but
> change the URI to X" which does not involve a repeated PUT action. The
> plain PUT+200 sequence seems not to do that easily (workable ideas
> welcome. With my web-dev hat on I have an interest in implementing).

So you want PUT semantics with server-chooses-URI? I tried to specify 
this a few years ago 
(http://greenbytes.de/tech/webdav/draft-reschke-http-addmember-latest.html) 
but was "convinced" that POST is sufficient, so defined the 
WebDAV-specific RFC 5995.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 15:03:29 2012
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 2F65321E802C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 15:03:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.282
X-Spam-Level: 
X-Spam-Status: No, score=-8.282 tagged_above=-999 required=5 tests=[AWL=2.317, 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 Dh691InC5SUG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 15:03:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A7D1A21E8035 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 15:03:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2W4d-0004n4-14 for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 23:03:11 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2W4S-0004mA-88 for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 23:03:00 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2W4P-0008RS-OQ for ietf-http-wg@w3.org; Tue, 28 Feb 2012 23:02:59 +0000
Received: (qmail invoked by alias); 28 Feb 2012 23:02:31 -0000
Received: from p3EE2676A.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.103.106] by mail.gmx.net (mp024) with SMTP; 29 Feb 2012 00:02:31 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19z7SML0hFzdSb/NzMAKCbTtJCSGoN8xMm9DVFD22 CXvFQ96qZk5XSI
Message-ID: <4F4D5D01.3040402@gmx.de>
Date: Wed, 29 Feb 2012 00:02:25 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Willy Tarreau <w@1wt.eu>, httpbis mailing list <ietf-http-wg@w3.org>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
In-Reply-To: <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2W4P-0008RS-OQ d8fc45178ce9786f8c1066d3e7928ffa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4D5D01.3040402@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12613
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>
Resent-Message-Id: <E1S2W4d-0004n4-14@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 23:03:11 +0000

On 2012-02-28 23:52, Mike Belshe wrote:
> Hi, Willy -
>
> Thanks for the insightful comments about header compression.  I'm out of
> the country for a few days, so I am slow to reply fully.
>
> We did consider this, but ultimately decided it was mostly a non issue,
> as the problem already exists.   Specifically - the same amplification
> attacks exist in the data stream with data gzip encoding.  You could
> make an argument that origin servers and proxy servers are different, I
> suppose; but many proxy servers are doing virus scanning and other
> content checks anyway, and already decoding that stream.  But if you're
> still not convinced, the problem also exists at the SSL layer.  (SSL
> will happily negotiate compression of the entire stream - headers & all
> - long before it gets to the app layer).  So overall, I don't think this
> is a new attack vector for HTTP.
> ...

Am I missing something? When using SSL, the intermediate won't see the 
contents of the message anyway, right? (and yes, I'm aware of the "but", 
but that's not something we need to optimize for...)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 15:54:03 2012
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 CD79E21E8071 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 15:54:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.819
X-Spam-Level: 
X-Spam-Status: No, score=-9.819 tagged_above=-999 required=5 tests=[AWL=0.780, 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 1fIuWC87ru2m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 15:54:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ECDE121E806C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 15:54:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Wqq-000743-8s for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Feb 2012 23:53:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2WqX-00072e-04 for ietf-http-wg@listhub.w3.org; Tue, 28 Feb 2012 23:52:41 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2WqU-0001EA-9I for ietf-http-wg@w3.org; Tue, 28 Feb 2012 23:52:39 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1SNqFcg030558; Wed, 29 Feb 2012 00:52:15 +0100
Date: Wed, 29 Feb 2012 00:52:15 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: httpbis mailing list <ietf-http-wg@w3.org>
Message-ID: <20120228235215.GB29361@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2WqU-0001EA-9I af0a5fa97bbc399317df62ffc2649cf3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120228235215.GB29361@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12614
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>
Resent-Message-Id: <E1S2Wqq-000743-8s@frink.w3.org>
Resent-Date: Tue, 28 Feb 2012 23:53:00 +0000

Hi Mike,

On Tue, Feb 28, 2012 at 02:52:53PM -0800, Mike Belshe wrote:
> Hi, Willy -
> 
> Thanks for the insightful comments about header compression.  I'm out of
> the country for a few days, so I am slow to reply fully.

No problem, don't worry :-)

> We did consider this, but ultimately decided it was mostly a non issue, as
> the problem already exists.   Specifically - the same amplification attacks
> exist in the data stream with data gzip encoding.  You could make an
> argument that origin servers and proxy servers are different, I suppose;
> but many proxy servers are doing virus scanning and other content checks
> anyway, and already decoding that stream.  But if you're still not
> convinced, the problem also exists at the SSL layer.  (SSL will happily
> negotiate compression of the entire stream - headers & all - long before it
> gets to the app layer).  So overall, I don't think this is a new attack
> vector for HTTP.

I see it differently. The other examples (SSL and content encoding) are not
mandatory for a server-side component, which is exposed to DDoS attacks.
Here we're talking about making compression a mandatory requirement for any
server-side component, which means that it would not even be an option to
disable it should this become a huge threat at some point.

> We did consider some header compression schemes like what you proposed -
> they are quite viable.  They definitely provide less compression, and are
> less resilient to learning over time like zlib is.  They also generally
> fail to help with repeated cookies, which is really where some of the
> biggest gains are.  But I'm open to other compression schemes.

I'm fairly sure there will be less gain there, but we should balance the
gain and the cost. We could as well switch to LZMA to try to slightly
improve the compression ratio at an even higher cost. Also, I totally
understand why in SPDY you had to design *with* existing HTTP issues in
mind. Thus, your choices (eg: compress repeated cookies) make a lot of
sense. Now that we're designing a new HTTP version, we should first
address the original HTTP issues, one of them being duplicated headers
which has been discussed here to great extents. One of the possibilities
would be to allow anyone (including the UA) to remove duplicate headers
before folding.

> Note that SPDY's compressor achieves about 85-90% compression for typical
> web pages.

I'm not surprized and that's quite good. I'm not contesting the gains,
but rather the costs of reaching this gain while I think that slightly
lower ones might be achieved at a much lower cost provided that we can
rework HTTP now.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 18:51:15 2012
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 9116721E8071 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 18:51:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.398
X-Spam-Level: 
X-Spam-Status: No, score=-9.398 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_47=0.6, J_CHICKENPOX_63=0.6, 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 MHkTsJzjGrpS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 18:51:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D356721E8037 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 18:51:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2Zbm-0002oC-Lf for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 02:49:38 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1S2ZbV-0002mT-7Q for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 02:49:21 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1S2ZbR-0005HZ-C0 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 02:49:19 +0000
Received: from [10.0.1.20] (rrcs-24-39-29-195.nys.biz.rr.com [24.39.29.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id DAA0E101B3 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2012 21:49:10 -0500 (EST)
Message-ID: <4F4D87B3.20801@mozilla.com>
Date: Tue, 28 Feb 2012 21:04:35 -0500
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
In-Reply-To: <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------020506060006070607090808"
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, TO_NO_BRKTS_PCNT=0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2ZbR-0005HZ-C0 fac8792ac12afcee96b257f5ca6200dd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4D87B3.20801@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12615
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>
Resent-Message-Id: <E1S2Zbm-0002oC-Lf@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 02:49:38 +0000

This is a multi-part message in MIME format.
--------------020506060006070607090808
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The  spdy compression scheme has proven itself very valuable in firefox 
testing.

Just like Mike has seen - we see 90% header reduction sizes, including 
on cookies because they are so repetitive between requests even if the 
individual cookies don't compress well. Exclusively, proscribing maps 
for well known values doesn't scale well to the value side of the n/v 
pairs and it biases strongly in favor of the status quo making it too 
difficult to deploy things like DNT in the future. I'm totally open to 
other formats as well - but this has proven itself to me with 
experience.. and right now I trust experience first, out of context data 
second, and good ideas third.

the dos implications don't bother me. http headers always have an 
implementation size limit anyhow - the fact that you can detect that 
limit has been hit with fewer bytes on the wire is kind of a mixed 
result (i.e. it isn't all bad or good).

For anyone that hasn't read some of the other posts on this topic, the 
compression here is a huge win on the request side because of CWND 
interaction. spdy multiplexes requests and can therefore, especially 
when a browser needs to get all of the subresources identified on the 
page, create a little bit of a flood of simultaneous requests. If each 
request is 500 bytes (i.e. no cookies) and IW=4, that's just  12 
requests that can  really be sent simultaneously. 90% compression means 
you can send 100+, which is a lot more realistic for being able to 
capture a page full of resources.. but honestly that's not far past 
current usage patterns and cookies of course put pressure on here too. 
So it's impt to count bytes and maximize savings. (pipelines have this 
challenge too and its the primary reason a pipeline of double digit 
depth doesn't really add much incremental value.)

On 2/28/2012 5:52 PM, Mike Belshe wrote:
> Hi, Willy -
>
> Thanks for the insightful comments about header compression.  I'm out 
> of the country for a few days, so I am slow to reply fully.
>
> We did consider this, but ultimately decided it was mostly a non 
> issue, as the problem already exists.   Specifically - the same 
> amplification attacks exist in the data stream with data gzip 
> encoding.  You could make an argument that origin servers and proxy 
> servers are different, I suppose; but many proxy servers are doing 
> virus scanning and other content checks anyway, and already decoding 
> that stream.  But if you're still not convinced, the problem also 
> exists at the SSL layer.  (SSL will happily negotiate compression of 
> the entire stream - headers & all - long before it gets to the app 
> layer).  So overall, I don't think this is a new attack vector for HTTP.
>
> We did consider some header compression schemes like what you proposed 
> - they are quite viable.  They definitely provide less compression, 
> and are less resilient to learning over time like zlib is.  They also 
> generally fail to help with repeated cookies, which is really where 
> some of the biggest gains are.  But I'm open to other compression 
> schemes.
>
> Note that SPDY's compressor achieves about 85-90% compression for 
> typical web pages.
>
> Mike
>
>
> On Sat, Feb 25, 2012 at 4:13 AM, Willy Tarreau <w@1wt.eu 
> <mailto:w@1wt.eu>> wrote:
>
>     Hi Mike,
>
>     On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe wrote:
>     > I posted this draft for comment from all.
>     >
>     > http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
>
>     First, thank you for posting this draft, it's full of very nice ideas.
>
>     I have a really major concern with header compression. I
>     understand that
>     the initial reason why it is needed is that HTTP header names are
>     quite
>     long, but is an issue that we should address in HTTP/2.0 instead
>     of any
>     attempt to work around it by compressing them. Some header values are
>     quite long too. User-agent could be reduced to 16bit vendor-id + 8-bit
>     product-id + 8-bit product version. Cookies can be quite long but will
>     generally not compress much since long ones are supposed to be
>     unpredictable randoms.
>
>     The concern I'm having with header compression is that it makes
>     DoS much
>     more trivial using low-bandwidth attacks. I've performed a test
>     using the
>     dictionary provided in the draft. Using it, I can reduce 4233425
>     bytes of
>     crap headers to 7 bytes ("78 f9 e3 c6 a7 c2 ec"). Considered like
>     this, it
>     looks efficient. Now see it differently : by sending a frame of 18
>     + 7 =
>     25 bytes of data, I can make the server write 4233425 bytes to
>     memory then
>     parse those bytes as HTTP headers.  This is an amplification ratio of
>     4233425/25 = 169337. In other words, it means that with only the
>     256 kbps
>     of upstream bandwidth I have on my entry-level ADSL access, I can
>     make an
>     intermediary or server have to process 43 Gbps of HTTP headers !
>     And even
>     if we did not use an initial dictionary, it's easy to achieve
>     compression
>     ratios above 200 with zlib, which is still very dangerous in the
>     case of
>     DDoS attacks.
>
>     Basically, it means that any low-end internet access is enough to
>     knock
>     down even large sites, even those who make use of hardware-accelerated
>     zlib decompression. This is a major issue, especially if we
>     consider the
>     rise of DDoS attacks these days.
>
>     In my opinion, in the sake of robustness, it is much better to be able
>     to parse the stream and stop as soon as something's wrong. This means
>     that the headers should be sent in the most easily parsable form. For
>     efficiency, we should ditch current header names and use 1-byte
>     for the
>     most common ones. Possibly we could make use of a variable length
>     encoding
>     for the size just as we used in WebSocket. This way, most headers
>     could be
>     encoded as one byte for the length, one for the header name, and a few
>     bytes for the value.  Some headers could be typed as enums to save
>     space.
>
>     For instance, if we apply this principle to the example in
>     SPDY-Fan.pdf
>     (274 bytes) :
>
>      GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1
>      Host: static.ak.fbcdn.net <http://static.ak.fbcdn.net>
>      User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8)
>      Accept: text/css,*/*;q=0.1
>      Accept-Language: en-us,en;q=0.5
>      Accept-Encoding: gzip,deflate
>      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>
>     We could get down to something more or less like this with minimal
>     effort :
>
>       1 byte for method=GET + version=1.1
>       1 byte for the Host header value length
>      19 bytes for "static.ak.fbcdn.net <http://static.ak.fbcdn.net>"
>      33 bytes for "/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css"
>       1 byte for User-Agent header name
>       4 bytes for Mozilla + browser type + major version number
>       1 byte for Accept
>       1 byte for the number of content-types bytes
>       1 byte for text/css
>       1 byte for */*;q=
>       1 byte for 0.1
>       1 byte for Accept-Language
>       1 byte for the number of accept-languauge bytes
>       1 byte for en-us
>       1 byte for en;q=
>       1 byte for 0.5
>       1 byte for Accept-Encoding
>       1 byte for the number of bytes in the values
>       1 byte for gzip
>       1 byte for deflate        (note: both could be merged into one
>     single)
>       1 byte for Accept-Charset
>       1 byte for the value length
>       1 byte ISO-8859-1
>       1 byte for utf-8;q=
>       1 byte for 0.7
>       1 byte for *;q=
>       1 byte for 0.7
>
>     We're at a total of 80 bytes or 29% of the original size for a *small*
>     request, which was already dominated by the Host, URI and UA lengths.
>     And such an encoding would be as cheap to parse as it is to produce.
>
>     We also have to take intermediaries into account. Most of them touch a
>     few headers (eg: add/remove a cookie, etc). An encoding such as above
>     is much cheaper to produce than it is to decompress+recompress just to
>     add a cookie.
>
>     Best regards,
>     Willy
>
>


--------------020506060006070607090808
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The&nbsp; spdy compression scheme has proven itself very valuable in
    firefox testing.<br>
    <br>
    Just like Mike has seen - we see 90% header reduction sizes,
    including on cookies because they are so repetitive between requests
    even if the individual cookies don't compress well. Exclusively,
    proscribing maps for well known values doesn't scale well to the
    value side of the n/v pairs and it biases strongly in favor of the
    status quo making it too difficult to deploy things like DNT in the
    future. I'm totally open to other formats as well - but this has
    proven itself to me with experience.. and right now I trust
    experience first, out of context data second, and good ideas third.<br>
    <br>
    the dos implications don't bother me. http headers always have an
    implementation size limit anyhow - the fact that you can detect that
    limit has been hit with fewer bytes on the wire is kind of a mixed
    result (i.e. it isn't all bad or good).<br>
    <br>
    For anyone that hasn't read some of the other posts on this topic,
    the compression here is a huge win on the request side because of
    CWND interaction. spdy multiplexes requests and can therefore,
    especially when a browser needs to get all of the subresources
    identified on the page, create a little bit of a flood of
    simultaneous requests. If each request is 500 bytes (i.e. no
    cookies) and IW=4, that's just&nbsp; 12 requests that can&nbsp; really be sent
    simultaneously. 90% compression means you can send 100+, which is a
    lot more realistic for being able to capture a page full of
    resources.. but honestly that's not far past current usage patterns
    and cookies of course put pressure on here too. So it's impt to
    count bytes and maximize savings. (pipelines have this challenge too
    and its the primary reason a pipeline of double digit depth doesn't
    really add much incremental value.)<br>
    <br>
    On 2/28/2012 5:52 PM, Mike Belshe wrote:
    <blockquote
cite="mid:CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com"
      type="cite">Hi, Willy -
      <div><br>
      </div>
      <div>Thanks for the insightful comments about header compression.
        &nbsp;I'm out of the country for a few days, so I am slow to reply
        fully.</div>
      <div><br>
      </div>
      <div>We did consider this, but ultimately decided it was mostly a
        non issue, as the problem already exists. &nbsp; Specifically - the
        same amplification attacks exist in the data stream with data
        gzip encoding. &nbsp;You could make an argument that origin servers
        and proxy servers are different, I suppose; but many proxy
        servers are doing virus scanning and other content checks
        anyway, and already decoding that stream. &nbsp;But if you're still
        not convinced, the problem also exists at the&nbsp;SSL layer. &nbsp;(SSL
        will happily negotiate compression of the entire stream -
        headers &amp; all - long before it gets to the app layer). &nbsp;So
        overall, I don't think this is a new attack vector for HTTP.</div>
      <div><br>
      </div>
      <div>We did consider some header compression schemes like what you
        proposed - they are quite viable. &nbsp;They definitely provide less
        compression, and are less resilient to learning over time like
        zlib is. &nbsp;They also generally fail to help with repeated
        cookies, which is really where some of the biggest gains are.
        &nbsp;But I'm open to other compression schemes.&nbsp;</div>
      <div><br>
      </div>
      <div>Note that SPDY's compressor achieves about 85-90% compression
        for typical web pages.</div>
      <div><br>
      </div>
      <div>Mike</div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">On Sat, Feb 25, 2012 at 4:13 AM, Willy
          Tarreau <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:w@1wt.eu">w@1wt.eu</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mike,<br>
            <div class="im"><br>
              On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe
              wrote:<br>
              &gt; I posted this draft for comment from all.<br>
              &gt;<br>
              &gt; &nbsp; &nbsp;<a moz-do-not-send="true"
                href="http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt"
                target="_blank">http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt</a><br>
              <br>
            </div>
            First, thank you for posting this draft, it's full of very
            nice ideas.<br>
            <br>
            I have a really major concern with header compression. I
            understand that<br>
            the initial reason why it is needed is that HTTP header
            names are quite<br>
            long, but is an issue that we should address in HTTP/2.0
            instead of any<br>
            attempt to work around it by compressing them. Some header
            values are<br>
            quite long too. User-agent could be reduced to 16bit
            vendor-id + 8-bit<br>
            product-id + 8-bit product version. Cookies can be quite
            long but will<br>
            generally not compress much since long ones are supposed to
            be<br>
            unpredictable randoms.<br>
            <br>
            The concern I'm having with header compression is that it
            makes DoS much<br>
            more trivial using low-bandwidth attacks. I've performed a
            test using the<br>
            dictionary provided in the draft. Using it, I can reduce
            4233425 bytes of<br>
            crap headers to 7 bytes ("78 f9 e3 c6 a7 c2 ec"). Considered
            like this, it<br>
            looks efficient. Now see it differently : by sending a frame
            of 18 + 7 =<br>
            25 bytes of data, I can make the server write 4233425 bytes
            to memory then<br>
            parse those bytes as HTTP headers. &nbsp;This is an amplification
            ratio of<br>
            4233425/25 = 169337. In other words, it means that with only
            the 256 kbps<br>
            of upstream bandwidth I have on my entry-level ADSL access,
            I can make an<br>
            intermediary or server have to process 43 Gbps of HTTP
            headers ! And even<br>
            if we did not use an initial dictionary, it's easy to
            achieve compression<br>
            ratios above 200 with zlib, which is still very dangerous in
            the case of<br>
            DDoS attacks.<br>
            <br>
            Basically, it means that any low-end internet access is
            enough to knock<br>
            down even large sites, even those who make use of
            hardware-accelerated<br>
            zlib decompression. This is a major issue, especially if we
            consider the<br>
            rise of DDoS attacks these days.<br>
            <br>
            In my opinion, in the sake of robustness, it is much better
            to be able<br>
            to parse the stream and stop as soon as something's wrong.
            This means<br>
            that the headers should be sent in the most easily parsable
            form. For<br>
            efficiency, we should ditch current header names and use
            1-byte for the<br>
            most common ones. Possibly we could make use of a variable
            length encoding<br>
            for the size just as we used in WebSocket. This way, most
            headers could be<br>
            encoded as one byte for the length, one for the header name,
            and a few<br>
            bytes for the value. &nbsp;Some headers could be typed as enums
            to save space.<br>
            <br>
            For instance, if we apply this principle to the example in
            SPDY-Fan.pdf<br>
            (274 bytes) :<br>
            <br>
            &nbsp;GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1<br>
            &nbsp;Host: <a moz-do-not-send="true"
              href="http://static.ak.fbcdn.net" target="_blank">static.ak.fbcdn.net</a><br>
            &nbsp;User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
            rv:1.9.2.8)<br>
            &nbsp;Accept: text/css,*/*;q=0.1<br>
            &nbsp;Accept-Language: en-us,en;q=0.5<br>
            &nbsp;Accept-Encoding: gzip,deflate<br>
            &nbsp;Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
            <br>
            We could get down to something more or less like this with
            minimal effort :<br>
            <br>
            &nbsp; 1 byte for method=GET + version=1.1<br>
            &nbsp; 1 byte for the Host header value length<br>
            &nbsp;19 bytes for "<a moz-do-not-send="true"
              href="http://static.ak.fbcdn.net" target="_blank">static.ak.fbcdn.net</a>"<br>
            &nbsp;33 bytes for "/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css"<br>
            &nbsp; 1 byte for User-Agent header name<br>
            &nbsp; 4 bytes for Mozilla + browser type + major version number<br>
            &nbsp; 1 byte for Accept<br>
            &nbsp; 1 byte for the number of content-types bytes<br>
            &nbsp; 1 byte for text/css<br>
            &nbsp; 1 byte for */*;q=<br>
            &nbsp; 1 byte for 0.1<br>
            &nbsp; 1 byte for Accept-Language<br>
            &nbsp; 1 byte for the number of accept-languauge bytes<br>
            &nbsp; 1 byte for en-us<br>
            &nbsp; 1 byte for en;q=<br>
            &nbsp; 1 byte for 0.5<br>
            &nbsp; 1 byte for Accept-Encoding<br>
            &nbsp; 1 byte for the number of bytes in the values<br>
            &nbsp; 1 byte for gzip<br>
            &nbsp; 1 byte for deflate &nbsp; &nbsp; &nbsp; &nbsp;(note: both could be merged into
            one single)<br>
            &nbsp; 1 byte for Accept-Charset<br>
            &nbsp; 1 byte for the value length<br>
            &nbsp; 1 byte ISO-8859-1<br>
            &nbsp; 1 byte for utf-8;q=<br>
            &nbsp; 1 byte for 0.7<br>
            &nbsp; 1 byte for *;q=<br>
            &nbsp; 1 byte for 0.7<br>
            <br>
            We're at a total of 80 bytes or 29% of the original size for
            a *small*<br>
            request, which was already dominated by the Host, URI and UA
            lengths.<br>
            And such an encoding would be as cheap to parse as it is to
            produce.<br>
            <br>
            We also have to take intermediaries into account. Most of
            them touch a<br>
            few headers (eg: add/remove a cookie, etc). An encoding such
            as above<br>
            is much cheaper to produce than it is to
            decompress+recompress just to<br>
            add a cookie.<br>
            <br>
            Best regards,<br>
            Willy<br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------020506060006070607090808--


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 22:21:37 2012
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 1DCEC21F87DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 22:21:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.389
X-Spam-Level: 
X-Spam-Status: No, score=-9.389 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, J_CHICKENPOX_47=0.6, J_CHICKENPOX_63=0.6, 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 74z59Sbt5dP3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 22:21:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5EDF921F87CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 22:21:35 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ctM-0001wf-Ei for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 06:20:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2ct2-0001vl-36 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 06:19:40 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2csn-0003zq-RZ for ietf-http-wg@w3.org; Wed, 29 Feb 2012 06:19:38 +0000
Received: from [10.1.1.14] (unknown [119.224.40.49]) by treenet.co.nz (Postfix) with ESMTP id C94DDE6D95 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 19:18:56 +1300 (NZDT)
Message-ID: <4F4DC34E.204@treenet.co.nz>
Date: Wed, 29 Feb 2012 19:18:54 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com>
In-Reply-To: <4F4D87B3.20801@mozilla.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2csn-0003zq-RZ e2de5793b75edba7de4aa6f351f1fde4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4DC34E.204@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12616
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>
Resent-Message-Id: <E1S2ctM-0001wf-Ei@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 06:20:00 +0000

On 29/02/2012 3:04 p.m., patrick mcmanus wrote:
> The  spdy compression scheme has proven itself very valuable in 
> firefox testing.
>
> Just like Mike has seen - we see 90% header reduction sizes, including 
> on cookies because they are so repetitive between requests even if the 
> individual cookies don't compress well. Exclusively, proscribing maps 
> for well known values doesn't scale well to the value side of the n/v 
> pairs and it biases strongly in favor of the status quo making it too 
> difficult to deploy things like DNT in the future. I'm totally open to 
> other formats as well - but this has proven itself to me with 
> experience.. and right now I trust experience first, out of context 
> data second, and good ideas third.

I keep hearing these reduction rates as related to bytes. But no mention 
of request per second throughputs. Which are equally important and 
directly affected by the compression.
I also have to assume since there is no mention of middleware 
measurements and still a general lack of SPDY proxy implementations that 
these are all single-hop measurements from browser to server?

Challenge: Implement a SPDY proxy which simply decompresses then 
recompresses. Pass each request through 1-3 layers of this proxy. 
Measure the gains and CPU loadings.

I think you will start to see the different costing model which 
middleware has to operate with. Browser also face these same costs, but 
middleware is often an order of magnitude or more up on the traffic 
scale with less idle CPU time to do work in. Sometimes the middleware 
has to handle orders of magnitude more traffic than even the server end.

>
> the dos implications don't bother me. http headers always have an 
> implementation size limit anyhow - the fact that you can detect that 
> limit has been hit with fewer bytes on the wire is kind of a mixed 
> result (i.e. it isn't all bad or good).


Squid can provide a real-world example here for impact of compression on 
HTTP. It has the behaviour of consuming 100% of a CPU before it slows 
down with a noticable turning point, which is very useful for 
identifying that capacity overload point.
   Some months ago a gzip body compression module was published and 
several networks took it up. What they mentioned was that a one-way 
compression cuts the peak req/sec rate by up to 20%. That is just for 
response bodies. Now increase that a few percent to include headers and 
all the body-less requests SPDY is asking for compression on as well. 
Then double it for the decompression work on arrival. Things are 
suddenly looking like a 50% reduction in traffic speeds is possible. 
True, sending less over the wire helps the other software sharing that 
wire and parallel connections, particularly useful if one is paying by 
the byte. But does not help the poor end users stuck with visible 
reduction in download speed, or the middleware maxing out its CPUs, or 
the networks having to deploy up to twice as much hardware.
  And I am not considering the RAM DoS issues Willy brought up.

This is somewhat of a worst-case scenario given the efficiencies of the 
software involved. But IMHO is realistic enough that it should be 
considered as a good reason to get better measurements before diving in 
and mandating compression at the transport level.


>
> For anyone that hasn't read some of the other posts on this topic, the 
> compression here is a huge win on the request side because of CWND 
> interaction. spdy multiplexes requests and can therefore, especially 
> when a browser needs to get all of the subresources identified on the 
> page, create a little bit of a flood of simultaneous requests. If each 
> request is 500 bytes (i.e. no cookies) and IW=4, that's just  12 
> requests that can  really be sent simultaneously. 90% compression 
> means you can send 100+, which is a lot more realistic for being able 
> to capture a page full of resources.. but honestly that's not far past 
> current usage patterns and cookies of course put pressure on here too. 
> So it's impt to count bytes and maximize savings. (pipelines have this 
> challenge too and its the primary reason a pipeline of double digit 
> depth doesn't really add much incremental value.)
>

So you just sent 100+ requests. Each of which needs to be individually 
decompressed, parsed processed, re-multiplexed re-compressed and either 
delivered or relayed onward, where the same operations happen all over 
again. How long is that going to take overall? Did you actually save any 
download waiting time by sending them in one bunch? Or will the network 
transfer time saving be wasted by time in compression at each hop?


Lets have the bandwidth savings cake, but lets not sour it by adding 
time and power costs.

AYJ

> On 2/28/2012 5:52 PM, Mike Belshe wrote:
>> Hi, Willy -
>>
>> Thanks for the insightful comments about header compression.  I'm out 
>> of the country for a few days, so I am slow to reply fully.
>>
>> We did consider this, but ultimately decided it was mostly a non 
>> issue, as the problem already exists.   Specifically - the same 
>> amplification attacks exist in the data stream with data gzip 
>> encoding.  You could make an argument that origin servers and proxy 
>> servers are different, I suppose; but many proxy servers are doing 
>> virus scanning and other content checks anyway, and already decoding 
>> that stream.  But if you're still not convinced, the problem also 
>> exists at the SSL layer.  (SSL will happily negotiate compression of 
>> the entire stream - headers & all - long before it gets to the app 
>> layer).  So overall, I don't think this is a new attack vector for HTTP.
>>
>> We did consider some header compression schemes like what you 
>> proposed - they are quite viable.  They definitely provide less 
>> compression, and are less resilient to learning over time like zlib 
>> is.  They also generally fail to help with repeated cookies, which is 
>> really where some of the biggest gains are.  But I'm open to other 
>> compression schemes.
>>
>> Note that SPDY's compressor achieves about 85-90% compression for 
>> typical web pages.
>>
>> Mike
>>
>>
>> On Sat, Feb 25, 2012 at 4:13 AM, Willy Tarreau <w@1wt.eu 
>> <mailto:w@1wt.eu>> wrote:
>>
>>     Hi Mike,
>>
>>     On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe wrote:
>>     > I posted this draft for comment from all.
>>     >
>>     > http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
>>
>>     First, thank you for posting this draft, it's full of very nice
>>     ideas.
>>
>>     I have a really major concern with header compression. I
>>     understand that
>>     the initial reason why it is needed is that HTTP header names are
>>     quite
>>     long, but is an issue that we should address in HTTP/2.0 instead
>>     of any
>>     attempt to work around it by compressing them. Some header values are
>>     quite long too. User-agent could be reduced to 16bit vendor-id +
>>     8-bit
>>     product-id + 8-bit product version. Cookies can be quite long but
>>     will
>>     generally not compress much since long ones are supposed to be
>>     unpredictable randoms.
>>
>>     The concern I'm having with header compression is that it makes
>>     DoS much
>>     more trivial using low-bandwidth attacks. I've performed a test
>>     using the
>>     dictionary provided in the draft. Using it, I can reduce 4233425
>>     bytes of
>>     crap headers to 7 bytes ("78 f9 e3 c6 a7 c2 ec"). Considered like
>>     this, it
>>     looks efficient. Now see it differently : by sending a frame of
>>     18 + 7 =
>>     25 bytes of data, I can make the server write 4233425 bytes to
>>     memory then
>>     parse those bytes as HTTP headers.  This is an amplification ratio of
>>     4233425/25 = 169337. In other words, it means that with only the
>>     256 kbps
>>     of upstream bandwidth I have on my entry-level ADSL access, I can
>>     make an
>>     intermediary or server have to process 43 Gbps of HTTP headers !
>>     And even
>>     if we did not use an initial dictionary, it's easy to achieve
>>     compression
>>     ratios above 200 with zlib, which is still very dangerous in the
>>     case of
>>     DDoS attacks.
>>
>>     Basically, it means that any low-end internet access is enough to
>>     knock
>>     down even large sites, even those who make use of
>>     hardware-accelerated
>>     zlib decompression. This is a major issue, especially if we
>>     consider the
>>     rise of DDoS attacks these days.
>>
>>     In my opinion, in the sake of robustness, it is much better to be
>>     able
>>     to parse the stream and stop as soon as something's wrong. This means
>>     that the headers should be sent in the most easily parsable form. For
>>     efficiency, we should ditch current header names and use 1-byte
>>     for the
>>     most common ones. Possibly we could make use of a variable length
>>     encoding
>>     for the size just as we used in WebSocket. This way, most headers
>>     could be
>>     encoded as one byte for the length, one for the header name, and
>>     a few
>>     bytes for the value.  Some headers could be typed as enums to
>>     save space.
>>
>>     For instance, if we apply this principle to the example in
>>     SPDY-Fan.pdf
>>     (274 bytes) :
>>
>>      GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1
>>      Host: static.ak.fbcdn.net <http://static.ak.fbcdn.net>
>>      User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8)
>>      Accept: text/css,*/*;q=0.1
>>      Accept-Language: en-us,en;q=0.5
>>      Accept-Encoding: gzip,deflate
>>      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>>
>>     We could get down to something more or less like this with
>>     minimal effort :
>>
>>       1 byte for method=GET + version=1.1
>>       1 byte for the Host header value length
>>      19 bytes for "static.ak.fbcdn.net <http://static.ak.fbcdn.net>"
>>      33 bytes for "/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css"
>>       1 byte for User-Agent header name
>>       4 bytes for Mozilla + browser type + major version number
>>       1 byte for Accept
>>       1 byte for the number of content-types bytes
>>       1 byte for text/css
>>       1 byte for */*;q=
>>       1 byte for 0.1
>>       1 byte for Accept-Language
>>       1 byte for the number of accept-languauge bytes
>>       1 byte for en-us
>>       1 byte for en;q=
>>       1 byte for 0.5
>>       1 byte for Accept-Encoding
>>       1 byte for the number of bytes in the values
>>       1 byte for gzip
>>       1 byte for deflate        (note: both could be merged into one
>>     single)
>>       1 byte for Accept-Charset
>>       1 byte for the value length
>>       1 byte ISO-8859-1
>>       1 byte for utf-8;q=
>>       1 byte for 0.7
>>       1 byte for *;q=
>>       1 byte for 0.7
>>
>>     We're at a total of 80 bytes or 29% of the original size for a
>>     *small*
>>     request, which was already dominated by the Host, URI and UA lengths.
>>     And such an encoding would be as cheap to parse as it is to produce.
>>
>>     We also have to take intermediaries into account. Most of them
>>     touch a
>>     few headers (eg: add/remove a cookie, etc). An encoding such as above
>>     is much cheaper to produce than it is to decompress+recompress
>>     just to
>>     add a cookie.
>>
>>     Best regards,
>>     Willy
>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 22:34:40 2012
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 7E73721F8832 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 22:34:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.998
X-Spam-Level: 
X-Spam-Status: No, score=-6.998 tagged_above=-999 required=5 tests=[AWL=2.401, BAYES_00=-2.599, J_CHICKENPOX_47=0.6, J_CHICKENPOX_63=0.6, 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 tNt5bSqY-6IM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 22:34:38 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B8FC21F85F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 22:34:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2d60-0005H2-Nd for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 06:33:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2d5a-0005G3-FJ for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 06:32:38 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2d57-0003tK-T2 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 06:32:22 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018890384@smtp.qbik.com>; Wed, 29 Feb 2012 19:31:43 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010066924@sago.qbik.com>; Wed, 29 Feb 2012 19:31:39 +1300
Message-ID: <4F4DC64B.1030406@qbik.com>
Date: Wed, 29 Feb 2012 19:31:39 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz>
In-Reply-To: <4F4DC34E.204@treenet.co.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2d57-0003tK-T2 cf5e8e8bf6d429c9a99af95d7abc0b4d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4DC64B.1030406@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12617
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>
Resent-Message-Id: <E1S2d60-0005H2-Nd@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 06:33:04 +0000

there's also the burden of TLS on top of that.

With my proxy hat on, if a proxy is to add any value to such a system, 
it has to break into the SSL stream, decompress the messages, 
demultiplex the sessions to re-assemble request-response transactions 
then add the value, such as caching, content analysis etc.

Sounds like a nightmare to me for proxy vendors.

Of all that, the decompression is the simple bit.

Adrien


On 29/02/2012 7:18 p.m., Amos Jeffries wrote:
> On 29/02/2012 3:04 p.m., patrick mcmanus wrote:
>> The  spdy compression scheme has proven itself very valuable in 
>> firefox testing.
>>
>> Just like Mike has seen - we see 90% header reduction sizes, 
>> including on cookies because they are so repetitive between requests 
>> even if the individual cookies don't compress well. Exclusively, 
>> proscribing maps for well known values doesn't scale well to the 
>> value side of the n/v pairs and it biases strongly in favor of the 
>> status quo making it too difficult to deploy things like DNT in the 
>> future. I'm totally open to other formats as well - but this has 
>> proven itself to me with experience.. and right now I trust 
>> experience first, out of context data second, and good ideas third.
>
> I keep hearing these reduction rates as related to bytes. But no 
> mention of request per second throughputs. Which are equally important 
> and directly affected by the compression.
> I also have to assume since there is no mention of middleware 
> measurements and still a general lack of SPDY proxy implementations 
> that these are all single-hop measurements from browser to server?
>
> Challenge: Implement a SPDY proxy which simply decompresses then 
> recompresses. Pass each request through 1-3 layers of this proxy. 
> Measure the gains and CPU loadings.
>
> I think you will start to see the different costing model which 
> middleware has to operate with. Browser also face these same costs, 
> but middleware is often an order of magnitude or more up on the 
> traffic scale with less idle CPU time to do work in. Sometimes the 
> middleware has to handle orders of magnitude more traffic than even 
> the server end.
>
>>
>> the dos implications don't bother me. http headers always have an 
>> implementation size limit anyhow - the fact that you can detect that 
>> limit has been hit with fewer bytes on the wire is kind of a mixed 
>> result (i.e. it isn't all bad or good).
>
>
> Squid can provide a real-world example here for impact of compression 
> on HTTP. It has the behaviour of consuming 100% of a CPU before it 
> slows down with a noticable turning point, which is very useful for 
> identifying that capacity overload point.
>   Some months ago a gzip body compression module was published and 
> several networks took it up. What they mentioned was that a one-way 
> compression cuts the peak req/sec rate by up to 20%. That is just for 
> response bodies. Now increase that a few percent to include headers 
> and all the body-less requests SPDY is asking for compression on as 
> well. Then double it for the decompression work on arrival. Things are 
> suddenly looking like a 50% reduction in traffic speeds is possible. 
> True, sending less over the wire helps the other software sharing that 
> wire and parallel connections, particularly useful if one is paying by 
> the byte. But does not help the poor end users stuck with visible 
> reduction in download speed, or the middleware maxing out its CPUs, or 
> the networks having to deploy up to twice as much hardware.
>  And I am not considering the RAM DoS issues Willy brought up.
>
> This is somewhat of a worst-case scenario given the efficiencies of 
> the software involved. But IMHO is realistic enough that it should be 
> considered as a good reason to get better measurements before diving 
> in and mandating compression at the transport level.
>
>
>>
>> For anyone that hasn't read some of the other posts on this topic, 
>> the compression here is a huge win on the request side because of 
>> CWND interaction. spdy multiplexes requests and can therefore, 
>> especially when a browser needs to get all of the subresources 
>> identified on the page, create a little bit of a flood of 
>> simultaneous requests. If each request is 500 bytes (i.e. no cookies) 
>> and IW=4, that's just  12 requests that can  really be sent 
>> simultaneously. 90% compression means you can send 100+, which is a 
>> lot more realistic for being able to capture a page full of 
>> resources.. but honestly that's not far past current usage patterns 
>> and cookies of course put pressure on here too. So it's impt to count 
>> bytes and maximize savings. (pipelines have this challenge too and 
>> its the primary reason a pipeline of double digit depth doesn't 
>> really add much incremental value.)
>>
>
> So you just sent 100+ requests. Each of which needs to be individually 
> decompressed, parsed processed, re-multiplexed re-compressed and 
> either delivered or relayed onward, where the same operations happen 
> all over again. How long is that going to take overall? Did you 
> actually save any download waiting time by sending them in one bunch? 
> Or will the network transfer time saving be wasted by time in 
> compression at each hop?
>
>
> Lets have the bandwidth savings cake, but lets not sour it by adding 
> time and power costs.
>
> AYJ
>
>> On 2/28/2012 5:52 PM, Mike Belshe wrote:
>>> Hi, Willy -
>>>
>>> Thanks for the insightful comments about header compression.  I'm 
>>> out of the country for a few days, so I am slow to reply fully.
>>>
>>> We did consider this, but ultimately decided it was mostly a non 
>>> issue, as the problem already exists.   Specifically - the same 
>>> amplification attacks exist in the data stream with data gzip 
>>> encoding.  You could make an argument that origin servers and proxy 
>>> servers are different, I suppose; but many proxy servers are doing 
>>> virus scanning and other content checks anyway, and already decoding 
>>> that stream.  But if you're still not convinced, the problem also 
>>> exists at the SSL layer.  (SSL will happily negotiate compression of 
>>> the entire stream - headers & all - long before it gets to the app 
>>> layer).  So overall, I don't think this is a new attack vector for 
>>> HTTP.
>>>
>>> We did consider some header compression schemes like what you 
>>> proposed - they are quite viable.  They definitely provide less 
>>> compression, and are less resilient to learning over time like zlib 
>>> is.  They also generally fail to help with repeated cookies, which 
>>> is really where some of the biggest gains are.  But I'm open to 
>>> other compression schemes.
>>>
>>> Note that SPDY's compressor achieves about 85-90% compression for 
>>> typical web pages.
>>>
>>> Mike
>>>
>>>
>>> On Sat, Feb 25, 2012 at 4:13 AM, Willy Tarreau <w@1wt.eu 
>>> <mailto:w@1wt.eu>> wrote:
>>>
>>>     Hi Mike,
>>>
>>>     On Thu, Feb 23, 2012 at 01:21:38PM -0800, Mike Belshe wrote:
>>> > I posted this draft for comment from all.
>>> >
>>> > http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
>>>
>>>     First, thank you for posting this draft, it's full of very nice
>>>     ideas.
>>>
>>>     I have a really major concern with header compression. I
>>>     understand that
>>>     the initial reason why it is needed is that HTTP header names are
>>>     quite
>>>     long, but is an issue that we should address in HTTP/2.0 instead
>>>     of any
>>>     attempt to work around it by compressing them. Some header 
>>> values are
>>>     quite long too. User-agent could be reduced to 16bit vendor-id +
>>>     8-bit
>>>     product-id + 8-bit product version. Cookies can be quite long but
>>>     will
>>>     generally not compress much since long ones are supposed to be
>>>     unpredictable randoms.
>>>
>>>     The concern I'm having with header compression is that it makes
>>>     DoS much
>>>     more trivial using low-bandwidth attacks. I've performed a test
>>>     using the
>>>     dictionary provided in the draft. Using it, I can reduce 4233425
>>>     bytes of
>>>     crap headers to 7 bytes ("78 f9 e3 c6 a7 c2 ec"). Considered like
>>>     this, it
>>>     looks efficient. Now see it differently : by sending a frame of
>>>     18 + 7 =
>>>     25 bytes of data, I can make the server write 4233425 bytes to
>>>     memory then
>>>     parse those bytes as HTTP headers.  This is an amplification 
>>> ratio of
>>>     4233425/25 = 169337. In other words, it means that with only the
>>>     256 kbps
>>>     of upstream bandwidth I have on my entry-level ADSL access, I can
>>>     make an
>>>     intermediary or server have to process 43 Gbps of HTTP headers !
>>>     And even
>>>     if we did not use an initial dictionary, it's easy to achieve
>>>     compression
>>>     ratios above 200 with zlib, which is still very dangerous in the
>>>     case of
>>>     DDoS attacks.
>>>
>>>     Basically, it means that any low-end internet access is enough to
>>>     knock
>>>     down even large sites, even those who make use of
>>>     hardware-accelerated
>>>     zlib decompression. This is a major issue, especially if we
>>>     consider the
>>>     rise of DDoS attacks these days.
>>>
>>>     In my opinion, in the sake of robustness, it is much better to be
>>>     able
>>>     to parse the stream and stop as soon as something's wrong. This 
>>> means
>>>     that the headers should be sent in the most easily parsable 
>>> form. For
>>>     efficiency, we should ditch current header names and use 1-byte
>>>     for the
>>>     most common ones. Possibly we could make use of a variable length
>>>     encoding
>>>     for the size just as we used in WebSocket. This way, most headers
>>>     could be
>>>     encoded as one byte for the length, one for the header name, and
>>>     a few
>>>     bytes for the value.  Some headers could be typed as enums to
>>>     save space.
>>>
>>>     For instance, if we apply this principle to the example in
>>>     SPDY-Fan.pdf
>>>     (274 bytes) :
>>>
>>>      GET /rsrc.php/v1/y0/r/Se4RZ9IhLuW.css HTTP/1.1
>>>      Host: static.ak.fbcdn.net <http://static.ak.fbcdn.net>
>>>      User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8)
>>>      Accept: text/css,*/*;q=0.1
>>>      Accept-Language: en-us,en;q=0.5
>>>      Accept-Encoding: gzip,deflate
>>>      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>>>
>>>     We could get down to something more or less like this with
>>>     minimal effort :
>>>
>>>       1 byte for method=GET + version=1.1
>>>       1 byte for the Host header value length
>>>      19 bytes for "static.ak.fbcdn.net <http://static.ak.fbcdn.net>"
>>>      33 bytes for "/rsrc.php/v1/y0/r/Se4RZ9IhLuW.css"
>>>       1 byte for User-Agent header name
>>>       4 bytes for Mozilla + browser type + major version number
>>>       1 byte for Accept
>>>       1 byte for the number of content-types bytes
>>>       1 byte for text/css
>>>       1 byte for */*;q=
>>>       1 byte for 0.1
>>>       1 byte for Accept-Language
>>>       1 byte for the number of accept-languauge bytes
>>>       1 byte for en-us
>>>       1 byte for en;q=
>>>       1 byte for 0.5
>>>       1 byte for Accept-Encoding
>>>       1 byte for the number of bytes in the values
>>>       1 byte for gzip
>>>       1 byte for deflate        (note: both could be merged into one
>>>     single)
>>>       1 byte for Accept-Charset
>>>       1 byte for the value length
>>>       1 byte ISO-8859-1
>>>       1 byte for utf-8;q=
>>>       1 byte for 0.7
>>>       1 byte for *;q=
>>>       1 byte for 0.7
>>>
>>>     We're at a total of 80 bytes or 29% of the original size for a
>>>     *small*
>>>     request, which was already dominated by the Host, URI and UA 
>>> lengths.
>>>     And such an encoding would be as cheap to parse as it is to 
>>> produce.
>>>
>>>     We also have to take intermediaries into account. Most of them
>>>     touch a
>>>     few headers (eg: add/remove a cookie, etc). An encoding such as 
>>> above
>>>     is much cheaper to produce than it is to decompress+recompress
>>>     just to
>>>     add a cookie.
>>>
>>>     Best regards,
>>>     Willy
>>>
>>>
>>
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 22:51:12 2012
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 CA6F321F88AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 22:51:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.828
X-Spam-Level: 
X-Spam-Status: No, score=-9.828 tagged_above=-999 required=5 tests=[AWL=0.771, 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 PQxyd9puEQva for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 22:51:12 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0288F21F88AC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 22:51:11 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2dN1-00085e-Bd for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 06:50:39 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2dMa-00084S-SK for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 06:50:12 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2dMV-0005ED-AX for ietf-http-wg@w3.org; Wed, 29 Feb 2012 06:50:11 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1T6nTUp032401; Wed, 29 Feb 2012 07:49:29 +0100
Date: Wed, 29 Feb 2012 07:49:29 +0100
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Message-ID: <20120229064929.GB32187@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F4DC34E.204@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2dMV-0005ED-AX e19ab8a71c5ac3ab856d05579266d35a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120229064929.GB32187@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12618
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>
Resent-Message-Id: <E1S2dN1-00085e-Bd@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 06:50:39 +0000

Hi Amos,

On Wed, Feb 29, 2012 at 07:18:54PM +1300, Amos Jeffries wrote:
(...)
>  And I am not considering the RAM DoS issues Willy brought up.

Please note that I was not talking about a RAM DoS but a CPU DoS, since
by sending just a few bytes you can force the other end to process many
more bytes. Even if you decide that you refuse to decompress past 8 kB
of headers, you still have to decompress them to discover that it too
large. Also nothing prevents the attacker from sending extremely large
valid requests in just a few bytes which you have to decompress and parse
before deciding that you finally don't want to process them, or worse,
recompress then forward.

This is my real concern. I'm regularly helping people to deal with DDoSes
and I can assure you that the first thing you try to do is spot a header
value which helps discriminate between real and undesired traffic then
start to act on this. It is worth noting that not all of the DDoS traffic
is easily identified at the boundary since many requests are totally valid
and must be forwarded to the origin servers. When you receive something
like 200000 requests per second, it's not uncommon to have to forward
about 20000 per second to the server after filtering 90%. Right now with
HTTP/1.1, a properly tuned $1000 PC is totally capable of this. With
compression, I already can't even imagine compressing 20000 requests per
second, let alone decompress and parse 200000. In fact it would even be
much more than 200000 since the bandwidth would allow something like 2
million thanks to the higher compression ratio. But these 2 millions
would have to be totally decompressed before being parsed then dropped.
For instance, something I've been facing several times is dropping a
few repetitive URIs. Bots requests non-existing objects at a very high
rate. You have little processing to perform, just match the URI and drop
the connection. That's quite cheap, just as it is to drop an HTTP/1.1
requests without a Host header.

(...)
> Lets have the bandwidth savings cake, but lets not sour it by adding 
> time and power costs.

That's exactly my point too. And again, I'm not contesting the huge
savings that Patrick and Mike report, I'm even impressed.

Thanks,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 23:27:53 2012
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 75C6A21E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:27:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.837
X-Spam-Level: 
X-Spam-Status: No, score=-9.837 tagged_above=-999 required=5 tests=[AWL=0.762, 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 3zYHx6YC1fpV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:27:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B722621E807D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 23:27:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2dv1-0004uN-Fw for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 07:25:47 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2dub-0004tP-CX for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 07:25:21 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2duU-0006cW-1e for ietf-http-wg@w3.org; Wed, 29 Feb 2012 07:25:20 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1T7Ong9032639; Wed, 29 Feb 2012 08:24:49 +0100
Date: Wed, 29 Feb 2012 08:24:49 +0100
From: Willy Tarreau <w@1wt.eu>
To: patrick mcmanus <pmcmanus@mozilla.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120229072449.GC32187@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F4D87B3.20801@mozilla.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2duU-0006cW-1e 855b59f36406b5d154d6fb695b0bb5f3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120229072449.GC32187@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12619
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>
Resent-Message-Id: <E1S2dv1-0004uN-Fw@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 07:25:47 +0000

Hi Patrick,

On Tue, Feb 28, 2012 at 09:04:35PM -0500, patrick mcmanus wrote:
> The  spdy compression scheme has proven itself very valuable in firefox 
> testing.
> 
> Just like Mike has seen - we see 90% header reduction sizes, including 
> on cookies because they are so repetitive between requests even if the 
> individual cookies don't compress well. Exclusively, proscribing maps 
> for well known values doesn't scale well to the value side of the n/v 
> pairs and it biases strongly in favor of the status quo making it too 
> difficult to deploy things like DNT in the future. I'm totally open to 
> other formats as well - but this has proven itself to me with 
> experience.. and right now I trust experience first, out of context data 
> second, and good ideas third.

I get your point, but as I said to Mike, saving space on *existing* HTTP
implementations with compressions might have been the only way of getting
to that point. But when redesigning HTTP we should address the issues that
caused compression to be introduced.

For instance, we currently lack session-oriented headers : over a
multiplexed connection, we should be able to send requests from
various agents at the same time and isolate them in "channels". We
could then send a number of headers only once per channel. Cookies
certainly are session-oriented. User-agent too. Accept headers too.
Host maybe. By doing so, we could simply state that session headers
are valid for all the requests of a given channel in a connection.
Instead of sending these headers to the compression lib and relying
on it to deduplicate them, you just send them once with the proper
type.

> the dos implications don't bother me. http headers always have an 
> implementation size limit anyhow - the fact that you can detect that 
> limit has been hit with fewer bytes on the wire is kind of a mixed 
> result (i.e. it isn't all bad or good).

The problem is that in order to detect you reached the limit, you first
have to process up to the limit. And it costs nothing to the sender to
push you to the limit. DDoS fighting is a matter of strength balance.
"How can I maximize your pain at a minimal cost".

> For anyone that hasn't read some of the other posts on this topic, the 
> compression here is a huge win on the request side because of CWND 
> interaction. spdy multiplexes requests and can therefore, especially 
> when a browser needs to get all of the subresources identified on the 
> page, create a little bit of a flood of simultaneous requests. If each 
> request is 500 bytes (i.e. no cookies) and IW=4, that's just  12 
> requests that can  really be sent simultaneously. 90% compression means 
> you can send 100+, which is a lot more realistic for being able to 
> capture a page full of resources..

I totally agree with these points. That's why I've been suggesting for a
long time that we work on dramatically reducing request size.

> but honestly that's not far past 
> current usage patterns and cookies of course put pressure on here too. 
> So it's impt to count bytes and maximize savings. (pipelines have this 
> challenge too and its the primary reason a pipeline of double digit 
> depth doesn't really add much incremental value.)

Agreed, but please, let's try to address the issue at its root instead
of trying to cover it. What SPDY does might be optimal for HTTP/1.1, but
here we're talking about how we'd like HTTP/2.0 to address HTTP/1.1 issues.
Let's focus on this first. At least thank to Mike's work and your feedback,
we *know* there is something to do with repeated cookies for instance (eg:
per-session headers).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 23:41:57 2012
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 C37A321F8864 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:41:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.582
X-Spam-Level: 
X-Spam-Status: No, score=-10.582 tagged_above=-999 required=5 tests=[AWL=0.017, 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 925uCE9jx0Yu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:41:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2E51621F885E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 23:41:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2e9h-0007bR-85 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 07:40:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1S2e9V-0007aZ-NA for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 07:40:45 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1S2e9O-0007AR-TM for ietf-http-wg@w3.org; Wed, 29 Feb 2012 07:40:44 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6B7E55DC3; Wed, 29 Feb 2012 07:40:17 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q1T7eGMc005120; Wed, 29 Feb 2012 07:40:16 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: patrick mcmanus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 29 Feb 2012 08:24:49 +0100." <20120229072449.GC32187@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 29 Feb 2012 07:40:16 +0000
Message-ID: <5119.1330501216@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2e9O-0007AR-TM 4b97cc628862cf2a36e6c457c82423d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/5119.1330501216@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12620
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>
Resent-Message-Id: <E1S2e9h-0007bR-85@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 07:40:57 +0000

In message <20120229072449.GC32187@1wt.eu>, Willy Tarreau writes:

>But when redesigning HTTP we should address the issues that
>caused compression to be introduced.

I fully agree.

HTTP/2.0 should be about solving problems, not about kludging them.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 23:42:26 2012
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 4D8A921F886B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:42:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.255
X-Spam-Level: 
X-Spam-Status: No, score=-8.255 tagged_above=-999 required=5 tests=[AWL=2.344, 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 qL1cbK+rHDOT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:42:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C002F21F8864 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 23:42:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2eAz-0007gW-4S for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 07:42:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2eAo-0007ff-Il for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 07:42:06 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2eAh-0007Cw-HO for ietf-http-wg@w3.org; Wed, 29 Feb 2012 07:42:05 +0000
Received: (qmail invoked by alias); 29 Feb 2012 07:41:33 -0000
Received: from p3EE2676A.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.103.106] by mail.gmx.net (mp024) with SMTP; 29 Feb 2012 08:41:33 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18snbUlMPwsNZI2UJ12ti8caUzc/6TipkqQfmIEd3 AS0rjyGAaO+uFs
Message-ID: <4F4DD6A9.3050101@gmx.de>
Date: Wed, 29 Feb 2012 08:41:29 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: patrick mcmanus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <20120229072449.GC32187@1wt.eu>
In-Reply-To: <20120229072449.GC32187@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2eAh-0007Cw-HO f51abee008d5bc80889e109f28a51826
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4DD6A9.3050101@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12621
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>
Resent-Message-Id: <E1S2eAz-0007gW-4S@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 07:42:17 +0000

On 2012-02-29 08:24, Willy Tarreau wrote:
> ...
> I get your point, but as I said to Mike, saving space on *existing* HTTP
> implementations with compressions might have been the only way of getting
> to that point. But when redesigning HTTP we should address the issues that
> caused compression to be introduced.
>
> For instance, we currently lack session-oriented headers : over a
> multiplexed connection, we should be able to send requests from
> various agents at the same time and isolate them in "channels". We
> could then send a number of headers only once per channel. Cookies
> certainly are session-oriented. User-agent too. Accept headers too.
 > ...

No, Accept headers depend on context.

The biggest gain with respect to Accept seems to not to send it at all 
when it does not matter, which should apply to the majority of requests.

> Host maybe. By doing so, we could simply state that session headers
> are valid for all the requests of a given channel in a connection.
> Instead of sending these headers to the compression lib and relying
> on it to deduplicate them, you just send them once with the proper
> type.

With that we loose the ability to inspect messages in isolation. Maybe 
that's acceptable, but the downsides should be considered.

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Feb 28 23:46:50 2012
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 6912A21E8077 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:46:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.821
X-Spam-Level: 
X-Spam-Status: No, score=-9.821 tagged_above=-999 required=5 tests=[AWL=0.778, 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 9OeSflPw0HjR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2012 23:46:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0963121E8057 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2012 23:46:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2eF4-0001Aj-TA for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 07:46:30 +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 1S2eEt-00019n-KB for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 07:46:19 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a29.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S2eEm-0005yX-Hs for ietf-http-wg@w3.org; Wed, 29 Feb 2012 07:46:18 +0000
Received: from homiemail-a29.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTP id 3E453674058; Tue, 28 Feb 2012 23:45:51 -0800 (PST)
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=FzR7abl9Da3yY/f9 3poUgvijTF/xMhvXUQyTKRtoI4Qrlgbdy1EXj4rwXeGwocTZmqJIxplBPlP/FwaI 1Iz0F78qTVkWCrAOksg0+kMWCjV1b+sNR6GRVg8mefOlOsRoakyMHDHrnHINhDiz V5lDBjimhC/qIf3I+ynJ0YPEjC8=
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=T1y3DbhasnTLvJIkZL0fqyFUfLg=; b=AfRIz0tujIRLu0WD9q6prcXj0LNO MEOSu8544H4GEOmuzMWe6DNC3GgQv1yX96kqgNopxn2OlmFR6pdBGC2F649YO2RN ZWRl4XetoNmc4YLLlKsyJmUz9rX6PsBAocXlpWPKN4hdzfLvgggLslr+GNkQF9du 8ikOr3eH2LA2hb0=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTPSA id 15EAA67401F; Tue, 28 Feb 2012 23:45:51 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=us-ascii
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <20120229072449.GC32187@1wt.eu>
Date: Tue, 28 Feb 2012 23:45:50 -0800
Cc: patrick mcmanus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: 7bit
Message-Id: <594C778A-C4E7-45A5-BD17-1780904F7F1D@gbiv.com>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <20120229072449.GC32187@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.207; envelope-from=fielding@gbiv.com; helo=homiemail-a29.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 1S2eEm-0005yX-Hs 1f5ed2ece18af45793cea6bad579cae4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/594C778A-C4E7-45A5-BD17-1780904F7F1D@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12622
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>
Resent-Message-Id: <E1S2eF4-0001Aj-TA@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 07:46:30 +0000

Please, if you have an opinion, state it once and be satisfied that it
has been heard and archived in the usual place.  It does not need to be
repeated over and over again.

If you have a better design solution, then propose it as a separate draft.
There's nothing I'd like better than a number of open proposals and a
bake-off to see which one is better (or which ones are better, if that
depends on context or traffic styles).

For example, waka is a tokenized protocol for the exact reasons that you
describe, and it is specifically designed to speed intermediate processing.
Unfortunately, having no end of potential syntaxes to choose from means
I keep changing my mind as to which one to choose.  So I have nothing
to show for it, aside from a ten year old presentation and a lot of
burned out neurons.  I should have written a draft instead.  Maybe that
will happen after HTTPbis is complete.  Maybe I'll go sane instead.

It takes a lot of time to put together a decent Internet Draft, but it
can clarify your thoughts and expose some incomplete considerations.
I encourage anyone who is interested in doing so to give it a try.
I can't guarantee that anyone will like your ideas, but it is more
effective than arguing design decisions without an alternative at hand.


Cheers,

Roy T. Fielding                     <http://roy.gbiv.com/>
Principal Scientist, Adobe Systems  <http://adobe.com/enterprise>



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 00:13:11 2012
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 DEB6221F87FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 00:13:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.803
X-Spam-Level: 
X-Spam-Status: No, score=-9.803 tagged_above=-999 required=5 tests=[AWL=0.796, 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 NXW+XjdLjI77 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 00:13:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E028521F87FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 00:13:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2eeG-0005h5-Gu for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 08:12:32 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2ee5-0005gC-KC for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 08:12:21 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2edy-0008IJ-1h for ietf-http-wg@w3.org; Wed, 29 Feb 2012 08:12:20 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1T8BmJh000469; Wed, 29 Feb 2012 09:11:48 +0100
Date: Wed, 29 Feb 2012 09:11:48 +0100
From: Willy Tarreau <w@1wt.eu>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: patrick mcmanus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
Message-ID: <20120229081148.GE32187@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <20120229072449.GC32187@1wt.eu> <594C778A-C4E7-45A5-BD17-1780904F7F1D@gbiv.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <594C778A-C4E7-45A5-BD17-1780904F7F1D@gbiv.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2edy-0008IJ-1h 62d7e7e3784afab48f6bcb13ffe3c1af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120229081148.GE32187@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12623
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>
Resent-Message-Id: <E1S2eeG-0005h5-Gu@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 08:12:32 +0000

Hi Roy,

On Tue, Feb 28, 2012 at 11:45:50PM -0800, Roy T. Fielding wrote:
> Please, if you have an opinion, state it once and be satisfied that it
> has been heard and archived in the usual place.  It does not need to be
> repeated over and over again.
> 
> If you have a better design solution, then propose it as a separate draft.
> There's nothing I'd like better than a number of open proposals and a
> bake-off to see which one is better (or which ones are better, if that
> depends on context or traffic styles).
> 
> For example, waka is a tokenized protocol for the exact reasons that you
> describe, and it is specifically designed to speed intermediate processing.
> Unfortunately, having no end of potential syntaxes to choose from means
> I keep changing my mind as to which one to choose.  So I have nothing
> to show for it, aside from a ten year old presentation and a lot of
> burned out neurons.  I should have written a draft instead.  Maybe that
> will happen after HTTPbis is complete.  Maybe I'll go sane instead.
> 
> It takes a lot of time to put together a decent Internet Draft, but it
> can clarify your thoughts and expose some incomplete considerations.
> I encourage anyone who is interested in doing so to give it a try.
> I can't guarantee that anyone will like your ideas, but it is more
> effective than arguing design decisions without an alternative at hand.

I get your point. I too have huge difficulties finding time to contribute
a draft, though I'd love to participate to one. However discussing issues
here helps rising various people's concerns that nobody would have thought
of alone in front of his keyboard (eg: what Patrick and Mike said about
repeated cookies).

Mike has proposed a draft so in my opinion it makes sense to discuss it,
as it's a solid basis for future work. At least we have something to talk
about.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 09:18:08 2012
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 16EC121F8725 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 09:18:08 -0800 (PST)
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=[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 Q-ToOxzwDGPN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 09:18:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DFFFA21F8684 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 09:18:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2n8c-0003ZG-1a for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 17:16:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1S2n8S-0003Xp-48 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 17:16:16 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1S2n8M-00086B-Rf for ietf-http-wg@w3.org; Wed, 29 Feb 2012 17:16:15 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 59BEB101B9; Wed, 29 Feb 2012 12:16:04 -0500 (EST)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id D85D9101B5; Wed, 29 Feb 2012 12:15:55 -0500 (EST)
From: Patrick McManus <pmcmanus@mozilla.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
In-Reply-To: <4F4DC34E.204@treenet.co.nz>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com>  <4F4DC34E.204@treenet.co.nz>
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 29 Feb 2012 12:15:32 -0500
Message-ID: <1330535732.2182.290.camel@ds9>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1S2n8M-00086B-Rf 9b4e2cc52bbc50066a6962f58a9f86e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review:  http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/1330535732.2182.290.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12624
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>
Resent-Message-Id: <E1S2n8c-0003ZG-1a@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 17:16:26 +0000

Hi Amos,

> 
> Challenge: Implement a SPDY proxy which simply decompresses then 
> recompresses. Pass each request through 1-3 layers of this proxy. 
> Measure the gains and CPU loadings.
> 

I'm going to start by saying that while computational scalability of all
parts of the ecosystem (server, intermediary, browsers, embedded clients
of other sorts, etc..) is important and must be kept within reasonable
limits, it is not the top priority for me in doing transport design for
the web.

The most important thing is enabling a better user experience (and
opening up new ones) over a network where bandwidth, cpu, memory, etc
all keep scaling up but latency doesn't operate on the same scale. our
current strategies butt their head into these things all the time
whether it is just delay of a handshake or delay in the ability to
respond/sense congestion.

I'm genuinely interested in what other priorities people see, but when I
look at the problems in web transport I don't start with "per
transaction cpu cost is holding back the web." But I do see that mobile
network characteristics makes that form factor down right unusable
sometimes even as the capabilities of the handset evolve rapidly. Add to
that the traditional web screws up VOIP, and that the lack of
cancellation semantics interacts with the connection mapping of http/1
in a way to create very unresponsive interfaces, and that simple tasks
like pushing calendar updates are fraught with challenges involving
timeouts and security, etc.. Getting past those road blocks are the
things that keep me up a night.

Making it cheaper to operate implementations of all types is awesome -
let's do it where we can - but it isn't the most heavily weighted
priority for me.

So let's address those transport things and evolve what people can do
with the web in an open standards process. Spdy is a good start there
from my point of view - some parts of it have significant positive
experience (e.g. compression) which is worth a lot to me, others are
less tested and should be scrutinized harder (e.g. certificate
interaction). 

To bring this back to compression - I just took a set of 100 compressed
real headers, and passed them through a decompress/recompress filter
1000 times in 350 milliseconds on one core of a rather unimpressive i5.
Spdy would do it faster because it tends to window things smaller than
the default gzip. So that's a cpu overhead of .35ms per set of 100. The
headers were reduced from 44KB (for the set of 100) to about ~4KB.
That's probably a reduction from 31 packets to 3. IW=4 means that's a
difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
delay to send 3 compressed. 

rtt varies a lot, but let's call that 300 ms of latency saved at the
cost of .35ms of cpu. Its a trade off to be sure, but imo the right one
for the net.

Other schemes are plausible (e.g. per session templates that can be
referenced per transaction) and I'm very open minded to them - but I
wanted to be clear that I haven't seen any problems with this one
accomplishing its objectives. I think its biggest weakness (though
tolerable) is that it creates a state management issue which causes some
classes of spec violations to require connection termination instead of
being localized to the transaction.

-Patrick




From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 09:30:13 2012
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 A3FFE21F864F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 09:30:13 -0800 (PST)
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=[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 RwvxvWBsp6Zn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 09:30:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 25C5921F8678 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 09:30:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2nLJ-0004yr-KX for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 17:29:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2nL8-0004xx-Dy for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 17:29:22 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2nL2-00005a-55 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 17:29:21 +0000
Received: by obcuy19 with SMTP id uy19so10679470obc.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 09:28:50 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.182.31.47 as permitted sender) client-ip=10.182.31.47;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.182.31.47 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.182.31.47]) by 10.182.31.47 with SMTP id x15mr428085obh.76.1330536530392 (num_hops = 1); Wed, 29 Feb 2012 09:28:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=cG+ng9juypdsbQL33JihjpZQbxxpTludKPtOVo0gLtE=; b=dozlqIM0N9RRNXnlvPCv4BFAQ4a3oLxnzOv/VBSp36MrlzpBlozQIvOe24s40YP9Fq jXm9T2Xy8PdqjXw+TpLXTRySVolhYVE1p9p/2BmacwbdFL2QC4feSW6rcrum9ADEJhdp y4jNGstMtUPPMGTBfQkMeT+VS2Rc4bFhmsEz4=
MIME-Version: 1.0
Received: by 10.182.31.47 with SMTP id x15mr368823obh.76.1330536530323; Wed, 29 Feb 2012 09:28:50 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Wed, 29 Feb 2012 09:28:49 -0800 (PST)
In-Reply-To: <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com>
Date: Wed, 29 Feb 2012 17:28:49 +0000
Message-ID: <CANqiZJa5kDboddXWTaz=p=PitRw3=_n-7opGSLHc7_H1a-Bfjg@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Carsten Bormann <cabo@tzi.org>, Julian Reschke <julian.reschke@gmx.de>,  Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2nL2-00005a-55 6db90aec7300e03059cae64e1cfa7738
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJa5kDboddXWTaz=p=PitRw3=_n-7opGSLHc7_H1a-Bfjg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12625
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>
Resent-Message-Id: <E1S2nLJ-0004yr-KX@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 17:29:33 +0000

On Tue, Feb 28, 2012 at 7:54 PM, Roy T. Fielding <fielding@gbiv.com> wrote:
> On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:
>
>> I'm not sure we are communicating.
>>
>> In the web-as-deployed, partial updates often use the PUT method.
>
> In the Web as defined, standardized, and deployed, those partial
> updates using the PUT method are not interoperable with standard
> HTTP/1.x servers.

Please could you be more specific

> That has been known since the idea was first
> brought up and has not changed since then. =A0We could not make
> non-compatible changes to an existing method in 1996, nor 1999,
> nor can we do so now in 2012.

The inference here being there is infrastructure which relies on PUT
requests being non-partial _across the whole of the web_? Do you have
some examples?

> There is no such thing as partial updates using PUT.

Maybe in a theoretical sense, but there are clients and servers
interacting this way on the web right now. Everything seems to be
going OK despite this.

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 09:47:31 2012
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 D356121F86FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 09:47:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.287
X-Spam-Level: 
X-Spam-Status: No, score=-8.287 tagged_above=-999 required=5 tests=[AWL=2.312, 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 qqzNg9thF6on for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 09:47:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 57C8521F86D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 09:47:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2nc6-0003b8-QM for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 17:46:54 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1S2nbr-0003YI-Lj for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 17:46:39 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1S2nbp-0001XK-DK for ietf-http-wg@w3.org; Wed, 29 Feb 2012 17:46:38 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q1THk4Ya020844; Wed, 29 Feb 2012 18:46:04 +0100 (CET)
Received: from [192.168.217.103] (p5B3E6294.dip.t-dialin.net [91.62.98.148]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 437CEF04; Wed, 29 Feb 2012 18:46:04 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com>
Date: Wed, 29 Feb 2012 18:46:03 +0100
Cc: Julian Reschke <julian.reschke@gmx.de>, Martin Thomson <martin.thomson@gmail.com>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2nbp-0001XK-DK 3715479622f2f5c9315cdc8eb34260c2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12626
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>
Resent-Message-Id: <E1S2nc6-0003b8-QM@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 17:46:54 +0000

On Feb 28, 2012, at 20:54, Roy T. Fielding wrote:

> On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:
>=20
>> I'm not sure we are communicating.
>>=20
>> In the web-as-deployed, partial updates often use the PUT method.
>=20
> In the Web as defined, standardized, and deployed, those partial
> updates using the PUT method are not interoperable with standard
> HTTP/1.x servers.  [...]
> Any software that uses Content-Range in PUT requests is BROKEN.

Thanks, that was part of the input I was looking for.

For the other part of discussion we are having (PATCH vs. idempotence), =
it would be useful to know what specifically broke when people started =
using PUT for partial updates.  In particular, it would be good to know =
if the same breakage occurs with an idempotent version of PATCH.

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 10:05:05 2012
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 AA90C21F86EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:05:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.775
X-Spam-Level: 
X-Spam-Status: No, score=-9.775 tagged_above=-999 required=5 tests=[AWL=0.824, 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 7X0K1ns93ZwR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:05:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8B17A21F86E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 10:05:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ntC-0001KI-Km for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 18:04:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2nsw-0000zB-2D for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 18:04:18 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2nsn-0002Hv-Nw for ietf-http-wg@w3.org; Wed, 29 Feb 2012 18:04:16 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1TI3TRr003978; Wed, 29 Feb 2012 19:03:29 +0100
Date: Wed, 29 Feb 2012 19:03:29 +0100
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120229180329.GA3575@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1330535732.2182.290.camel@ds9>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2nsn-0002Hv-Nw d80dd3d10fc51dc7f628441a293f8729
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review:  http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120229180329.GA3575@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12627
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>
Resent-Message-Id: <E1S2ntC-0001KI-Km@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 18:04:34 +0000

Hi Patrick,

On Wed, Feb 29, 2012 at 12:15:32PM -0500, Patrick McManus wrote:
> I'm going to start by saying that while computational scalability of all
> parts of the ecosystem (server, intermediary, browsers, embedded clients
> of other sorts, etc..) is important and must be kept within reasonable
> limits, it is not the top priority for me in doing transport design for
> the web.
> 
> The most important thing is enabling a better user experience (and
> opening up new ones) over a network where bandwidth, cpu, memory, etc
> all keep scaling up but latency doesn't operate on the same scale. our
> current strategies butt their head into these things all the time
> whether it is just delay of a handshake or delay in the ability to
> respond/sense congestion.

I agree that focusing on limiting latency effects is quite important.

(...)
> To bring this back to compression - I just took a set of 100 compressed
> real headers, and passed them through a decompress/recompress filter
> 1000 times in 350 milliseconds on one core of a rather unimpressive i5.
> Spdy would do it faster because it tends to window things smaller than
> the default gzip. So that's a cpu overhead of .35ms per set of 100. The
> headers were reduced from 44KB (for the set of 100) to about ~4KB.
> That's probably a reduction from 31 packets to 3. IW=4 means that's a
> difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
> delay to send 3 compressed. 

That's precisely what worries me a lot. You were able to compress "only"
3000 requests per second on an i5, which means only 1500 request+response
per second for a proxy or gateway. I'm processing 100 times this without
compression on the same hardware, so in the sake of scalability, we first
have to divide CPU efficiency by 100, which is not a really good starting
point in my opinion. Also, adding .35ms per request (and same for the
response) means that .7 ms of real latency will be added for every proxy
layer a request has to pass through. IPS, load balancers, caches, proxies
etc... All of them will add their own delay. At some of my customers, a
request can be forwarded through up to 12 or 13 layers last time I counted,
which means approx 10 ms of cumulative processing time. I know some sites
running at less than 100 microsecond of average response time, their
response time would be increased by an order of magnitude due to this.

Also, there is another thing to consider. The only place where compression
helps is between browsers and servers. Most of the HTTP requests are
between server-side infrastructure components since for a single browser
request, a fair number of components are sollicited. I think it would be
a major design error to force all gateways, servers, etc... to communicate
together with compressed data over low-latency links where CPU matters the
most. Think about web services too.

> rtt varies a lot, but let's call that 300 ms of latency saved at the
> cost of .35ms of cpu. Its a trade off to be sure, but imo the right one
> for the net.

It's not really .35ms of CPU, it's .35 ms of CPU *per browser*. When you
have 10k browsers connected on a site, you're at 3.5s of CPU for one single
clic for each of them. That's huge. Like Amos said it, the cumulated latency
caused by CPU overhead can quickly overwhelm the network latency. If my
gateway has to deal with 50000 requests per second, it needs 17 seconds
of CPU for each second of wall-clock. Variations of CPU load will quickly
add up CPU-based latency.

> Other schemes are plausible (e.g. per session templates that can be
> referenced per transaction) and I'm very open minded to them - but I
> wanted to be clear that I haven't seen any problems with this one
> accomplishing its objectives. I think its biggest weakness (though
> tolerable) is that it creates a state management issue which causes some
> classes of spec violations to require connection termination instead of
> being localized to the transaction.

Patrick, don't get me wrong, I'm certain that what has been achieved is
really nice, and it proves that reducing the size of a request has a major
impact on user experience. But you're mostly dealing with code running at
a rate of 1 user. Some of us are dealing with code having to support 10s
to 100s of thousands of users on similarly sized hardware. We have reasons
to be quite concerned with these CPU impacts and with the increased DoS
risks.

I'll try to find time to put a few ideas on the table to start from
something, otherwise we'll all spend our time saying that we agree but
have nothing else :-)

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 10:49:45 2012
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 9395B21F8667 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:49:45 -0800 (PST)
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=[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 AGeLqPvjhzxT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:49:45 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 09C9821F8665 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 10:49:45 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2oZ6-00087K-NX for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 18:47:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1S2oYt-000865-R5 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 18:47:39 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1S2oYm-0002QS-Vb for ietf-http-wg@w3.org; Wed, 29 Feb 2012 18:47:38 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id E6CCF101B9; Wed, 29 Feb 2012 13:47:25 -0500 (EST)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 04426101B5; Wed, 29 Feb 2012 13:47:18 -0500 (EST)
From: Patrick McManus <pmcmanus@mozilla.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
In-Reply-To: <20120229180329.GA3575@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9>  <20120229180329.GA3575@1wt.eu>
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 29 Feb 2012 13:46:54 -0500
Message-ID: <1330541214.2182.305.camel@ds9>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2 
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1S2oYm-0002QS-Vb e76872e0c7eb6e1942a2ca07e2f1e234
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review:   http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/1330541214.2182.305.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12628
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>
Resent-Message-Id: <E1S2oZ6-00087K-NX@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 18:47:52 +0000

On Wed, 2012-02-29 at 19:03 +0100, Willy Tarreau wrote:

> > To bring this back to compression - I just took a set of 100 compressed
> > real headers, and passed them through a decompress/recompress filter
> > 1000 times in 350 milliseconds on one core of a rather unimpressive i5.
> > Spdy would do it faster because it tends to window things smaller than
> > the default gzip. So that's a cpu overhead of .35ms per set of 100. The
> > headers were reduced from 44KB (for the set of 100) to about ~4KB.
> > That's probably a reduction from 31 packets to 3. IW=4 means that's a
> > difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
> > delay to send 3 compressed. 
> 
> That's precisely what worries me a lot. You were able to compress "only"
> 3000 requests per second on an i5, 

3000 sets of 100 http transactions per second on 1 core of an i5 with a
lame implementation. So that's 300,000 http transactions per second per
core on a chip that costs ~$50 a core. not a big factor.

> which means only 1500 request+response
> per second for a proxy or gateway. 

150,000 per second.

I'll also note that it's not a moral failing if we specify a protocol
that's good for the Internet that can be gatewayed to one that is better
for back offices, although I don't think that has to happen. I think the
work of the Internet protocol is the more important work of the IETF. 





From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 10:52:27 2012
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 5C4D121F86E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:52:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.899
X-Spam-Level: 
X-Spam-Status: No, score=-9.899 tagged_above=-999 required=5 tests=[AWL=0.700, 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 gqQxNwKZd4lD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:52:25 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D5AE921F86A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 10:52:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ocC-0008Eo-MH for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 18:51:04 +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 1S2oc1-0008DU-5f for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 18:50:53 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a96.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S2obt-0002V8-L0 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 18:50:51 +0000
Received: from homiemail-a96.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTP id 814A03B8079; Wed, 29 Feb 2012 10:50:24 -0800 (PST)
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=MwLsDWSV0FMFvF9s boBmcdhL5gFr8I5ucIZ96wUUZoQXHDU5gLfPdCdzw60qyGsgvanzKQIvcXwwqk+O 7Xj+oDxZPZJfMWZqM1+A/APJ3kXKzCod2HYJlbqRotvYtjJ1Wa8jK4K72am5hhE1 Yd6eSC/Plb91uAXD6Os8996U4Vs=
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=zhowug+IYYY8xP/f0g49ewULu88=; b=EOjHaV2TFyelBbwubrmQYWiWVzMm WT/eFAIlT9wM7YHpxhT5gzFerKU0DK/MoKnsLA3muLs1nQ2Mn+yu4k9nKKJJdnno Yr58Er2nhXpDYFD8xAAxy7KAiAgjsto1QIuRmlqSGT/WzRldj22d5AWVJo6ArVh8 Y0uCMvnQf+NM1PQ=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTPSA id 2A9203B8078; Wed, 29 Feb 2012 10:50:24 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org>
Date: Wed, 29 Feb 2012 10:50:23 -0800
Cc: Julian Reschke <julian.reschke@gmx.de>, Martin Thomson <martin.thomson@gmail.com>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.74; envelope-from=fielding@gbiv.com; helo=homiemail-a96.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 1S2obt-0002V8-L0 7ff559b1bfc1cf4225e1074c8ca396b8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12629
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>
Resent-Message-Id: <E1S2ocC-0008Eo-MH@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 18:51:04 +0000

On Feb 29, 2012, at 9:46 AM, Carsten Bormann wrote:
> On Feb 28, 2012, at 20:54, Roy T. Fielding wrote:
>> On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:
>>=20
>>> I'm not sure we are communicating.
>>>=20
>>> In the web-as-deployed, partial updates often use the PUT method.
>>=20
>> In the Web as defined, standardized, and deployed, those partial
>> updates using the PUT method are not interoperable with standard
>> HTTP/1.x servers.  [...]
>> Any software that uses Content-Range in PUT requests is BROKEN.
>=20
> Thanks, that was part of the input I was looking for.
>=20
> For the other part of discussion we are having (PATCH vs. =
idempotence), it would be useful to know what specifically broke when =
people started using PUT for partial updates.  In particular, it would =
be good to know if the same breakage occurs with an idempotent version =
of PATCH.

When a server that implemented PUT prior to the introduction of
Content-Range received a partial content body that included such
a range, they would replace the entire resource representation with
the partial body.  That is how PUT was defined to work.  That's how
it was implemented long before ranges existed.  Hence, the introduction
of partial PUT would only be possible with a strong coupling between
client and origin server implementations, which violates the design
of the HTTP.

By design, HTTP method semantics cannot be changed in an incompatible
way without a major version change in the protocol.  Since the WG
refused to bump the protocol version, partial PUT was forbidden.
PATCH was delegated to the WebDAV group to standardize.

....Roy=


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 10:55:37 2012
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 1E7A321F8781 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:55:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.447
X-Spam-Level: 
X-Spam-Status: No, score=-8.447 tagged_above=-999 required=5 tests=[AWL=2.152, 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 3buBGyBLXJ7L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 10:55:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7D9D421F8783 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 10:55:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2og4-0008RF-FU for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 18:55:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2oft-0008Pm-IY for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 18:54:53 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2ofo-0002Zl-DC for ietf-http-wg@w3.org; Wed, 29 Feb 2012 18:54:52 +0000
Received: (qmail invoked by alias); 29 Feb 2012 18:54:21 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp035) with SMTP; 29 Feb 2012 19:54:21 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19ZjKcMoLlZqA+eW4xKT0DP7KYm9ZqDNkM9ft8x0L CaW9id2pVrMf4u
Message-ID: <4F4E745A.10503@gmx.de>
Date: Wed, 29 Feb 2012 19:54:18 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Carsten Bormann <cabo@tzi.org>,  Martin Thomson <martin.thomson@gmail.com>, Mike Kelly <mikekelly321@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com>
In-Reply-To: <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2ofo-0002Zl-DC 6947d6a43f1cbf736de967ed0f141e62
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4E745A.10503@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12630
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>
Resent-Message-Id: <E1S2og4-0008RF-FU@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 18:55:04 +0000

On 2012-02-29 19:50, Roy T. Fielding wrote:
> On Feb 29, 2012, at 9:46 AM, Carsten Bormann wrote:
>> On Feb 28, 2012, at 20:54, Roy T. Fielding wrote:
>>> On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:
>>>
>>>> I'm not sure we are communicating.
>>>>
>>>> In the web-as-deployed, partial updates often use the PUT method.
>>>
>>> In the Web as defined, standardized, and deployed, those partial
>>> updates using the PUT method are not interoperable with standard
>>> HTTP/1.x servers.  [...]
>>> Any software that uses Content-Range in PUT requests is BROKEN.
>>
>> Thanks, that was part of the input I was looking for.
>>
>> For the other part of discussion we are having (PATCH vs. idempotence), it would be useful to know what specifically broke when people started using PUT for partial updates.  In particular, it would be good to know if the same breakage occurs with an idempotent version of PATCH.
>
> When a server that implemented PUT prior to the introduction of
> Content-Range received a partial content body that included such
> a range, they would replace the entire resource representation with
> the partial body.  That is how PUT was defined to work.  That's how
> it was implemented long before ranges existed.  Hence, the introduction
> of partial PUT would only be possible with a strong coupling between
> client and origin server implementations, which violates the design
> of the HTTP.
>
> By design, HTTP method semantics cannot be changed in an incompatible
> way without a major version change in the protocol.  Since the WG
> refused to bump the protocol version, partial PUT was forbidden.
> PATCH was delegated to the WebDAV group to standardize.

Yes.

But I *think* there's some terminology confusion here.

When Mike, who brought this up, talks about partial updates with PUT, 
he's referring to a PUT request *without* Content-Range, replacing 
*parts* of the identified resource; and leaving the remainder alone.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:01:57 2012
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 3E75321F86B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:01:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.963
X-Spam-Level: 
X-Spam-Status: No, score=-9.963 tagged_above=-999 required=5 tests=[AWL=0.636, 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 wDR5gY3MPHVl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:01:56 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 65E6121F86AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:01:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2om5-0002PD-AG for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:01:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1S2olu-0002OI-0i for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:01:06 +0000
Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a73.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S2olr-0004bS-K8 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:01:04 +0000
Received: from homiemail-a73.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a73.g.dreamhost.com (Postfix) with ESMTP id A8F121F0084; Wed, 29 Feb 2012 11:00:42 -0800 (PST)
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=3isn3hel+vgMtuI+ keIF6W7065CSNMkj71UuiWT9+E2m1oReNJ8scj73hOpj9qdLp3K/Qg9NPq3acgTa wXayvr4pmVqCJ/txCKE0HdWrf0irW9XaJjVdHjLwSbi8iXsE8Y2Z8qcuXN7M8r9Z P3m56p+MhlxbIs3VrR+gG44Ou+E=
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=OAyLN0dQPM6XC0YDfR3CtlRJxIU=; b=o4bjdoc+tf1v27ZA3uD2v4GgL0Mm yd9zJPmTydNlHA/UGAro3vy0+2A44/wTo++zUeuXazUw/JLlEgtYMUegQE6v4www PkjVgoCcTCH4j49Uizqm9r+aJCrmprYGRJ6/T33M0wo2P5dJp1VpzttbthsswgLE VAgqIzd/8XpHPPk=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a73.g.dreamhost.com (Postfix) with ESMTPSA id 4E1451F007C; Wed, 29 Feb 2012 11:00:42 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <4F4E745A.10503@gmx.de>
Date: Wed, 29 Feb 2012 11:00:39 -0800
Cc: Carsten Bormann <cabo@tzi.org>, Martin Thomson <martin.thomson@gmail.com>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.207; envelope-from=fielding@gbiv.com; helo=homiemail-a73.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: lisa.w3.org 1S2olr-0004bS-K8 a51590694010184686ce418481a36b6d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12631
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>
Resent-Message-Id: <E1S2om5-0002PD-AG@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:01:17 +0000

On Feb 29, 2012, at 10:54 AM, Julian Reschke wrote:

> On 2012-02-29 19:50, Roy T. Fielding wrote:
>> On Feb 29, 2012, at 9:46 AM, Carsten Bormann wrote:
>>> On Feb 28, 2012, at 20:54, Roy T. Fielding wrote:
>>>> On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:
>>>>=20
>>>>> I'm not sure we are communicating.
>>>>>=20
>>>>> In the web-as-deployed, partial updates often use the PUT method.
>>>>=20
>>>> In the Web as defined, standardized, and deployed, those partial
>>>> updates using the PUT method are not interoperable with standard
>>>> HTTP/1.x servers.  [...]
>>>> Any software that uses Content-Range in PUT requests is BROKEN.
>>>=20
>>> Thanks, that was part of the input I was looking for.
>>>=20
>>> For the other part of discussion we are having (PATCH vs. =
idempotence), it would be useful to know what specifically broke when =
people started using PUT for partial updates.  In particular, it would =
be good to know if the same breakage occurs with an idempotent version =
of PATCH.
>>=20
>> When a server that implemented PUT prior to the introduction of
>> Content-Range received a partial content body that included such
>> a range, they would replace the entire resource representation with
>> the partial body.  That is how PUT was defined to work.  That's how
>> it was implemented long before ranges existed.  Hence, the =
introduction
>> of partial PUT would only be possible with a strong coupling between
>> client and origin server implementations, which violates the design
>> of the HTTP.
>>=20
>> By design, HTTP method semantics cannot be changed in an incompatible
>> way without a major version change in the protocol.  Since the WG
>> refused to bump the protocol version, partial PUT was forbidden.
>> PATCH was delegated to the WebDAV group to standardize.
>=20
> Yes.
>=20
> But I *think* there's some terminology confusion here.
>=20
> When Mike, who brought this up, talks about partial updates with PUT, =
he's referring to a PUT request *without* Content-Range, replacing =
*parts* of the identified resource; and leaving the remainder alone.

Which is even less interoperable than the Content-Range hack because
now the site cannot even detect it.

As I've told Mike a dozen times already, what he describes is contrary
to the definition of PUT.  It is therefore invalid HTTP.  Whether it is
valid in other protocols is not our problem.

....Roy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:10:27 2012
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 7498421F85D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:10:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.784
X-Spam-Level: 
X-Spam-Status: No, score=-9.784 tagged_above=-999 required=5 tests=[AWL=0.815, 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 W38fbloHeydR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:10:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7515521F85CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:10:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ouf-0003mx-HR for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:10:09 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2ouU-0003kx-Dr for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:09:58 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2ouR-0004yX-SF for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:09:57 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1TJ9KnZ004417; Wed, 29 Feb 2012 20:09:20 +0100
Date: Wed, 29 Feb 2012 20:09:20 +0100
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120229190920.GB3575@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <1330541214.2182.305.camel@ds9>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1330541214.2182.305.camel@ds9>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2ouR-0004yX-SF f20398e0f8c7a9efa59f86232a868186
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120229190920.GB3575@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12633
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>
Resent-Message-Id: <E1S2ouf-0003mx-HR@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:10:09 +0000

On Wed, Feb 29, 2012 at 01:46:54PM -0500, Patrick McManus wrote:
> On Wed, 2012-02-29 at 19:03 +0100, Willy Tarreau wrote:
> 
> > > To bring this back to compression - I just took a set of 100 compressed
> > > real headers, and passed them through a decompress/recompress filter
> > > 1000 times in 350 milliseconds on one core of a rather unimpressive i5.
> > > Spdy would do it faster because it tends to window things smaller than
> > > the default gzip. So that's a cpu overhead of .35ms per set of 100. The
> > > headers were reduced from 44KB (for the set of 100) to about ~4KB.
> > > That's probably a reduction from 31 packets to 3. IW=4 means that's a
> > > difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
> > > delay to send 3 compressed. 
> > 
> > That's precisely what worries me a lot. You were able to compress "only"
> > 3000 requests per second on an i5, 
> 
> 3000 sets of 100 http transactions per second on 1 core of an i5 with a
> lame implementation. So that's 300,000 http transactions per second per
> core on a chip that costs ~$50 a core. not a big factor.

OK sorry I understood in the text above 1000 requests of 100 headers each
in 350 ms.

> I'll also note that it's not a moral failing if we specify a protocol
> that's good for the Internet that can be gatewayed to one that is better
> for back offices, although I don't think that has to happen. I think the
> work of the Internet protocol is the more important work of the IETF. 

It's not a moral failing, but for adoption you have to ensure that you
don't multiply server-side infrastructure costs by 100 too and you don't
expose them to new risks.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:10:28 2012
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 5044621F85CF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:10:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 ebG1QZ7nL9+a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:10:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DD56221F85D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:10:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ouP-0003kq-J1 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:09:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <saravanakumar.a@gmail.com>) id 1S2ouD-0003ju-PB for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:09:41 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <saravanakumar.a@gmail.com>) id 1S2ouA-0004y1-Om for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:09:40 +0000
Received: by lagr15 with SMTP id r15so7985696lag.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 11:09:12 -0800 (PST)
Received-SPF: pass (google.com: domain of saravanakumar.a@gmail.com designates 10.152.114.74 as permitted sender) client-ip=10.152.114.74;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of saravanakumar.a@gmail.com designates 10.152.114.74 as permitted sender) smtp.mail=saravanakumar.a@gmail.com; dkim=pass header.i=saravanakumar.a@gmail.com
Received: from mr.google.com ([10.152.114.74]) by 10.152.114.74 with SMTP id je10mr1406373lab.40.1330542552716 (num_hops = 1); Wed, 29 Feb 2012 11:09:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=34Cn6vmBSkXVThj3yXlQ7GUwKsts2XgYjvkC3FdArtU=; b=VPlT0oCFRMyaJnzdg5OZE+1qKs7i1eWH56Gzi560TnAbQ8lnOzeH/nscSMvnhyQGbn zCYVsEShi6CskYeJmhGJIwTbHXKU3E3kVTaprj8Pr3ejWtg7WiAnjkAlmuwVFnwk94kN /12beuB9qLEF9/TQc37KJ131TulwSW4hO/X8Y=
MIME-Version: 1.0
Received: by 10.152.114.74 with SMTP id je10mr1150716lab.40.1330542552561; Wed, 29 Feb 2012 11:09:12 -0800 (PST)
Received: by 10.152.18.167 with HTTP; Wed, 29 Feb 2012 11:09:12 -0800 (PST)
In-Reply-To: <20120229180329.GA3575@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu>
Date: Thu, 1 Mar 2012 00:39:12 +0530
Message-ID: <CAPmVQmfu30cK9HEC14uv=H8cHwrRUshuwGxEpEd3YC3PYyBy7w@mail.gmail.com>
From: saravanakumar Annamalaisami <saravanakumar.a@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0408d7ed34370304ba1f1465
Received-SPF: pass client-ip=209.85.215.43; envelope-from=saravanakumar.a@gmail.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2ouA-0004y1-Om 896761faafda028285f6136b76e90c27
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CAPmVQmfu30cK9HEC14uv=H8cHwrRUshuwGxEpEd3YC3PYyBy7w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12632
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>
Resent-Message-Id: <E1S2ouP-0003kq-J1@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:09:53 +0000

--f46d0408d7ed34370304ba1f1465
Content-Type: text/plain; charset=ISO-8859-1

Hello Willy,

>>
Also, adding .35ms per request (and same for the
response) means that .7 ms of real latency will be added for every proxy
layer a request has to pass through. IPS, load balancers, caches, proxies
etc...
>>

This is a very valid/critical point. It would even get worse,  if any of
these devices have limited number of threads/core serving the request.  The
per-header latency added by the 'header compression' would be a big thing
for a small request/response header cases.

It is not only CPU-intensive, but also requires significant amount of
memory, if it mandates a 'stateful glib compression'.  This could create
lots of scalablity issue for the intermediate devices that you have listed
and also the server.

If we are really looking at reducing the header bytes, it is
cheaper/scalable if we could address them at the HTTP/application protocol
level itself than addressing them through 'generic stateful glib
compression'.

Like for ex., in case of request, referer/user-agent/cookie/accept are few
of the headers that adds up to most of the bytes.  There could be other
headers depend on the application.  And, most of the cases, these headers
does not change during a user session.

We could define a protocol/mechanism to cache/store this information in the
server side so that the client could sent a short-form of these header
values, after the first request.

If we have a alternative way to get 'part of the benefit of the stateful
glib HTTP header compression', it is worth it.

-thanks, Saravana.

On Wed, Feb 29, 2012 at 11:33 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Patrick,
>
> On Wed, Feb 29, 2012 at 12:15:32PM -0500, Patrick McManus wrote:
> > I'm going to start by saying that while computational scalability of all
> > parts of the ecosystem (server, intermediary, browsers, embedded clients
> > of other sorts, etc..) is important and must be kept within reasonable
> > limits, it is not the top priority for me in doing transport design for
> > the web.
> >
> > The most important thing is enabling a better user experience (and
> > opening up new ones) over a network where bandwidth, cpu, memory, etc
> > all keep scaling up but latency doesn't operate on the same scale. our
> > current strategies butt their head into these things all the time
> > whether it is just delay of a handshake or delay in the ability to
> > respond/sense congestion.
>
> I agree that focusing on limiting latency effects is quite important.
>
> (...)
> > To bring this back to compression - I just took a set of 100 compressed
> > real headers, and passed them through a decompress/recompress filter
> > 1000 times in 350 milliseconds on one core of a rather unimpressive i5.
> > Spdy would do it faster because it tends to window things smaller than
> > the default gzip. So that's a cpu overhead of .35ms per set of 100. The
> > headers were reduced from 44KB (for the set of 100) to about ~4KB.
> > That's probably a reduction from 31 packets to 3. IW=4 means that's a
> > difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
> > delay to send 3 compressed.
>
> That's precisely what worries me a lot. You were able to compress "only"
> 3000 requests per second on an i5, which means only 1500 request+response
> per second for a proxy or gateway. I'm processing 100 times this without
> compression on the same hardware, so in the sake of scalability, we first
> have to divide CPU efficiency by 100, which is not a really good starting
> point in my opinion. Also, adding .35ms per request (and same for the
> response) means that .7 ms of real latency will be added for every proxy
> layer a request has to pass through. IPS, load balancers, caches, proxies
> etc... All of them will add their own delay. At some of my customers, a
> request can be forwarded through up to 12 or 13 layers last time I counted,
> which means approx 10 ms of cumulative processing time. I know some sites
> running at less than 100 microsecond of average response time, their
> response time would be increased by an order of magnitude due to this.
>
> Also, there is another thing to consider. The only place where compression
> helps is between browsers and servers. Most of the HTTP requests are
> between server-side infrastructure components since for a single browser
> request, a fair number of components are sollicited. I think it would be
> a major design error to force all gateways, servers, etc... to communicate
> together with compressed data over low-latency links where CPU matters the
> most. Think about web services too.
>
> > rtt varies a lot, but let's call that 300 ms of latency saved at the
> > cost of .35ms of cpu. Its a trade off to be sure, but imo the right one
> > for the net.
>
> It's not really .35ms of CPU, it's .35 ms of CPU *per browser*. When you
> have 10k browsers connected on a site, you're at 3.5s of CPU for one single
> clic for each of them. That's huge. Like Amos said it, the cumulated
> latency
> caused by CPU overhead can quickly overwhelm the network latency. If my
> gateway has to deal with 50000 requests per second, it needs 17 seconds
> of CPU for each second of wall-clock. Variations of CPU load will quickly
> add up CPU-based latency.
>
> > Other schemes are plausible (e.g. per session templates that can be
> > referenced per transaction) and I'm very open minded to them - but I
> > wanted to be clear that I haven't seen any problems with this one
> > accomplishing its objectives. I think its biggest weakness (though
> > tolerable) is that it creates a state management issue which causes some
> > classes of spec violations to require connection termination instead of
> > being localized to the transaction.
>
> Patrick, don't get me wrong, I'm certain that what has been achieved is
> really nice, and it proves that reducing the size of a request has a major
> impact on user experience. But you're mostly dealing with code running at
> a rate of 1 user. Some of us are dealing with code having to support 10s
> to 100s of thousands of users on similarly sized hardware. We have reasons
> to be quite concerned with these CPU impacts and with the increased DoS
> risks.
>
> I'll try to find time to put a few ideas on the table to start from
> something, otherwise we'll all spend our time saying that we agree but
> have nothing else :-)
>
> Regards,
> Willy
>
>
>

--f46d0408d7ed34370304ba1f1465
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hello Willy, </div><div>=A0</div><div>&gt;&gt;</div><div>Also, adding =
.35ms per request (and same for the<br>response) means that .7 ms of real l=
atency will be added for every proxy<br>layer a request has to pass through=
. IPS, load balancers, caches, proxies<br>
etc... </div><div>&gt;&gt;</div><div>=A0</div><div>This is a very valid/cri=
tical point. It would even get worse,=A0 if any of these devices have limit=
ed number of threads/core serving the request.=A0 The per-header latency ad=
ded by the &#39;header compression&#39; would be a big thing for a small re=
quest/response header cases.</div>
<div>=A0</div><div>It is not only CPU-intensive,=A0but also requires=A0sign=
ificant amount of memory, if it mandates a &#39;stateful glib compression&#=
39;.=A0 This could create lots of scalablity issue for the intermediate dev=
ices that you have listed and also the server.</div>
<div>=A0</div><div>If we are really looking at reducing the header bytes, i=
t is cheaper/scalable if we could address them at the HTTP/application prot=
ocol level itself than addressing them through &#39;generic stateful glib c=
ompression&#39;.=A0 </div>
<div>=A0</div><div>Like for ex., in case of request, referer/user-agent/coo=
kie/accept are few of the headers that adds up to most of the bytes.=A0 The=
re could be other headers depend on the application.=A0 And, most of the ca=
ses, these headers does not change during a user session.</div>
<div>=A0</div><div>We could=A0define=A0a protocol/mechanism to cache/store =
this information in the server side so that the client could sent a short-f=
orm of these header values, after the first request.</div><div>=A0</div><di=
v>If we have a alternative way to get &#39;part of the benefit of the state=
ful glib HTTP header compression&#39;, it is worth it.</div>
<div>=A0</div><div>-thanks, Saravana.<br><br></div><div class=3D"gmail_quot=
e">On Wed, Feb 29, 2012 at 11:33 PM, Willy Tarreau <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt;</span> wrote:<br><blockquote sty=
le=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,2=
04,204);border-left-width:1px;border-left-style:solid" class=3D"gmail_quote=
">
Hi Patrick,<br>
<div class=3D"im"><br>
On Wed, Feb 29, 2012 at 12:15:32PM -0500, Patrick McManus wrote:<br>
&gt; I&#39;m going to start by saying that while computational scalability =
of all<br>
&gt; parts of the ecosystem (server, intermediary, browsers, embedded clien=
ts<br>
&gt; of other sorts, etc..) is important and must be kept within reasonable=
<br>
&gt; limits, it is not the top priority for me in doing transport design fo=
r<br>
&gt; the web.<br>
&gt;<br>
&gt; The most important thing is enabling a better user experience (and<br>
&gt; opening up new ones) over a network where bandwidth, cpu, memory, etc<=
br>
&gt; all keep scaling up but latency doesn&#39;t operate on the same scale.=
 our<br>
&gt; current strategies butt their head into these things all the time<br>
&gt; whether it is just delay of a handshake or delay in the ability to<br>
&gt; respond/sense congestion.<br>
<br>
</div>I agree that focusing on limiting latency effects is quite important.=
<br>
<br>
(...)<br>
<div class=3D"im">&gt; To bring this back to compression - I just took a se=
t of 100 compressed<br>
&gt; real headers, and passed them through a decompress/recompress filter<b=
r>
&gt; 1000 times in 350 milliseconds on one core of a rather unimpressive i5=
.<br>
&gt; Spdy would do it faster because it tends to window things smaller than=
<br>
&gt; the default gzip. So that&#39;s a cpu overhead of .35ms per set of 100=
. The<br>
&gt; headers were reduced from 44KB (for the set of 100) to about ~4KB.<br>
&gt; That&#39;s probably a reduction from 31 packets to 3. IW=3D4 means tha=
t&#39;s a<br>
&gt; difference of 3 rtt&#39;s of delay to send 31 packets uncompressed vs =
0<br>
&gt; delay to send 3 compressed.<br>
<br>
</div>That&#39;s precisely what worries me a lot. You were able to compress=
 &quot;only&quot;<br>
3000 requests per second on an i5, which means only 1500 request+response<b=
r>
per second for a proxy or gateway. I&#39;m processing 100 times this withou=
t<br>
compression on the same hardware, so in the sake of scalability, we first<b=
r>
have to divide CPU efficiency by 100, which is not a really good starting<b=
r>
point in my opinion. Also, adding .35ms per request (and same for the<br>
response) means that .7 ms of real latency will be added for every proxy<br=
>
layer a request has to pass through. IPS, load balancers, caches, proxies<b=
r>
etc... All of them will add their own delay. At some of my customers, a<br>
request can be forwarded through up to 12 or 13 layers last time I counted,=
<br>
which means approx 10 ms of cumulative processing time. I know some sites<b=
r>
running at less than 100 microsecond of average response time, their<br>
response time would be increased by an order of magnitude due to this.<br>
<br>
Also, there is another thing to consider. The only place where compression<=
br>
helps is between browsers and servers. Most of the HTTP requests are<br>
between server-side infrastructure components since for a single browser<br=
>
request, a fair number of components are sollicited. I think it would be<br=
>
a major design error to force all gateways, servers, etc... to communicate<=
br>
together with compressed data over low-latency links where CPU matters the<=
br>
most. Think about web services too.<br>
<div class=3D"im"><br>
&gt; rtt varies a lot, but let&#39;s call that 300 ms of latency saved at t=
he<br>
&gt; cost of .35ms of cpu. Its a trade off to be sure, but imo the right on=
e<br>
&gt; for the net.<br>
<br>
</div>It&#39;s not really .35ms of CPU, it&#39;s .35 ms of CPU *per browser=
*. When you<br>
have 10k browsers connected on a site, you&#39;re at 3.5s of CPU for one si=
ngle<br>
clic for each of them. That&#39;s huge. Like Amos said it, the cumulated la=
tency<br>
caused by CPU overhead can quickly overwhelm the network latency. If my<br>
gateway has to deal with 50000 requests per second, it needs 17 seconds<br>
of CPU for each second of wall-clock. Variations of CPU load will quickly<b=
r>
add up CPU-based latency.<br>
<div class=3D"im"><br>
&gt; Other schemes are plausible (e.g. per session templates that can be<br=
>
&gt; referenced per transaction) and I&#39;m very open minded to them - but=
 I<br>
&gt; wanted to be clear that I haven&#39;t seen any problems with this one<=
br>
&gt; accomplishing its objectives. I think its biggest weakness (though<br>
&gt; tolerable) is that it creates a state management issue which causes so=
me<br>
&gt; classes of spec violations to require connection termination instead o=
f<br>
&gt; being localized to the transaction.<br>
<br>
</div>Patrick, don&#39;t get me wrong, I&#39;m certain that what has been a=
chieved is<br>
really nice, and it proves that reducing the size of a request has a major<=
br>
impact on user experience. But you&#39;re mostly dealing with code running =
at<br>
a rate of 1 user. Some of us are dealing with code having to support 10s<br=
>
to 100s of thousands of users on similarly sized hardware. We have reasons<=
br>
to be quite concerned with these CPU impacts and with the increased DoS<br>
risks.<br>
<br>
I&#39;ll try to find time to put a few ideas on the table to start from<br>
something, otherwise we&#39;ll all spend our time saying that we agree but<=
br>
have nothing else :-)<br>
<br>
Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>

--f46d0408d7ed34370304ba1f1465--


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:30:47 2012
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 0271C21F869F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:30:47 -0800 (PST)
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=[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 xefIK1Peg9nY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:30:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2105621F8691 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:30:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ouw-0003rr-6w for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:10:26 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2ouk-0003n2-Eh for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:10:14 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2ouf-0004zO-8V for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:10:13 +0000
Received: by obhx4 with SMTP id x4so82557obh.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 11:09:44 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.182.231.100 as permitted sender) client-ip=10.182.231.100;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.182.231.100 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.182.231.100]) by 10.182.231.100 with SMTP id tf4mr599699obc.56.1330542584113 (num_hops = 1); Wed, 29 Feb 2012 11:09:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=+QR4xIah4isezNGsJPfzwi4V+9pefgFd8/8yy01p2H0=; b=YYMS52e5pYziZDKoZLrcXDD29Zs/ZH+nQncG2nT3PMxa1z4X3T1AbhCyJcLv6YtuIC fL7r321lpSyQPatRkcd/izrE5POIf4liM7tAHgBMJvpdMqFIGZjrrin7txhal+HaMGAM x0ZAWtwty6GnQSij2KrGhPiO9iJd7Pxc1dgQQ=
MIME-Version: 1.0
Received: by 10.182.231.100 with SMTP id tf4mr517270obc.56.1330542584043; Wed, 29 Feb 2012 11:09:44 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Wed, 29 Feb 2012 11:09:43 -0800 (PST)
In-Reply-To: <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com>
Date: Wed, 29 Feb 2012 19:09:43 +0000
Message-ID: <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Carsten Bormann <cabo@tzi.org>,  Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2ouf-0004zO-8V 0863e6fd456546d23cd6785f352818c2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12634
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>
Resent-Message-Id: <E1S2ouw-0003rr-6w@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:10:26 +0000

On Wed, Feb 29, 2012 at 7:00 PM, Roy T. Fielding <fielding@gbiv.com> wrote:
> On Feb 29, 2012, at 10:54 AM, Julian Reschke wrote:
>
>> On 2012-02-29 19:50, Roy T. Fielding wrote:
>>> On Feb 29, 2012, at 9:46 AM, Carsten Bormann wrote:
>>>> On Feb 28, 2012, at 20:54, Roy T. Fielding wrote:
>>>>> On Feb 28, 2012, at 9:31 AM, Carsten Bormann wrote:
>>>>>
>>>>>> I'm not sure we are communicating.
>>>>>>
>>>>>> In the web-as-deployed, partial updates often use the PUT method.
>>>>>
>>>>> In the Web as defined, standardized, and deployed, those partial
>>>>> updates using the PUT method are not interoperable with standard
>>>>> HTTP/1.x servers. =A0[...]
>>>>> Any software that uses Content-Range in PUT requests is BROKEN.
>>>>
>>>> Thanks, that was part of the input I was looking for.
>>>>
>>>> For the other part of discussion we are having (PATCH vs. idempotence)=
, it would be useful to know what specifically broke when people started us=
ing PUT for partial updates. =A0In particular, it would be good to know if =
the same breakage occurs with an idempotent version of PATCH.
>>>
>>> When a server that implemented PUT prior to the introduction of
>>> Content-Range received a partial content body that included such
>>> a range, they would replace the entire resource representation with
>>> the partial body. =A0That is how PUT was defined to work. =A0That's how
>>> it was implemented long before ranges existed. =A0Hence, the introducti=
on
>>> of partial PUT would only be possible with a strong coupling between
>>> client and origin server implementations, which violates the design
>>> of the HTTP.
>>>
>>> By design, HTTP method semantics cannot be changed in an incompatible
>>> way without a major version change in the protocol. =A0Since the WG
>>> refused to bump the protocol version, partial PUT was forbidden.
>>> PATCH was delegated to the WebDAV group to standardize.
>>
>> Yes.
>>
>> But I *think* there's some terminology confusion here.
>>
>> When Mike, who brought this up, talks about partial updates with PUT, he=
's referring to a PUT request *without* Content-Range, replacing *parts* of=
 the identified resource; and leaving the remainder alone.
>
> Which is even less interoperable than the Content-Range hack because
> now the site cannot even detect it.
>
> As I've told Mike a dozen times already, what he describes is contrary
> to the definition of PUT. =A0It is therefore invalid HTTP. =A0Whether it =
is
> valid in other protocols is not our problem.

It can't be unambiguously contrary to 2616, otherwise why would there
have been any need to clarify the semantics via HTTPbis?

Sites can detect whether it is partial vs replace the same way they
distinguish between the intent of a POST requests - it depends on the
resource in question.


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:30:47 2012
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 3624621F8691 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:30:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.183
X-Spam-Level: 
X-Spam-Status: No, score=-10.183 tagged_above=-999 required=5 tests=[AWL=0.116, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 6CiupKNNekOJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:30:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B5F6A21F869C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:30:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2p4X-0000hR-RZ for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:20:21 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2p4M-0000eO-P6 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:20:10 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2p4K-0003KZ-7e for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:20:09 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TJJYUW022139; Wed, 29 Feb 2012 19:19:35 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TJJWsm026387; Wed, 29 Feb 2012 20:19:32 +0100
Message-ID: <1330543172.24673.7.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, mnot@mnot.net, iesg@ietf.org, ietf-http-wg@w3.org, IETF-Discussion <ietf@ietf.org>
Date: Wed, 29 Feb 2012 20:19:32 +0100
In-Reply-To: <4F43E75C.2010309@gmx.de>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 19:19:36 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2p4K-0003KZ-7e 5ed43caceceae42996b154b2edd7eea2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330543172.24673.7.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12635
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>
Resent-Message-Id: <E1S2p4X-0000hR-RZ@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:20:21 +0000

tis 2012-02-21 klockan 19:50 +0100 skrev Julian Reschke:
> Well, we have an existing authentication framework. It would be 
> interesting to find out what's missing from it.

My take is better secure authentication schemes (not plaintext password
based) which is cleanly specified to a level that implementations
actually interop properly, and the ability for site owners (and proxies)
to influence how the login process is presented to users in a safe
manner that do not collide with preceived https security or makes a mess
for matchine<->machine communication not involving humans.

The existing HTTP auth framework works in general very well for
machine<->machine. 

This said I have used HTTP Digest authentication quite successfully (but
with a number of interop workarounds) with non-tech users using the
default login box, only providing a good error response message seen if
the user cacels of fails the login.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:34:28 2012
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 B220C21F85F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:34:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.196
X-Spam-Level: 
X-Spam-Status: No, score=-10.196 tagged_above=-999 required=5 tests=[AWL=0.103, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 zt2LtKlIqPLT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:34:27 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A689821F847A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:34:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2pHd-0005Xx-UN for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:33:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2pHY-0005XF-0o for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:33:48 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2pHV-0003fL-P7 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:33:46 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TJWuHL029722; Wed, 29 Feb 2012 19:32:58 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TJWobZ027336; Wed, 29 Feb 2012 20:32:50 +0100
Message-ID: <1330543970.24673.15.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Willy Tarreau <w@1wt.eu>
Cc: Julian Reschke <julian.reschke@gmx.de>, Robert Collins <robertc@squid-cache.org>, Barry Leiba <barryleiba@computer.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 29 Feb 2012 20:32:50 +0100
In-Reply-To: <20120222140249.GB24811@1wt.eu>
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de> <20120222140249.GB24811@1wt.eu>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 19:32:58 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2pHV-0003fL-P7 a0e91e60ff612bb8223cd802dd2f4da5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330543970.24673.15.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12636
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>
Resent-Message-Id: <E1S2pHd-0005Xx-UN@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:33:53 +0000

ons 2012-02-22 klockan 15:02 +0100 skrev Willy Tarreau:

> I think that sometimes the server wants to cause the logout (eg: application
> status code) and sometimes the user wants to log off. Many web developers
> working in environments where basic auth is in use are used to open/close
> their browser all the day due to the lack of logoff button.

There is a very simple but confsing method for that: requesting a
resource requiring different credentials in the same realm, and ask the
user to log in there with some well known credentials (i.e. username
logoff, password logoff)

In some browsers even cancelling that login box is sufficient, but most
require the user to login with different credentials to invalidate the
first.

> If we had the browsers provide the logoff button, then the current 403
> is already enough for user-initiated action.

Fully agreed.

> If we want the server to force a logoff, we possibly need to define how
> this is supposed to be
> done. Note that in this case it's a change of authentication, which is
> different from a lack of authorization (eg: return 401 with an empty
> www-authenticate response).

logoff is mostly in the realm of human interaction, so javascript could
do it nicely imho. Document.logoff() or similar.

Not sure there even is a demand for protocol level indicated logoff
where the server at HTTP level tell the client to invalidate the cached
credentials.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:38:29 2012
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 488C621F86FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:38:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.229
X-Spam-Level: 
X-Spam-Status: No, score=-8.229 tagged_above=-999 required=5 tests=[AWL=2.370, 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 yLjaN6LNDZCy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:38:28 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9828D21F87C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:38:28 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2pLs-0005pD-II for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:38:16 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2pLh-0005oK-DF for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:38:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2pLf-0006Dg-D7 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:38:04 +0000
Received: (qmail invoked by alias); 29 Feb 2012 19:37:36 -0000
Received: from p3EE26EBB.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.110.187] by mail.gmx.net (mp035) with SMTP; 29 Feb 2012 20:37:36 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/pmnBfX5jpInY4MwNRcu4w56s5Rv3vBfxo90lQEh kwfp0XESpPkB8K
Message-ID: <4F4E7E7D.5010709@gmx.de>
Date: Wed, 29 Feb 2012 20:37:33 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mike Kelly <mikekelly321@gmail.com>
CC: "Roy T. Fielding" <fielding@gbiv.com>, Carsten Bormann <cabo@tzi.org>,  Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com>
In-Reply-To: <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2pLf-0006Dg-D7 2f7476e5c46aab493cbffcbac9a3b4d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4E7E7D.5010709@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12637
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>
Resent-Message-Id: <E1S2pLs-0005pD-II@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:38:16 +0000

On 2012-02-29 20:09, Mike Kelly wrote:
> ...
>> Which is even less interoperable than the Content-Range hack because
>> now the site cannot even detect it.
>>
>> As I've told Mike a dozen times already, what he describes is contrary
>> to the definition of PUT.  It is therefore invalid HTTP.  Whether it is
>> valid in other protocols is not our problem.
>
> It can't be unambiguously contrary to 2616, otherwise why would there
> have been any need to clarify the semantics via HTTPbis?

I've answered that several times. We clarify things when we see that 
people get them wrong. That doesn't mean we made a normative change, we 
just try to optimize the spec for people who apparently have read 
something into 2616 which isn't there.

> Sites can detect whether it is partial vs replace the same way they
> distinguish between the intent of a POST requests - it depends on the
> resource in question.

The *site* can't know, unless sender and receiver are closely coupled. 
In which case you can of course do what you want, but don't claim that 
this is HTTP as specified.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:57:09 2012
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 4153121F87FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:57:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.206
X-Spam-Level: 
X-Spam-Status: No, score=-10.206 tagged_above=-999 required=5 tests=[AWL=0.093, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 XBAc6Qix+Jpr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:57:08 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5511B21F8800 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:57:08 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2pdD-0002H7-Kl for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:56:11 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2pd7-0002GK-RB for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:56:05 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2pd5-0004PL-Eo for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:56:04 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TJtRQw019815; Wed, 29 Feb 2012 19:55:28 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TJtOvl028932; Wed, 29 Feb 2012 20:55:24 +0100
Message-ID: <1330545324.24673.22.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Julian Reschke <julian.reschke@gmx.de>, IETF-Discussion <ietf@ietf.org>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Date: Wed, 29 Feb 2012 20:55:24 +0100
In-Reply-To: <4F48EC87.4040302@cs.tcd.ie>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 19:55:29 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2pd5-0004PL-Eo 4b9c2e0be6f8abde507d2e99d92fea97
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330545324.24673.22.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12638
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>
Resent-Message-Id: <E1S2pdD-0002H7-Kl@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:56:11 +0000

lÃ¶r 2012-02-25 klockan 14:13 +0000 skrev Stephen Farrell:

> I don't agree with you there - the perceived low probability that
> something will be deployed is a real disincentive here. We have had
> people wanting to do work on this and have been told there's no point
> because it won't get adopted.

I do not agree that getting new auth schemes deployed if they do make
sense is such big problem in the longer scope.

We have already had two new auth schemes deployed within HTTP/1.1 during
the lifetime of HTTP/1.1 and which is in wide scale use today across
numerous different implementations. And these doesn't even followin HTTP
semantics...

A beauty of HTTP auth model here is that it can downgrade nicely,
allowing old clients to continue working only not gaining the benefits
of the new auth model. But that obviously have security implications as
well if newer user-agents can be fooled into downgrading.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 11:58:24 2012
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 5045721E802C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:58:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.215
X-Spam-Level: 
X-Spam-Status: No, score=-10.215 tagged_above=-999 required=5 tests=[AWL=0.084, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 tV6bx-t9XE3P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 11:58:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5F29621E802A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 11:58:23 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2pfA-0003NS-Cf for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 19:58:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2pf4-0003Mh-I4 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 19:58:06 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2pf2-000782-Rv for ietf-http-wg@w3.org; Wed, 29 Feb 2012 19:58:05 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TJvXAS029844; Wed, 29 Feb 2012 19:57:34 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TJvVgM029142; Wed, 29 Feb 2012 20:57:31 +0100
Message-ID: <1330545451.24673.24.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Julian Reschke <julian.reschke@gmx.de>, IETF-Discussion <ietf@ietf.org>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Date: Wed, 29 Feb 2012 20:57:31 +0100
In-Reply-To: <4F491E02.9020207@cs.tcd.ie>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <4F48EE34.3020504@gmx.de> <4F491E02.9020207@cs.tcd.ie>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 19:57:34 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2pf2-000782-Rv f7169aec0c5b2e3b3dcd1e1b6c92818f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330545451.24673.24.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12639
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>
Resent-Message-Id: <E1S2pfA-0003NS-Cf@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 19:58:12 +0000

lÃ¶r 2012-02-25 klockan 17:44 +0000 skrev Stephen Farrell:

> I don't think fixing or changing the framework will give us better
> auth schemes by itself. (Better auth schemes may or may not require
> changes to the framework, I dunno.)

Obviously not. Fixing the framework giving better use of auth schemes
may triggering interest in finding a better auth scheme however.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:00:43 2012
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 237B221E8046 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:00:43 -0800 (PST)
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=[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 ZvlPB1fg9EPa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:00:42 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0FBE21F8821 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:00:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2phH-0005WX-8u for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:00:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2ph3-0004Ta-CR for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:00:09 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2ph1-0007BU-DM for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:00:08 +0000
Received: by obhx4 with SMTP id x4so152983obh.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 11:59:41 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.182.127.20 as permitted sender) client-ip=10.182.127.20;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.182.127.20 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.182.127.20]) by 10.182.127.20 with SMTP id nc20mr657057obb.66.1330545581663 (num_hops = 1); Wed, 29 Feb 2012 11:59:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fW8oZBZ+UKbxI4IAQNLPvunY/LoA4CQhVcU3f7TxLTQ=; b=ImiGu79iT9qx28ulSZ+QDgV8a1vx+xRwDNEA8CwVc5316j1KukOu4KN1Ktya5FHo2K jjvtCSHozgJZYzvy2u4wnStjTagx85IVANcte4h52jqUqkzOhzRIOvvCHJQfKSZVSk47 o3lFH5ISTMNh4iVIKgGUe0sqc9/c9ZgjKhOLo=
MIME-Version: 1.0
Received: by 10.182.127.20 with SMTP id nc20mr567382obb.66.1330545581612; Wed, 29 Feb 2012 11:59:41 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Wed, 29 Feb 2012 11:59:41 -0800 (PST)
In-Reply-To: <4F4E7E7D.5010709@gmx.de>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de>
Date: Wed, 29 Feb 2012 19:59:41 +0000
Message-ID: <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Carsten Bormann <cabo@tzi.org>,  Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2ph1-0007BU-DM 313feacd982b5063809d40e6262f9b05
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12640
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>
Resent-Message-Id: <E1S2phH-0005WX-8u@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:00:23 +0000

On Wed, Feb 29, 2012 at 7:37 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-02-29 20:09, Mike Kelly wrote:
>> Sites can detect whether it is partial vs replace the same way they
>> distinguish between the intent of a POST requests - it depends on the
>> resource in question.
>
>
> The *site* can't know, unless sender and receiver are closely coupled. In
> which case you can of course do what you want, but don't claim that this is
> HTTP as specified.
>

Right, it is closely coupled - as is any other interaction driven by
shared understanding between the client and the server. Not everything
needs, or can be, visible on the network and is better off dealt with
via shared understanding between client and server. What is it about
the non-partial'ness of PUT that requires it to be made visible by
HTTP across the web as a whole?

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:11:07 2012
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 A9F9721E8092 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:11:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.464
X-Spam-Level: 
X-Spam-Status: No, score=-7.464 tagged_above=-999 required=5 tests=[AWL=2.835, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 A0CJlVsBwZkp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:11:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E826021F85F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:11:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2prE-0007ou-LC for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:10:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2pqy-0007nk-NK for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:10:24 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2pqv-0004s4-Le for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:10:23 +0000
Received: From [192.168.1.10] (unverified [125.237.241.8]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018891738@smtp.qbik.com>; Thu, 01 Mar 2012 09:09:56 +1300
Message-ID: <4F4E8614.90901@qbik.com>
Date: Thu, 01 Mar 2012 09:09:56 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120216 Thunderbird/11.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: Julian Reschke <julian.reschke@gmx.de>,  Stephen Farrell <stephen.farrell@cs.tcd.ie>, mnot@mnot.net, iesg@ietf.org, ietf-http-wg@w3.org,  IETF-Discussion <ietf@ietf.org>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com>  <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de>  <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se>
In-Reply-To: <1330543172.24673.7.camel@home.hno.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2pqv-0004s4-Le ca9864e30e8f978da6148aacef3ab02a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/4F4E8614.90901@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12641
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>
Resent-Message-Id: <E1S2prE-0007ou-LC@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:10:40 +0000

There is one other thing I would add to auth:

Ability for a challenger to identify itself, and for a response to 
target a challenger.

Currently with chained proxies, it's not possible to reliably pass 
challenges and creds back to the client.  A proxy looking at a request 
would need to maintain state to know if it challenged the client or not.

Adding a parameter to the challenge and response which identifies the 
challenger would allow for this.

In fact it would then allow proxy and server auth to use the same 
mechanism and headers.

Adrien



On 1/03/2012 8:19 a.m., Henrik NordstrÃ¶m wrote:
> tis 2012-02-21 klockan 19:50 +0100 skrev Julian Reschke:
>> Well, we have an existing authentication framework. It would be
>> interesting to find out what's missing from it.
> My take is better secure authentication schemes (not plaintext password
> based) which is cleanly specified to a level that implementations
> actually interop properly, and the ability for site owners (and proxies)
> to influence how the login process is presented to users in a safe
> manner that do not collide with preceived https security or makes a mess
> for matchine<->machine communication not involving humans.
>
> The existing HTTP auth framework works in general very well for
> machine<->machine.
>
> This said I have used HTTP Digest authentication quite successfully (but
> with a number of interop workarounds) with non-tech users using the
> default login box, only providing a good error response message seen if
> the user cacels of fails the login.
>
> Regards
> Henrik
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:11:53 2012
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 652BF21E8092 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:11:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.222
X-Spam-Level: 
X-Spam-Status: No, score=-10.222 tagged_above=-999 required=5 tests=[AWL=0.077, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 ShqvWMcENigx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:11:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1213621E8091 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:11:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2psE-0007xY-KU for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:11:42 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2ps8-0007tY-O6 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:11:36 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2ps6-0007oN-DR for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:11:35 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TKB2l2005434; Wed, 29 Feb 2012 20:11:03 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TKB0pK030112; Wed, 29 Feb 2012 21:11:00 +0100
Message-ID: <1330546260.24673.37.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, IETF-Discussion <ietf@ietf.org>, "Roy T. Fielding" <fielding@gbiv.com>, Paul Hoffman <paul.hoffman@vpnc.org>, Mark Nottingham <mnot@mnot.net>, Tim Bray <tbray@textuality.com>, The IESG <iesg@ietf.org>, ietf-http-wg@w3.org
Date: Wed, 29 Feb 2012 21:11:00 +0100
In-Reply-To: <4F49271C.5030509@gmx.de>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <4F48EE34.3020504@gmx.de> <4F491E02.9020207@cs.tcd.ie> <4F49271C.5030509@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 20:11:03 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2ps6-0007oN-DR afa675f13e54312b6fa55262144bcfc3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330546260.24673.37.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12642
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>
Resent-Message-Id: <E1S2psE-0007xY-KU@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:11:42 +0000

lÃ¶r 2012-02-25 klockan 19:23 +0100 skrev Julian Reschke:
> Well, I'm one of the editors of the authentication framework spec, so if 
> there's something wrong with it, I'd like to know.

Only the thing said earluer

- Define how servers may influence the visible appearance of the login
action

- Perhaps some way of triggering a logout.

> So if we collectively think that the framework probably is ok, and that 
> we *do* need a new authentication scheme, what's stopping us to start 
> that activity *right now*?

Nothing.

A cleaned up http digest with less fancy bells no one implements
correctly and stronger methods would do nicely at improving the raw
security side of things.

But at the same time it alone does solve the reasons why HTTP Digest is
not widely used today which is or any of the newer use cases with auth
delegation via trusted third parties.

A very interesting thought is to look into how for example Kerberos
could be implemented as a first class HTTP Auth citizen without
violating HTTP messaging semantics. Is there anything needed at the
framework side for making that work right?

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:14:54 2012
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 14C9B21F87F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:14:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.651
X-Spam-Level: 
X-Spam-Status: No, score=-7.651 tagged_above=-999 required=5 tests=[AWL=2.948, 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 NkgmjBrDv-vw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:14:53 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 059C821F87E4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:14:53 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2pv8-0008Hi-Ik for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:14:42 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2pux-0008Fh-PJ for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:14:31 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2puv-0004zr-JI for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:14:31 +0000
Received: From [192.168.1.10] (unverified [125.237.241.8]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018891751@smtp.qbik.com>; Thu, 01 Mar 2012 09:14:06 +1300
Message-ID: <4F4E870E.4060703@qbik.com>
Date: Thu, 01 Mar 2012 09:14:06 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120216 Thunderbird/11.0
MIME-Version: 1.0
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <4F43E75C.2010309@gmx.de>  <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com>  <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com>  <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com>  <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de>  <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de>  <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de>  <20120222140249.GB24811@1wt.eu> <1330543970.24673.15.camel@home.hno.se>
In-Reply-To: <1330543970.24673.15.camel@home.hno.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2puv-0004zr-JI a35cc32769e41dfed515987bff1ef6b0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/4F4E870E.4060703@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12643
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>
Resent-Message-Id: <E1S2pv8-0008Hi-Ik@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:14:42 +0000

On 1/03/2012 8:32 a.m., Henrik NordstrÃ¶m wrote:
> ons 2012-02-22 klockan 15:02 +0100 skrev Willy Tarreau:
> logoff is mostly in the realm of human interaction, so javascript could
> do it nicely imho. Document.logoff() or similar.
>
> Not sure there even is a demand for protocol level indicated logoff
> where the server at HTTP level tell the client to invalidate the cached
> credentials.

Actually I would like to see this.

For example product admin back-ends which use http auth. We'd like to be 
able to time out a user so someone else coming along (if the first user 
didn't close the browser) doesn't gain access to things they shouldn't.


Regards

Adrien

>
> Regards
> Henrik
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:21:42 2012
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 129EE21F87C3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:21:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.227
X-Spam-Level: 
X-Spam-Status: No, score=-10.227 tagged_above=-999 required=5 tests=[AWL=0.072, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 tb+paTUKydXV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:21:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E01721F87BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:21:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2q1L-0002je-04 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:21:07 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2q1F-0002ir-3q for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:21:01 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2q1C-0008Gq-OA for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:20:59 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TKKStB022208; Wed, 29 Feb 2012 20:20:29 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TKKQSW030888; Wed, 29 Feb 2012 21:20:26 +0100
Message-ID: <1330546826.24673.41.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Yoav Nir <ynir@checkpoint.com>
Cc: "etf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 29 Feb 2012 21:20:26 +0100
In-Reply-To: <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net> <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 20:20:29 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2q1C-0008Gq-OA 82bc8b087ffa7575b5911dd76fa697de
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis   (httpbis)
Archived-At: <http://www.w3.org/mid/1330546826.24673.41.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12644
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>
Resent-Message-Id: <E1S2q1L-0002je-04@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:21:07 +0000

sÃ¶n 2012-02-26 klockan 09:45 +0000 skrev Yoav Nir:

> This could be circumvented by adding request headers that advertise capabilities, but I don't think we like those much.

HTTP auth have response header that advertise capabilities. Works quite
well. Just challenge for all the auth schemes you support and the client
picks what it thinks is the best.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:27:53 2012
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 3960821E8017 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:27:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.689
X-Spam-Level: 
X-Spam-Status: No, score=-7.689 tagged_above=-999 required=5 tests=[AWL=2.910, 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 GJgbNvsv6Vzy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:27:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E52921F8818 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:27:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2q66-0003Br-EO for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:26:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2q5u-0003Ax-W6 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:25:51 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2q5s-0005Fq-EO for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:25:50 +0000
Received: From [192.168.1.10] (unverified [125.237.241.8]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018891785@smtp.qbik.com>; Thu, 01 Mar 2012 09:25:25 +1300
Message-ID: <4F4E89B5.1000606@qbik.com>
Date: Thu, 01 Mar 2012 09:25:25 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120216 Thunderbird/11.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Patrick McManus <pmcmanus@mozilla.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu>
In-Reply-To: <20120229180329.GA3575@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2q5s-0005Fq-EO 8defae4fd4e367fa873361a2c4352eae
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review:  http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4E89B5.1000606@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12645
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>
Resent-Message-Id: <E1S2q66-0003Br-EO@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:26:02 +0000

I think in the end, an "optimized" protocol is still not going to 
achieve the compression ratio of something like gzip, simply because it 
will have difficulty compressing the URI, and header values.

However, as a proxy vendor (and I think you'll notice most people with 
the biggest concerns fall into that camp), we have to look at impact on 
proxies.

The current spec basically bypasses proxies by using TLS.

Encryption / decryption will add probably as much CPU and latency as 
compression / decompression.

In the deployment scenarios Willy is talking about, with front-end load 
balancers and reverse proxies etc, it would affect scalability to force 
adoption of encryption and compression inside a trusted, high bandwidth 
low-latency environment.

So what would we do?  We can either

a) specify a different protocol for this environment
b) make the encryption and compression be optional and then just use the 
same protocol.

(a) makes no sense.  (b) gives rise to new class of product, such as 
front-end SSL and gzip layer.  It then becomes an administrative 
decision whether to use crypt and comp on a connection.

It also means then clients can talk uncompressed and unencrypted to 
local proxies which can then decide whether to make encrypted and 
compressed connections or not.

The problem with making SSL/TLS optional is that currently that's the 
mechanism used to negotiate use of SPDY in the first place.  Without 
that, you'd need to tell the client (e.g..in the hyperlink URIs) what 
protocol to use / is in use at that site, which would mean hyperlinks 
wouldn't be http://www.example.com any more, but something else like 
spdy://www.example.com.  What port it was on would depend on deployment, 
since you couldn't easily share http and spdy native on the same port.  
Unless of course something was built in to allow both types of server to 
discriminate... without redeployment of existing http servers.... so 
actually I think you'd end up having to use a new port number.

But I generally prefer explicit to implied information, so I don't know 
if I would have a problem with this.

Adrien

On 1/03/2012 7:03 a.m., Willy Tarreau wrote:
> Hi Patrick,
>
> On Wed, Feb 29, 2012 at 12:15:32PM -0500, Patrick McManus wrote:
>> I'm going to start by saying that while computational scalability of all
>> parts of the ecosystem (server, intermediary, browsers, embedded clients
>> of other sorts, etc..) is important and must be kept within reasonable
>> limits, it is not the top priority for me in doing transport design for
>> the web.
>>
>> The most important thing is enabling a better user experience (and
>> opening up new ones) over a network where bandwidth, cpu, memory, etc
>> all keep scaling up but latency doesn't operate on the same scale. our
>> current strategies butt their head into these things all the time
>> whether it is just delay of a handshake or delay in the ability to
>> respond/sense congestion.
> I agree that focusing on limiting latency effects is quite important.
>
> (...)
>> To bring this back to compression - I just took a set of 100 compressed
>> real headers, and passed them through a decompress/recompress filter
>> 1000 times in 350 milliseconds on one core of a rather unimpressive i5.
>> Spdy would do it faster because it tends to window things smaller than
>> the default gzip. So that's a cpu overhead of .35ms per set of 100. The
>> headers were reduced from 44KB (for the set of 100) to about ~4KB.
>> That's probably a reduction from 31 packets to 3. IW=4 means that's a
>> difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
>> delay to send 3 compressed.
> That's precisely what worries me a lot. You were able to compress "only"
> 3000 requests per second on an i5, which means only 1500 request+response
> per second for a proxy or gateway. I'm processing 100 times this without
> compression on the same hardware, so in the sake of scalability, we first
> have to divide CPU efficiency by 100, which is not a really good starting
> point in my opinion. Also, adding .35ms per request (and same for the
> response) means that .7 ms of real latency will be added for every proxy
> layer a request has to pass through. IPS, load balancers, caches, proxies
> etc... All of them will add their own delay. At some of my customers, a
> request can be forwarded through up to 12 or 13 layers last time I counted,
> which means approx 10 ms of cumulative processing time. I know some sites
> running at less than 100 microsecond of average response time, their
> response time would be increased by an order of magnitude due to this.
>
> Also, there is another thing to consider. The only place where compression
> helps is between browsers and servers. Most of the HTTP requests are
> between server-side infrastructure components since for a single browser
> request, a fair number of components are sollicited. I think it would be
> a major design error to force all gateways, servers, etc... to communicate
> together with compressed data over low-latency links where CPU matters the
> most. Think about web services too.
>
>> rtt varies a lot, but let's call that 300 ms of latency saved at the
>> cost of .35ms of cpu. Its a trade off to be sure, but imo the right one
>> for the net.
> It's not really .35ms of CPU, it's .35 ms of CPU *per browser*. When you
> have 10k browsers connected on a site, you're at 3.5s of CPU for one single
> clic for each of them. That's huge. Like Amos said it, the cumulated latency
> caused by CPU overhead can quickly overwhelm the network latency. If my
> gateway has to deal with 50000 requests per second, it needs 17 seconds
> of CPU for each second of wall-clock. Variations of CPU load will quickly
> add up CPU-based latency.
>
>> Other schemes are plausible (e.g. per session templates that can be
>> referenced per transaction) and I'm very open minded to them - but I
>> wanted to be clear that I haven't seen any problems with this one
>> accomplishing its objectives. I think its biggest weakness (though
>> tolerable) is that it creates a state management issue which causes some
>> classes of spec violations to require connection termination instead of
>> being localized to the transaction.
> Patrick, don't get me wrong, I'm certain that what has been achieved is
> really nice, and it proves that reducing the size of a request has a major
> impact on user experience. But you're mostly dealing with code running at
> a rate of 1 user. Some of us are dealing with code having to support 10s
> to 100s of thousands of users on similarly sized hardware. We have reasons
> to be quite concerned with these CPU impacts and with the increased DoS
> risks.
>
> I'll try to find time to put a few ideas on the table to start from
> something, otherwise we'll all spend our time saying that we agree but
> have nothing else :-)
>
> Regards,
> Willy
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:37:10 2012
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 F297321E8079 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:37:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.233
X-Spam-Level: 
X-Spam-Status: No, score=-10.233 tagged_above=-999 required=5 tests=[AWL=0.066, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 QsL347McD2Nl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:37:09 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 730C521E803B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:37:09 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2qGP-00086P-Oy for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:36:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2qGJ-00085j-Rv for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:36:35 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2qGH-0005VB-MG for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:36:34 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TKaAKr007877; Wed, 29 Feb 2012 20:36:11 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TKa9a4031952; Wed, 29 Feb 2012 21:36:09 +0100
Message-ID: <1330547769.24673.49.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Wed, 29 Feb 2012 21:36:09 +0100
In-Reply-To: <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
References:  <CACuKZqHenX2h5+bsD+2m_v5geDd6PGUpQyJR3dKcnDLDQ3_X8A@mail.gmail.com> <20120223165651.GM29928@1wt.eu> <4F467DB0.8050009@alobbs.com> <CACuKZqF+tPFLBT-akD+Sr11eBZ+6OrM2wmKa355Eg=ZBs6GuEg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 20:36:12 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2qGH-0005VB-MG 5a68f76318d2cc3bc6a540990d1d3b6d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/1.0 request - should the server close the connection after  response?
Archived-At: <http://www.w3.org/mid/1330547769.24673.49.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12646
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>
Resent-Message-Id: <E1S2qGP-00086P-Oy@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:36:41 +0000

tor 2012-02-23 klockan 12:19 -0600 skrev Zhong Yu:
> Thank you both. So, "Connection:keep-alive" in 1.0 is very dependable
> in practice, server should keep the connection alive.
> 
> If that's the case, shouldn't we remove the alarming languages in
> [part 1, A.1.2.]? They might be legitimate concerns in 1999, but no
> longer relevant today.
> 
>    However, some experimental implementations of HTTP/1.0
>    persistent connections are faulty; for example, if a HTTP/1.0 proxy
>    server doesn't understand Connection, it will erroneously forward
>    that header to the next inbound server, which would result in a hung
>    connection.

This part is indeed obsolete today. The number of currently deployed
HTTP/1.0 proxies not knowing about Connection is very limited.

>    Clients are also encouraged to consider the use of Connection: keep-
>    alive in requests carefully; while they can enable persistent
>    connections with HTTP/1.0 servers, clients using them need will need
>    to monitor the connection for "hung" requests (which indicate that
>    the client ought stop sending the header), and this mechanism ought
>    not be used by clients at all when a proxy is being used.

I would think this is obsolete as well for the same reason as above.

I have not heard of any reports indicating any problems in these areas
for many many years (10+ I think). It may have been a problem at the
time RFC2616 was written, but at least I have no evidence at all that
these are seen as problems today.

It's also worth noting that the use of HTTP/1.0 is declining a lot,
making this pretty much a non-issue. And most of the remainign HTTP/1.0
agents which is likely to stick around for some significant time do not
send keep-alive.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:40:07 2012
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 EC72B21E808D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:40:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.866
X-Spam-Level: 
X-Spam-Status: No, score=-9.866 tagged_above=-999 required=5 tests=[AWL=0.433, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 NDAfMCMPj-FN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:40:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 331CE21E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:40:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2qJS-0001Y3-ET for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:39:50 +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 1S2qJH-0001X3-Nr for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:39:39 +0000
Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a95.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1S2qJF-0005b4-C8 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:39:38 +0000
Received: from homiemail-a95.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a95.g.dreamhost.com (Postfix) with ESMTP id 17F2C1E078; Wed, 29 Feb 2012 12:39:17 -0800 (PST)
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=lkO1qNy/J6G7WLIx Dissjq1nfdRThe52kmnxeE0/wgKX4hM8xTJeEYJvsjunmuCiT+K4zqDyO9fWnUrK HpK6vF2qxzKfxYx3bW0VWCgjgL0TMx+Djc2mmGK4jGEgggkpipoEFJJcrT9c0riA Uojr72aYLwIOqBVdALebjpi+Me4=
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=nVd8ME8rV48eSBORgJ9T2XWy/cU=; b=ApbFWvYeJr1O1wIpPWqINdRqVXre vjeAqUjMnM+YUzTUp2JTYCI/XDWgfcaVySu4PQtHj56CQ5k5DnvB2xkdTJiE3guR p3NWk+YvMh5rBJKY6lSAv63st2ouBlt3B6S74uE3a0nz4A1qBfJ3jINzKp4yG8MS A975SlerEIK0Y2k=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a95.g.dreamhost.com (Postfix) with ESMTPSA id B466F1E064; Wed, 29 Feb 2012 12:39:16 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <1330546826.24673.41.camel@home.hno.se>
Date: Wed, 29 Feb 2012 12:39:15 -0800
Cc: Yoav Nir <ynir@checkpoint.com>, "etf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <90A2BD83-D5C6-431F-A044-F48572B63605@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net> <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com> <1330546826.24673.41.camel@home.hno.se>
To: =?iso-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
X-Mailer: Apple Mail (2.1257)
Received-SPF: none client-ip=208.97.132.119; envelope-from=fielding@gbiv.com; helo=homiemail-a95.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 1S2qJF-0005b4-C8 0b4a11666482abb307114686e4ae3031
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis   (httpbis)
Archived-At: <http://www.w3.org/mid/90A2BD83-D5C6-431F-A044-F48572B63605@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12647
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>
Resent-Message-Id: <E1S2qJS-0001Y3-ET@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:39:50 +0000

On Feb 29, 2012, at 12:20 PM, Henrik Nordstr=F6m wrote:

> s=F6n 2012-02-26 klockan 09:45 +0000 skrev Yoav Nir:
>=20
>> This could be circumvented by adding request headers that advertise =
capabilities, but I don't think we like those much.
>=20
> HTTP auth have response header that advertise capabilities. Works =
quite
> well. Just challenge for all the auth schemes you support and the =
client
> picks what it thinks is the best.

It doesn't work well if your goal is to never send passwords in the =
clear
and never share the true password (before being hashed) with each =
server,
but that's because of the lack of new auth schemes.  Hence, it isn't
actually useful for the introduction of new schemes that are intended
to solve those very problems.

....Roy=


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:42:49 2012
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 BFD0C21E8084 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:42:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.237
X-Spam-Level: 
X-Spam-Status: No, score=-10.237 tagged_above=-999 required=5 tests=[AWL=0.062, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 tD-QNzbJJFDX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:42:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 44E7121E807A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:42:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2qLz-0001kB-C7 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:42:27 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2qLt-0001jO-Gk for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:42:21 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2qLr-0005fe-Dt for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:42:20 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TKfZjl003868; Wed, 29 Feb 2012 20:41:36 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TKfXJJ032374; Wed, 29 Feb 2012 21:41:33 +0100
Message-ID: <1330548093.24673.51.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Date: Wed, 29 Feb 2012 21:41:33 +0100
In-Reply-To: <4F4DC64B.1030406@qbik.com>
References:  <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <4F4DC64B.1030406@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 20:41:42 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2qLr-0005fe-Dt 8000fb56011230ce6d491cb09535daa2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/1330548093.24673.51.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12648
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>
Resent-Message-Id: <E1S2qLz-0001kB-C7@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:42:27 +0000

ons 2012-02-29 klockan 19:31 +1300 skrev Adrien de Croy:
> there's also the burden of TLS on top of that.
> 
> With my proxy hat on, if a proxy is to add any value to such a system, 
> it has to break into the SSL stream, decompress the messages, 

Yes, or put differently, for user-agent delegated proxies to work the
TLS needs to be hop-by-hop, not end-to-end.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 12:51:49 2012
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 585CE21F8678 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:51:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.582
X-Spam-Level: 
X-Spam-Status: No, score=-10.582 tagged_above=-999 required=5 tests=[AWL=0.017, 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 2Cwzhd6eWKEz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 12:51:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58A4321F8681 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 12:51:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2qUc-0004ki-Go for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 20:51:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1S2qUR-0004jp-D6 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 20:51:11 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1S2qUP-0000ui-91 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 20:51:10 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 99C1C5C36; Wed, 29 Feb 2012 20:50:47 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q1TKoggF008566; Wed, 29 Feb 2012 20:50:44 GMT (envelope-from phk@phk.freebsd.dk)
To: Adrien de Croy <adrien@qbik.com>
cc: Willy Tarreau <w@1wt.eu>, Patrick McManus <pmcmanus@mozilla.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 01 Mar 2012 09:25:25 +1300." <4F4E89B5.1000606@qbik.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 29 Feb 2012 20:50:42 +0000
Message-ID: <8565.1330548642@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2qUP-0000ui-91 2f8c99030d14a093eb6f2710851b6749
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/8565.1330548642@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12649
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>
Resent-Message-Id: <E1S2qUc-0004ki-Go@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 20:51:22 +0000

In message <4F4E89B5.1000606@qbik.com>, Adrien de Croy writes:

>So what would we do?  We can either
>
>a) specify a different protocol for this environment
>b) make the encryption and compression be optional and then just use the 
>same protocol.

>(a) makes no sense.

Actually, I think (a) makes a lot of sense.

That it one of the main reasons why I think we should not focus on
SPDY, but rather on getting a clean and modular transport/semantics
split which will allow us to have multiple transport protocols with
different properties.

There is an ocean between the desired protocol properties for a
porn site, a news media, a daytrader and a webbank site.

Trying to use a once-size-fits-nobody model to bridge that span is
exactly why we are talking about HTTP/2.0 in the first place.

At the very minimum, there is a need for two different transport
protocols:

1. Bulk (focus on bw/latency/load)

2. Cryptographically protected (focus on auth/priv/ident)

Which is why we have HTTP and HTTPS today.

SPDY tries to be both, and adds server push and various other bells
and whistles on top, and as others have commented, Moores law is
not enough to make that feasible for high-volume sites.

I think any attempt to have just one transport protocol runs into
so many conflicting demands that implementing X.40? in INTERCAL
will seem like a nice project to relax with, and a successful
transition period only slightly longer than IPv6 is almost guaranteed.

I think HTTP/2.0 should expect to have at least four transport
protocols:

a) HTTP/1.x for backwards compatibility

b) HTTP/2.0 Bulk mode (smaller headers, possibly mux/pipeline)

c) HTTP/2.0 Crypto (or possibly HTTPS unchanged to avoid recertification)

d) HTTP/2.0 Bells&Whistles (server push, websockets, RPC etc.)

SPDY may be a candidate for d), but it sure as hell isn't for b).

To what extent c) and d) can be combined I will not venture an opinion.
I will note that deployment of a HTTPS replacement involves a lot of
paperwork and in some cases regulatory action.

So can we please stop this one-eyed focus on SPDY, and start looking
at how we accomodate multiple transport protocols in a sensible manner ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 13:09:38 2012
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 5FD7421F856C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 13:09:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.792
X-Spam-Level: 
X-Spam-Status: No, score=-9.792 tagged_above=-999 required=5 tests=[AWL=0.807, 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 jKgx-dMBOJ5A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 13:09:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 555CD21F8564 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 13:09:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2qlj-0000WI-1N for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 21:09:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S2qlX-0000VM-Lw for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 21:08:51 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S2qlV-0006Qc-10 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 21:08:50 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q1TL7uo8005053; Wed, 29 Feb 2012 22:07:56 +0100
Date: Wed, 29 Feb 2012 22:07:56 +0100
From: Willy Tarreau <w@1wt.eu>
To: Adrien de Croy <adrien@qbik.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120229210756.GC3575@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4F4E89B5.1000606@qbik.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2qlV-0006Qc-10 39fcbe8751f375485b9e1c2927169b54
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review:  http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120229210756.GC3575@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12650
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>
Resent-Message-Id: <E1S2qlj-0000WI-1N@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 21:09:03 +0000

Hi Adrien,

On Thu, Mar 01, 2012 at 09:25:25AM +1300, Adrien de Croy wrote:
(...)
> The problem with making SSL/TLS optional is that currently that's the 
> mechanism used to negotiate use of SPDY in the first place.  Without 
> that, you'd need to tell the client (e.g..in the hyperlink URIs) what 
> protocol to use / is in use at that site, which would mean hyperlinks 
> wouldn't be http://www.example.com any more, but something else like 
> spdy://www.example.com.

Using the Upgrade mechanism would solve this issue. It will also
make Roy feel happy to have insisted a lot that after a 101, the
server must send a final response to the request. what I mean is
that a client should simply send the first request in HTTP/1.1
with an Upgrade header for HTTP/2.0. If the server ignores Upgrade
and only replies in 1.1 the server is not 2.0 compliant. If the
server responds with 101 Switching Protocol with Upgrade: 2.0
then the protocol switches to 2.0 and the server responds in 2.0
language. From this point, everything is 2.0 between both sides.

And using Upgrade really offers a very smooth transition path
between 1.1 and 2.0.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 13:52:01 2012
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 8C03A21E8035 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 13:52:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.241
X-Spam-Level: 
X-Spam-Status: No, score=-10.241 tagged_above=-999 required=5 tests=[AWL=0.058, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 fgKE0pT9TD0I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 13:52:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EDC2E21E8026 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 13:52:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2rPy-0006HN-3k for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 21:50:38 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2rPm-0006GC-56 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 21:50:26 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2rPj-0002sj-CZ for ietf-http-wg@w3.org; Wed, 29 Feb 2012 21:50:25 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TLkOkq009527; Wed, 29 Feb 2012 21:46:27 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TLkM3g006423; Wed, 29 Feb 2012 22:46:22 +0100
Message-ID: <1330551982.24673.57.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mike Kelly <mikekelly321@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Wed, 29 Feb 2012 22:46:22 +0100
In-Reply-To: <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com>
References:  <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de> <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 21:46:27 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2rPj-0002sj-CZ 05def9eebc76e9e407be67d4fbfbbcac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1330551982.24673.57.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12651
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>
Resent-Message-Id: <E1S2rPy-0006HN-3k@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 21:50:38 +0000

ons 2012-02-29 klockan 19:59 +0000 skrev Mike Kelly:

> Right, it is closely coupled - as is any other interaction driven by
> shared understanding between the client and the server. Not everything
> needs, or can be, visible on the network and is better off dealt with
> via shared understanding between client and server. What is it about
> the non-partial'ness of PUT that requires it to be made visible by
> HTTP across the web as a whole?

Simply the fact that HTTP/1.x do not allow upgrades of defined methods
in this manner.

If this "partial PUT" is sent to a server that do not understand it
would result in breakage, therefore it can not be accepted as an
extension of the existing PUT method. Instead it needs to use a new
method, making sure that breakage do not occur if the request is
attepmted somewhere where it's not supported.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:19:54 2012
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 704A821E8026 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:19:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.244
X-Spam-Level: 
X-Spam-Status: No, score=-10.244 tagged_above=-999 required=5 tests=[AWL=0.055, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 Drsp9QNWBMeM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:19:53 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D49821F85DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:19:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2rrm-0007qc-Pt for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:19:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2rra-0007nS-K3 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:19:10 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2rrY-00008n-8R for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:19:09 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TMIi1x032451; Wed, 29 Feb 2012 22:18:45 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TMIg8w009014; Wed, 29 Feb 2012 23:18:42 +0100
Message-ID: <1330553922.24673.85.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mike Kelly <mikekelly321@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Wed, 29 Feb 2012 23:18:42 +0100
In-Reply-To: <CABkgnnVeZ2j48ZKOTifJnQsBHcw6U4xw0-Q9AU+5cxiifSKaOg@mail.gmail.com>
References:  <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <CABkgnnVeZ2j48ZKOTifJnQsBHcw6U4xw0-Q9AU+5cxiifSKaOg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 22:18:46 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2rrY-00008n-8R d6457a0b54c345b2102fe38e2d68a161
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1330553922.24673.85.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12652
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>
Resent-Message-Id: <E1S2rrm-0007qc-Pt@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:19:22 +0000

tis 2012-02-28 klockan 10:23 -0800 skrev Martin Thomson:

> Is it always true that a PATCH request with an If-Match header
> containing a strong ETag is idempotent?

Per the definition of strong etag and If-Match it's safe but not really
idempotent in the view of the client (response differs), but server
state is idempotent. Except that it's not spelled out anywhere that I
know of.

This under the condition that the server do implement If-Match. But
given that it's an MUST condition it's quite reasonable to expect
If-Match to be implemented in the cases of partial updates and similar
if ETag is.

> I don't think that any of the other conditional headers can be used to
> make a statement of the same certitude.

If-Unmodified-Since can also be considered a strong enough condition
under certain conditions, but it's hard for an intermediary or server to
verify that these conditions are fulfilled as it's dependent on the Date
of the earlier response in relation to it's Last-Modified. But it's
accepted as a safe tradeoff to simply trust that the client only uses
If-Unmodified-Since in situations requiring a strong validator under
such conditions that the carried Last-Modified value is considered
strong.

>  Of course, there are plenty
> of requests that could be non-idempotent, but - if you understand the
> context - are actually idempotent.  That's the point of contention: is
> it desirable that this property be observable (thanks Carsten)?

It's very desirable that it's well known when idempotence can be
unconditionally assumed based on the request alone, as it relates to
when requests can safely be retried at the transport layer in response
to transport failures/events, and also have direct impact on safe use of
transport features such as connection keep-alive and pipelining.

>From this follows that it's important that requests defined as
idempotent is not implemented in an non-idempotent manner as it could
easily result in hard to diagnose timing dependent breakage and
corrupted data.

It also desirable that idempotent methods are used for idempotent
actions, but using requests defined as non-idempotent for idempotent
actions do not cause any breakage, only slight loss of efficiency.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:31:52 2012
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 4BA1321F86B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:31:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.247
X-Spam-Level: 
X-Spam-Status: No, score=-10.247 tagged_above=-999 required=5 tests=[AWL=0.052, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 VLLAO7KjjPzV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:31:51 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BACFC21F86A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:31:51 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2s2e-00030o-Ti for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:30:36 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2s2Y-0002jm-LE for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:30:30 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2s2W-0004S8-G8 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:30:29 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TMU4Yh025755; Wed, 29 Feb 2012 22:30:05 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TMU37B009775; Wed, 29 Feb 2012 23:30:03 +0100
Message-ID: <1330554603.24673.92.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 29 Feb 2012 23:30:03 +0100
In-Reply-To: <90A2BD83-D5C6-431F-A044-F48572B63605@gbiv.com>
References: <CB6A507F.13D92%ietfdbh@comcast.net> <DDD5CAD5-AB39-4DEE-BD4B-46AB4138AF05@vpnc.org> <4F452842.3050905@stpeter.im> <F4187EC0-40EA-4DAA-B232-D28C7A43288B@gbiv.com> <CAHBU6ivfNaAXsh-x5kqzUnzRfoPpr00COHz3oi2tWRcxgPZfxQ@mail.gmail.com> <C761AFCD-BCD7-45EE-9D89-FB568ABEE53A@gbiv.com> <4F478872.8020103@cs.tcd.ie> <8B377788-1995-4F38-88A8-E33C2FBFD2E5@mnot.net> <4F48E62C.5020902@cs.tcd.ie> <4F48EA4B.6050500@gmx.de> <4F48EC87.4040302@cs.tcd.ie> <F3264756-52C3-4ABD-BF37-9500582F987F@mnot.net> <4F497F6D.8050503@cs.tcd.ie> <A07BCB40-13BA-47D2-AED5-D33D5A564724@mnot.net> <3B23D486-B6B0-4BF4-8B23-9CC2BB911DD6@checkpoint.com> <1330546826.24673.41.camel@home.hno.se> <90A2BD83-D5C6-431F-A044-F48572B63605@gbiv.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 22:30:05 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2s2W-0004S8-G8 2ef19ef7391e7786fb43c86c932e9039
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis    (httpbis)
Archived-At: <http://www.w3.org/mid/1330554603.24673.92.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12653
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>
Resent-Message-Id: <E1S2s2e-00030o-Ti@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:30:36 +0000

ons 2012-02-29 klockan 12:39 -0800 skrev Roy T. Fielding:

> It doesn't work well if your goal is to never send passwords in the clear
> and never share the true password (before being hashed) with each server,
> but that's because of the lack of new auth schemes.  Hence, it isn't
> actually useful for the introduction of new schemes that are intended
> to solve those very problems.

I disagree. It allows for a clean transition. Yes, the goal is not
reached until you can disable basic auth, but this does not mean it's
not useful. It's not realistic to have a model of protocol evolution
without transition period.

There may be framework things to improve in that area making sure that
user-agents are not easily fooled into downgrading to a less secure auth
scheme than needed, but not sure it can be realistically done within
HTTP/1.1.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:37:06 2012
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 14DA421E8035 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:37:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.725
X-Spam-Level: 
X-Spam-Status: No, score=-7.725 tagged_above=-999 required=5 tests=[AWL=2.874, 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 PNDzGN1d7h1S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:37:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3D1FC21E800E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:37:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2s7V-0004Wn-Fa for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:35:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2s7I-0004V1-7y for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:35:24 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2s7F-0000Wg-6I for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:35:23 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892050@smtp.qbik.com>; Thu, 01 Mar 2012 11:34:58 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067395@sago.qbik.com>; Thu, 01 Mar 2012 11:34:56 +1300
Message-ID: <4F4EA810.6040500@qbik.com>
Date: Thu, 01 Mar 2012 11:34:56 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com> <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz>
In-Reply-To: <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2s7F-0000Wg-6I 3fd3450a32506c829cf5eca96abff41c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4EA810.6040500@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12654
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>
Resent-Message-Id: <E1S2s7V-0004Wn-Fa@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:35:37 +0000

On 28/02/2012 2:56 p.m., Amos Jeffries wrote:
> On 28.02.2012 13:54, Adrien de Croy wrote:
>> I wasn't talking so much about partial updates using PUT, but the
>> general reliance on the concept of idempotence at all.
>>
>> Various features in HTTP, such as pipelining, recovering from closes
>> etc rely on certain methods being idempotent.  I would propose one can
>> never assume any method is idempotent, since that is up to server-side
>> implementation.
>
> It is required for cacheability assumptions on the response in absence 
> of explicit "Cache-Control: public". Since almost no sites explicitly 
> send "public" we can't exactly erase that property without causing a 
> whole lot of pain to a lot of network administrators.
>
> An HTTP bandwidth increase of between 20% and 50% on certain Tier-1 
> network pipes is at stake and not something to play around with.
>
> Intermediary admin already have to violate the specs to a certain 
> degree, ignoring no-cache to reduce bandwidth costs wrongly imposed by 
> broken server libraries which insist on sending no-cache and no-store 
> on static content.

Last time I sampled Cache-control response headers (over couple million 
hits crawling sites), I found a large majority use it to prevent 
caching.  Very few to enable it.  It's a shame.

so moving from a naive HTTP/1.0 style cache to a compliant HTTP/1.1 
style cache actually resulted in a huge reduction in cache utility.  
Without ignoring cache-control directives as you say, it's hard to get 
more than a 10% effective bandwidth benefit from caching, which frankly 
is not worth the pain.

But at least Cache-control as you say is explicit, and doesn't rely on 
any assumptions based purely on the method about whether it is indeed 
safe or not to retry.

So I guess non-compliant websites end up seeing the effect of this when 
clients assuming idempotence of a method cause unwanted side-effects in 
the site, and that's the only real incentive the web developers have to 
fix the non-idempotence.

I wonder whether this could be better explained to web devs.  I can just 
imagine the blank looks "idem-what?".  Or indeed if it's really only a 
problem of my imagining :)

>
>>
>> Whether in practise PUT is usually actually idempotent or not I don't
>> have any information.
>>
>> But my feeling is there is a disconnect between HTTP and those making
>> websites in this regard.
>>
>
> IME the disconnect is happening around about the library/framework/SDK 
> layer. 

yeah I agree.  Like CMS packages that take the easiest route to dealing 
with potential caching issues instead of using good design.  Even 
revalidation is preferable to regeneration and retransmission.

Regards

Adrien

> The documentation for those is spares on HTTP details, and some of 
> their defaults are actually causing violations of the HTTP specs. This 
> thread on PUT with partials being a case in point. PHP insistence on 
> sending prohibitive cache-controls by default has also led to many 
> broken web apps. ASP has similar problems. the litany of 
> implementation compliance bugs and side effects is _long_.
>
> AYJ
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:45:32 2012
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 682FF21F853E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:45:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.412
X-Spam-Level: 
X-Spam-Status: No, score=-9.412 tagged_above=-999 required=5 tests=[AWL=0.887, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 0SiCdP4zcR2p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:45:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ABF2A21F84F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:45:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sGh-0006E3-Nq for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:45:07 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2sGb-0005Tc-Ke for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:45:01 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2sGZ-0004v4-Og for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:45:00 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TMiVBU021759; Wed, 29 Feb 2012 22:44:32 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TMiUfc010920; Wed, 29 Feb 2012 23:44:30 +0100
Message-ID: <1330555470.24673.106.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: ietf-http-wg@w3.org
Date: Wed, 29 Feb 2012 23:44:30 +0100
In-Reply-To: <4F4E8614.90901@qbik.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 22:44:35 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2sGZ-0004v4-Og edc99a4362882f708433865db96da3c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis   (httpbis)
Archived-At: <http://www.w3.org/mid/1330555470.24673.106.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12655
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>
Resent-Message-Id: <E1S2sGh-0006E3-Nq@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:45:07 +0000

tor 2012-03-01 klockan 09:09 +1300 skrev Adrien de Croy:
> There is one other thing I would add to auth:
> 
> Ability for a challenger to identify itself, and for a response to 
> target a challenger.

proxy-auth is currently defined hop-by-hop avoiding this mess. But
unfortunately real-life networks is not always that simple.

but security implications of multi-level proxy challenges is tricky to
say the least. There is no guarantee the next request travels the same
path. I would not dare to venture into specifying what such muti-level
challenge/response process with varying path would look like or work or
the security aspects of any such design.

> Adding a parameter to the challenge and response which identifies the 
> challenger would allow for this.

Yes, but opens up a big can of worms as expressed above.

> In fact it would then allow proxy and server auth to use the same 
> mechanism and headers.

Which is one very visible aspect of that big can of worms. You need a
damn good framework defining what may be sent where, and the
possibilities of both security leakage and breakage explodes.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:52:47 2012
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 CE43B21F86DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:52:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.193
X-Spam-Level: 
X-Spam-Status: No, score=-8.193 tagged_above=-999 required=5 tests=[AWL=2.406, 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 YXrTuxLMZDzT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:52:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5175B21F86D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:52:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sNw-00029p-Cg for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:52:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1S2sNk-000246-NC for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:52:24 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1S2sNh-0000xG-Q0 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:52:23 +0000
Received: (qmail invoked by alias); 29 Feb 2012 22:51:55 -0000
Received: from p3EE26EBB.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.110.187] by mail.gmx.net (mp027) with SMTP; 29 Feb 2012 23:51:55 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19aVc4Gpt9aAT/hzbjmjecan9oMJYgGccEQgtlM+m WyZdZTRA1Yx+vb
Message-ID: <4F4EAC07.4030103@gmx.de>
Date: Wed, 29 Feb 2012 23:51:51 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2sNh-0000xG-Q0 7c8d9fd30b701d3577b0e489e21ee1dc
X-Original-To: ietf-http-wg@w3.org
Subject: #334: recipient behavior for new auth parameters
Archived-At: <http://www.w3.org/mid/4F4EAC07.4030103@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12657
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>
Resent-Message-Id: <E1S2sNw-00029p-Cg@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:52:36 +0000

Hi there.

I recently opened (based on oauth-bearer discussions) the following ticket:

"Should we state the default behavior for extension auth-params? Is it 
"must-ignore"?

Should we recommend that new schemes establish procedures for defining 
new parameters?"

The proposed change is not to define a global default (although it would 
be nice if we could), but to remind people how define new schemes to 
think about this and to document it.

Like that:

   Definitions of new schemes ought to define the treatment of unknown
   extension parameters. In general, a "must-ignore" rule is preferable
   over "must-understand", because otherwise it will be hard to introduce
   new parameters in the presence of legacy recipients.

(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/334/334.diff>)

Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:52:48 2012
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 86BE121F86DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:52:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.34
X-Spam-Level: 
X-Spam-Status: No, score=-10.34 tagged_above=-999 required=5 tests=[AWL=0.259, 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 ILkZYkTr3MRA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:52:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F270921F86D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:52:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sNm-00025O-BR for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:52:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2sNW-00020v-59 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:52:10 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2sNT-0000x3-CT for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:52:08 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 67B56E6ED7; Thu,  1 Mar 2012 11:51:43 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Thu, 01 Mar 2012 11:51:43 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4F4E870E.4060703@qbik.com>
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de> <20120222140249.GB24811@1wt.eu> <1330543970.24673.15.camel@home.hno.se> <4F4E870E.4060703@qbik.com>
Message-ID: <cac12bf7e2952ffabe5e320c71eb7dc0@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2sNT-0000x3-CT 50f56ecae58775b91d82b94580f652df
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis   (httpbis)
Archived-At: <http://www.w3.org/mid/cac12bf7e2952ffabe5e320c71eb7dc0@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12656
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>
Resent-Message-Id: <E1S2sNm-00025O-BR@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:52:26 +0000

On 01.03.2012 09:14, Adrien de Croy wrote:
> On 1/03/2012 8:32 a.m., Henrik NordstrÃ¶m wrote:
>> ons 2012-02-22 klockan 15:02 +0100 skrev Willy Tarreau:
>> logoff is mostly in the realm of human interaction, so javascript 
>> could
>> do it nicely imho. Document.logoff() or similar.
>>
>> Not sure there even is a demand for protocol level indicated logoff
>> where the server at HTTP level tell the client to invalidate the 
>> cached
>> credentials.
>
> Actually I would like to see this.
>
> For example product admin back-ends which use http auth. We'd like to
> be able to time out a user so someone else coming along (if the first
> user didn't close the browser) doesn't gain access to things they
> shouldn't.

Timeout is only needed in the protocol if the server and client are not 
timing out credentials. bringing up the question of why do the client 
and server not implement a timeout already? it is point-blank more 
secure.

You place a caveat on having not closed the browser. For good reason. 
The protocol mandating that the client close the browser is useless. Yet 
a protocol timeout would be a mandated equivalent of closing the 
browser. TCP has this same problem and added TIME_WAIT to resolve it. We 
are today faced with many complex features of HTTP/1.1 being designed 
explicitly to avoid the problems it creates (pipelines, keep-alive, 
chunking, tunnels). Lets not inflict mandatory authentication TIME_WAITs 
on users when a server makes a mistake and terminates early.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:58:17 2012
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 1FA6F21F879E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:58:17 -0800 (PST)
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=[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 uhA2ZlIu48OH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:58:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 673A921F879A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:58:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sSO-0003H6-Ih for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:57:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S2sSB-00034Z-NI for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:56:59 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S2sS9-0005KL-IM for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:56:58 +0000
Received: from [192.168.0.100] (unknown [58.171.140.44]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 812BA50A64; Wed, 29 Feb 2012 17:56:33 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F4EA810.6040500@qbik.com>
Date: Thu, 1 Mar 2012 09:56:16 +1100
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <67D06259-02BB-443B-88E0-E4E3C350DE46@mnot.net>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com> <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz> <4F4EA810.6040500@qbik.com>
To: Adrien de Croy <adrien@qbik.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2sS9-0005KL-IM eb9febce3a9d37a45b27fb51ad814cd5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/67D06259-02BB-443B-88E0-E4E3C350DE46@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12658
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>
Resent-Message-Id: <E1S2sSO-0003H6-Ih@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:57:12 +0000

On 01/03/2012, at 9:34 AM, Adrien de Croy wrote:

> Last time I sampled Cache-control response headers (over couple =
million hits crawling sites), I found a large majority use it to prevent =
caching.  Very few to enable it.  It's a shame.
>=20
> so moving from a naive HTTP/1.0 style cache to a compliant HTTP/1.1 =
style cache actually resulted in a huge reduction in cache utility.  =
Without ignoring cache-control directives as you say, it's hard to get =
more than a 10% effective bandwidth benefit from caching, which frankly =
is not worth the pain.

Not sure what you're crawling, but my experience is that effective =
bandwidth savings is MUCH higher, even on a conservatively configured =
cache.

And anecdotal evidence suggests it's getting better; see:

http://httparchive.org/trends.php (~45% of responses have caching =
headers)
http://httparchive.org/interesting.php  (~40% of responses with CC have =
a max-age > 0)

=85 and if you restrict to the top 1000 sites, both numbers are higher, =
about 60% each. Combined with heuristic freshness, what's the problem?

Cheers,

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






From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 14:58:17 2012
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 C804721F879A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:58:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.611
X-Spam-Level: 
X-Spam-Status: No, score=-7.611 tagged_above=-999 required=5 tests=[AWL=2.688, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 4l2yqj6bsOsB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 14:58:17 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0018D21F879C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 14:58:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sT0-0003UQ-36 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 22:57:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2sSo-0003Rd-K0 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 22:57:38 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2sSm-00013i-2M for ietf-http-wg@w3.org; Wed, 29 Feb 2012 22:57:37 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892085@smtp.qbik.com>; Thu, 01 Mar 2012 11:57:13 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067414@sago.qbik.com>; Thu, 01 Mar 2012 11:57:00 +1300
Message-ID: <4F4EAD3C.9050306@qbik.com>
Date: Thu, 01 Mar 2012 11:57:00 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com>   <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de>   <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>  <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se>
In-Reply-To: <1330555470.24673.106.camel@home.hno.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2sSm-00013i-2M 670319d6a13d9ea90012bfe767079000
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4EAD3C.9050306@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12659
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>
Resent-Message-Id: <E1S2sT0-0003UQ-36@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 22:57:50 +0000

On 1/03/2012 11:44 a.m., Henrik NordstrÃ¶m wrote:
> tor 2012-03-01 klockan 09:09 +1300 skrev Adrien de Croy:
>> There is one other thing I would add to auth:
>>
>> Ability for a challenger to identify itself, and for a response to
>> target a challenger.
> proxy-auth is currently defined hop-by-hop avoiding this mess. But
> unfortunately real-life networks is not always that simple.
>
> but security implications of multi-level proxy challenges is tricky to
> say the least. There is no guarantee the next request travels the same
> path.

that depends on proxy design.  If the challenges and responses are going 
over the same TCP connection it's pretty simple.

e.g. NTLM...  sorry, had to say it :)

the main area we see the problem is actually not in proxy auth, but when 
a proxy intercepts the connection, requires auth and then the website 
requires auth as well.

It's hard for the proxy to know whether an auth response should be 
processed by itself, or upstream.

> I would not dare to venture into specifying what such muti-level
> challenge/response process with varying path would look like or work or
> the security aspects of any such design.
>
>> Adding a parameter to the challenge and response which identifies the
>> challenger would allow for this.
> Yes, but opens up a big can of worms as expressed above.

I guess a proxy could keep a map of seen auth identifier tokens and 
re-use the same path back again (if possible).

But ok, see your point.

In most cases though where this happens, wouldn't the upstream proxies 
be within the same administrative domain?  e.g. so creds should work, 
and leakage shouldn't be a problem.

Adrien

>
>> In fact it would then allow proxy and server auth to use the same
>> mechanism and headers.
> Which is one very visible aspect of that big can of worms. You need a
> damn good framework defining what may be sent where, and the
> possibilities of both security leakage and breakage explodes.
>
> Regards
> Henrik
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:02:07 2012
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 33A5E21F8655 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:02:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.795
X-Spam-Level: 
X-Spam-Status: No, score=-7.795 tagged_above=-999 required=5 tests=[AWL=2.804, 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 aInPAxFmCoOG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:02:06 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D104321F8630 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:02:05 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sWd-00068I-Fp for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:01:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2sWQ-00064V-DQ for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:01:22 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2sWN-00018K-Lv for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:01:21 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892089@smtp.qbik.com>; Thu, 01 Mar 2012 12:00:58 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067420@sago.qbik.com>; Thu, 01 Mar 2012 12:00:45 +1300
Message-ID: <4F4EAE1D.20409@qbik.com>
Date: Thu, 01 Mar 2012 12:00:45 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com> <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz> <4F4EA810.6040500@qbik.com> <67D06259-02BB-443B-88E0-E4E3C350DE46@mnot.net>
In-Reply-To: <67D06259-02BB-443B-88E0-E4E3C350DE46@mnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2sWN-00018K-Lv 22d4f777df1fb4deead248f1a6f57e5a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4F4EAE1D.20409@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12660
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>
Resent-Message-Id: <E1S2sWd-00068I-Fp@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:01:35 +0000

On 1/03/2012 11:56 a.m., Mark Nottingham wrote:
> On 01/03/2012, at 9:34 AM, Adrien de Croy wrote:
>
>> Last time I sampled Cache-control response headers (over couple million hits crawling sites), I found a large majority use it to prevent caching.  Very few to enable it.  It's a shame.
>>
>> so moving from a naive HTTP/1.0 style cache to a compliant HTTP/1.1 style cache actually resulted in a huge reduction in cache utility.  Without ignoring cache-control directives as you say, it's hard to get more than a 10% effective bandwidth benefit from caching, which frankly is not worth the pain.
> Not sure what you're crawling, but my experience is that effective bandwidth savings is MUCH higher, even on a conservatively configured cache.

it was a couple years ago now.


>
> And anecdotal evidence suggests it's getting better; see:
>
> http://httparchive.org/trends.php (~45% of responses have caching headers)
> http://httparchive.org/interesting.php  (~40% of responses with CC have a max-age>  0)

ok, that 40% of 45% = 18% overall.

>
> … and if you restrict to the top 1000 sites, both numbers are higher, about 60% each. Combined with heuristic freshness, what's the problem?

did you do any tests without heuristic freshness?  That's the area where 
in the past we've had the most problems.

Cheers

Adrien

>
> Cheers,
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:02:08 2012
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 2588921F8630 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:02:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level: 
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 tHkRKLd68QY1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:02:07 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8451721F8631 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:02:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sWn-00068n-VP for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:01:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1S2sWU-00065r-MH for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:01:26 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1S2sWR-0005SP-S5 for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:01:25 +0000
Received: by lagr15 with SMTP id r15so8269067lag.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 15:00:58 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@belshe.com designates 10.152.145.135 as permitted sender) client-ip=10.152.145.135;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@belshe.com designates 10.152.145.135 as permitted sender) smtp.mail=mike@belshe.com
Received: from mr.google.com ([10.152.145.135]) by 10.152.145.135 with SMTP id su7mr2282087lab.5.1330556458208 (num_hops = 1); Wed, 29 Feb 2012 15:00:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.145.135 with SMTP id su7mr1881450lab.5.1330556458106; Wed, 29 Feb 2012 15:00:58 -0800 (PST)
Received: by 10.112.24.167 with HTTP; Wed, 29 Feb 2012 15:00:58 -0800 (PST)
In-Reply-To: <20120229064929.GB32187@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <20120229064929.GB32187@1wt.eu>
Date: Wed, 29 Feb 2012 15:00:58 -0800
Message-ID: <CABaLYCvkg-J5G=0y13gkMxGtoxYuHVpuD83=6x9hHvXfE-_mMA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f2348a709fe8704ba22517d
X-Gm-Message-State: ALoCoQnAvP635ZlqAXtC9jMYB8dmorSXZGHYWX3SIacf895bumoXH0pkn/HBOEVAcrYhaVPLBq04
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2sWR-0005SP-S5 d8d0fb918139063aecf836490af39366
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABaLYCvkg-J5G=0y13gkMxGtoxYuHVpuD83=6x9hHvXfE-_mMA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12661
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>
Resent-Message-Id: <E1S2sWn-00068n-VP@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:01:45 +0000

--e89a8f2348a709fe8704ba22517d
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Feb 28, 2012 at 10:49 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Amos,
>
> On Wed, Feb 29, 2012 at 07:18:54PM +1300, Amos Jeffries wrote:
> (...)
> >  And I am not considering the RAM DoS issues Willy brought up.
>
> Please note that I was not talking about a RAM DoS but a CPU DoS, since
> by sending just a few bytes you can force the other end to process many
> more bytes. Even if you decide that you refuse to decompress past 8 kB
> of headers, you still have to decompress them to discover that it too
> large. Also nothing prevents the attacker from sending extremely large
> valid requests in just a few bytes which you have to decompress and parse
> before deciding that you finally don't want to process them, or worse,
> recompress then forward.
>
> This is my real concern. I'm regularly helping people to deal with DDoSes
> and I can assure you that the first thing you try to do is spot a header
> value which helps discriminate between real and undesired traffic then
> start to act on this. It is worth noting that not all of the DDoS traffic
> is easily identified at the boundary since many requests are totally valid
> and must be forwarded to the origin servers. When you receive something
> like 200000 requests per second, it's not uncommon to have to forward
> about 20000 per second to the server after filtering 90%. Right now with
> HTTP/1.1, a properly tuned $1000 PC is totally capable of this. With
> compression, I already can't even imagine compressing 20000 requests per
> second, let alone decompress and parse 200000. In fact it would even be
> much more than 200000 since the bandwidth would allow something like 2
> million thanks to the higher compression ratio. But these 2 millions
> would have to be totally decompressed before being parsed then dropped.
> For instance, something I've been facing several times is dropping a
> few repetitive URIs. Bots requests non-existing objects at a very high
> rate. You have little processing to perform, just match the URI and drop
> the connection. That's quite cheap, just as it is to drop an HTTP/1.1
> requests without a Host header.
>
> (...)
> > Lets have the bandwidth savings cake, but lets not sour it by adding
> > time and power costs.
>
> That's exactly my point too. And again, I'm not contesting the huge
> savings that Patrick and Mike report, I'm even impressed.
>



Hey Willy -

Overall, I'm not sure how much to worry about DoS.  In the end, I think its
something you figure out how to mitigate in implementations - just like
we've done it before at every level from DNS to TCP to SSL to HTTP.

I don't think its as dire as you've made it out to be.  It's not like this
amplification attack is difficult to mitigate.  A server wanting to limit
it, would probably do the following:

   a) First off, because SPDY tries to limit connections to one-per-domain,
there is a new element of information at the transport layer which can be
used for DoS countermeasures.  This needs some experimentation, and I bet
it will be useful.

   b) Also note that for SPDY over SSL, you've got DoS countermeasures from
the SSL layer at your disposal.  These are certainly going to slow down
many attackers.  (It will also make some sites nervous - especially those
that haven't hardened port 443 yet!)

   c) If they get through both of those layers, the amplification attack is
easy to detect, and not a consumption of massive memory, bandwidth, or CPU
on the server; an implementation looking to conservatively block DoS could
check for expansions of 2-4KB and probably thwart most everything right
there.  Cheap.

Overall, I just don't see how DoS is a silver-bullet against the zlib
compressor.  Almost any new feature has DoS potential (e.g. we haven't even
talked about frame flooding or syn_streams yet :-)

If the bar for acceptance is "no new DoS potential", then I'm not sure
there is room to change very much in HTTP/2.0 ever.

Mike






>
> Thanks,
> Willy
>
>
>

--e89a8f2348a709fe8704ba22517d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Feb 28, 2012 at 10:49 PM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Amos,<br>
<br>
On Wed, Feb 29, 2012 at 07:18:54PM +1300, Amos Jeffries wrote:<br>
(...)<br>
<div class=3D"im">&gt; =A0And I am not considering the RAM DoS issues Willy=
 brought up.<br>
<br>
</div>Please note that I was not talking about a RAM DoS but a CPU DoS, sin=
ce<br>
by sending just a few bytes you can force the other end to process many<br>
more bytes. Even if you decide that you refuse to decompress past 8 kB<br>
of headers, you still have to decompress them to discover that it too<br>
large. Also nothing prevents the attacker from sending extremely large<br>
valid requests in just a few bytes which you have to decompress and parse<b=
r>
before deciding that you finally don&#39;t want to process them, or worse,<=
br>
recompress then forward.<br>
<br>
This is my real concern. I&#39;m regularly helping people to deal with DDoS=
es<br>
and I can assure you that the first thing you try to do is spot a header<br=
>
value which helps discriminate between real and undesired traffic then<br>
start to act on this. It is worth noting that not all of the DDoS traffic<b=
r>
is easily identified at the boundary since many requests are totally valid<=
br>
and must be forwarded to the origin servers. When you receive something<br>
like 200000 requests per second, it&#39;s not uncommon to have to forward<b=
r>
about 20000 per second to the server after filtering 90%. Right now with<br=
>
HTTP/1.1, a properly tuned $1000 PC is totally capable of this. With<br>
compression, I already can&#39;t even imagine compressing 20000 requests pe=
r<br>
second, let alone decompress and parse 200000. In fact it would even be<br>
much more than 200000 since the bandwidth would allow something like 2<br>
million thanks to the higher compression ratio. But these 2 millions<br>
would have to be totally decompressed before being parsed then dropped.<br>
For instance, something I&#39;ve been facing several times is dropping a<br=
>
few repetitive URIs. Bots requests non-existing objects at a very high<br>
rate. You have little processing to perform, just match the URI and drop<br=
>
the connection. That&#39;s quite cheap, just as it is to drop an HTTP/1.1<b=
r>
requests without a Host header.<br>
<br>
(...)<br>
<div class=3D"im">&gt; Lets have the bandwidth savings cake, but lets not s=
our it by adding<br>
&gt; time and power costs.<br>
<br>
</div>That&#39;s exactly my point too. And again, I&#39;m not contesting th=
e huge<br>
savings that Patrick and Mike report, I&#39;m even impressed.<br></blockquo=
te><div><br></div><div><br></div><div><br></div><div>Hey Willy -=A0</div><d=
iv><br></div><div>Overall, I&#39;m not sure how much to worry about DoS. =
=A0In the end, I think its something you figure out how to mitigate in impl=
ementations - just like we&#39;ve done it before at every level from DNS to=
 TCP to SSL to HTTP.</div>
<div><br></div><div>I don&#39;t think its as dire as you&#39;ve made it out=
 to be. =A0It&#39;s not like this amplification attack is difficult to miti=
gate. =A0A server wanting to limit it, would probably do the following:</di=
v>
<div><br></div><div>=A0 =A0a) First off, because SPDY tries to limit connec=
tions to one-per-domain, there is a new element of information at the trans=
port layer which can be used for DoS countermeasures. =A0This needs some ex=
perimentation, and I bet it will be useful.</div>
<div><br></div><div>=A0 =A0b) Also note that for SPDY over SSL, you&#39;ve =
got DoS countermeasures from the SSL layer at your disposal. =A0These are c=
ertainly going to slow down many attackers. =A0(It will also make some site=
s nervous - especially those that haven&#39;t hardened port 443 yet!)</div>
<div><br></div><div>=A0 =A0c) If they get through both of those layers, the=
 amplification attack is easy to detect, and not a consumption of massive m=
emory, bandwidth, or CPU on the server; an implementation looking to conser=
vatively block DoS could check for expansions of 2-4KB and probably thwart =
most everything right there. =A0Cheap.</div>
<div><br></div><div>Overall, I just don&#39;t see how DoS is a silver-bulle=
t against the zlib compressor. =A0Almost any new feature has DoS potential =
(e.g. we haven&#39;t even talked about frame flooding or syn_streams yet :-=
) =A0</div>
<div><br></div><div>If the bar for acceptance is &quot;no new DoS potential=
&quot;, then I&#39;m not sure there is room to change very much in HTTP/2.0=
 ever. =A0</div><div><br></div><div>Mike</div><div><br></div><div><br></div=
>
<div><br></div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>

--e89a8f2348a709fe8704ba22517d--


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:03:17 2012
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 F3F3321F8631 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:03:16 -0800 (PST)
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=[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 QjCGe6CoDAXD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:03:16 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3EC8221F8630 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:03:16 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sXq-0006ML-Rq for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:02:50 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S2sXf-0006JJ-2h for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:02:39 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S2sXc-0005Tt-ON for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:02:37 +0000
Received: from [192.168.0.100] (unknown [58.171.140.44]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8A5C050A5D; Wed, 29 Feb 2012 18:02:13 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F4EAE1D.20409@qbik.com>
Date: Thu, 1 Mar 2012 10:02:09 +1100
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <4FD6F29B-8B30-4CD7-B56F-6A6C00F849D2@mnot.net>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com> <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz> <4F4EA810.6040500@qbik.com> <67D06259-02BB-443B-88E0-E4E3C350DE46@mnot.net> <4F4EAE1D.20409@qbik.com>
To: Adrien de Croy <adrien@qbik.com>
X-Mailer: Apple Mail (2.1257)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2sXc-0005Tt-ON d67f3db333cf231be47d7d04558c281e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/4FD6F29B-8B30-4CD7-B56F-6A6C00F849D2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12662
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>
Resent-Message-Id: <E1S2sXq-0006ML-Rq@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:02:50 +0000

I'm talking to Steve about getting more fine-grained caching stats in =
there now=85

On 01/03/2012, at 10:00 AM, Adrien de Croy wrote:

>=20
>=20
> On 1/03/2012 11:56 a.m., Mark Nottingham wrote:
>> On 01/03/2012, at 9:34 AM, Adrien de Croy wrote:
>>=20
>>> Last time I sampled Cache-control response headers (over couple =
million hits crawling sites), I found a large majority use it to prevent =
caching.  Very few to enable it.  It's a shame.
>>>=20
>>> so moving from a naive HTTP/1.0 style cache to a compliant HTTP/1.1 =
style cache actually resulted in a huge reduction in cache utility.  =
Without ignoring cache-control directives as you say, it's hard to get =
more than a 10% effective bandwidth benefit from caching, which frankly =
is not worth the pain.
>> Not sure what you're crawling, but my experience is that effective =
bandwidth savings is MUCH higher, even on a conservatively configured =
cache.
>=20
> it was a couple years ago now.
>=20
>=20
>>=20
>> And anecdotal evidence suggests it's getting better; see:
>>=20
>> http://httparchive.org/trends.php (~45% of responses have caching =
headers)
>> http://httparchive.org/interesting.php  (~40% of responses with CC =
have a max-age>  0)
>=20
> ok, that 40% of 45% =3D 18% overall.
>=20
>>=20
>> =85 and if you restrict to the top 1000 sites, both numbers are =
higher, about 60% each. Combined with heuristic freshness, what's the =
problem?
>=20
> did you do any tests without heuristic freshness?  That's the area =
where in the past we've had the most problems.
>=20
> Cheers
>=20
> Adrien
>=20
>>=20
>> Cheers,
>>=20
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>=20
> --=20
> Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
> WinGate 7 is released! - http://www.wingate.com/getlatest/
>=20

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






From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:03:59 2012
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 2987121F8631 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:03:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.829
X-Spam-Level: 
X-Spam-Status: No, score=-7.829 tagged_above=-999 required=5 tests=[AWL=2.770, 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 wI1WArhhoQS9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:03:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B1C421F8630 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:03:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sYX-0006R3-EX for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:03:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2sYM-0006Q4-ET for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:03:22 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2sYJ-0001BC-Pu for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:03:21 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892095@smtp.qbik.com>; Thu, 01 Mar 2012 12:02:58 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067424@sago.qbik.com>; Thu, 01 Mar 2012 12:02:54 +1300
Message-ID: <4F4EAE9E.8010208@qbik.com>
Date: Thu, 01 Mar 2012 12:02:54 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de> <20120222140249.GB24811@1wt.eu> <1330543970.24673.15.camel@home.hno.se> <4F4E870E.4060703@qbik.com> <cac12bf7e2952ffabe5e320c71eb7dc0@treenet.co.nz>
In-Reply-To: <cac12bf7e2952ffabe5e320c71eb7dc0@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2sYJ-0001BC-Pu 5a9ba83fd1f801ba493320cc421673e9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis   (httpbis)
Archived-At: <http://www.w3.org/mid/4F4EAE9E.8010208@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12663
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>
Resent-Message-Id: <E1S2sYX-0006R3-EX@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:03:33 +0000

On 1/03/2012 11:51 a.m., Amos Jeffries wrote:
> On 01.03.2012 09:14, Adrien de Croy wrote:
>> On 1/03/2012 8:32 a.m., Henrik NordstrÃ¶m wrote:
>>> ons 2012-02-22 klockan 15:02 +0100 skrev Willy Tarreau:
>>> logoff is mostly in the realm of human interaction, so javascript could
>>> do it nicely imho. Document.logoff() or similar.
>>>
>>> Not sure there even is a demand for protocol level indicated logoff
>>> where the server at HTTP level tell the client to invalidate the cached
>>> credentials.
>>
>> Actually I would like to see this.
>>
>> For example product admin back-ends which use http auth. We'd like to
>> be able to time out a user so someone else coming along (if the first
>> user didn't close the browser) doesn't gain access to things they
>> shouldn't.
>
> Timeout is only needed in the protocol if the server and client are 
> not timing out credentials. bringing up the question of why do the 
> client and server not implement a timeout already? it is point-blank 
> more secure.

sure, I presume you mean by timeout in the credentials, timeout of some 
token associated with the creds, rather than invalidating the password.

there's no room for this in Basic or NTLM.  Not sure about Digest.  
That's why I proposed Kerberos.

>
> You place a caveat on having not closed the browser. For good reason. 
> The protocol mandating that the client close the browser is useless. 
> Yet a protocol timeout would be a mandated equivalent of closing the 
> browser. TCP has this same problem and added TIME_WAIT to resolve it. 
> We are today faced with many complex features of HTTP/1.1 being 
> designed explicitly to avoid the problems it creates (pipelines, 
> keep-alive, chunking, tunnels). Lets not inflict mandatory 
> authentication TIME_WAITs on users when a server makes a mistake and 
> terminates early.

Don't follow you here.  Server can't rely on client to do anything it's 
told.  It has to manage resources, therefore it has to be allowed to 
timeout connections, auth tokens whatever.

Regards

Adrien

>
> AYJ
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:05:50 2012
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 92D9521E802C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:05:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.148
X-Spam-Level: 
X-Spam-Status: No, score=-9.148 tagged_above=-999 required=5 tests=[AWL=0.551, BAYES_00=-2.599, J_CHICKENPOX_55=0.6, MIME_8BIT_HEADER=0.3, 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 ms+kEhLTt2-H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:05:49 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 394B821E8020 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:05:49 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2saK-0006Z6-C0 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:05:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2saE-0006YI-A0 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:05:18 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2saC-0001Dk-5T for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:05:17 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TN4or1021971; Wed, 29 Feb 2012 23:04:52 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TN4nCD012508; Thu, 1 Mar 2012 00:04:49 +0100
Message-ID: <1330556689.24673.119.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 01 Mar 2012 00:04:49 +0100
In-Reply-To: <4F4E870E.4060703@qbik.com>
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de> <20120222140249.GB24811@1wt.eu> <1330543970.24673.15.camel@home.hno.se> <4F4E870E.4060703@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 23:04:52 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2saC-0001Dk-5T 3bce0e3409a23da27030df2214f2ca34
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis   (httpbis)
Archived-At: <http://www.w3.org/mid/1330556689.24673.119.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12664
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>
Resent-Message-Id: <E1S2saK-0006Z6-C0@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:05:24 +0000

tor 2012-03-01 klockan 09:14 +1300 skrev Adrien de Croy:
> > Not sure there even is a demand for protocol level indicated logoff
> > where the server at HTTP level tell the client to invalidate the cached
> > credentials.
> 
> Actually I would like to see this.
> 
> For example product admin back-ends which use http auth. We'd like to be 
> able to time out a user so someone else coming along (if the first user 
> didn't close the browser) doesn't gain access to things they shouldn't.

Yes. Applications need the ability to time out sessions.

Which begs the question, is that auth framework or scheme?

digest auth can already be used in this manner by tracking server
nonce(s) or opaque, and forcing a 401 stale=false response if the
session have been timed out on the server side.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:09:11 2012
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 56DF921E8057 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:09:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.469
X-Spam-Level: 
X-Spam-Status: No, score=-9.469 tagged_above=-999 required=5 tests=[AWL=0.830, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 j9FFpSEdJERW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:09:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBE3521E8056 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:09:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sdg-0006hq-RN for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:08:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2sda-0006hA-RH for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:08:46 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2sdY-0005eN-PS for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:08:45 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TN7qS7032449; Wed, 29 Feb 2012 23:07:53 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TN7pCx012739; Thu, 1 Mar 2012 00:07:51 +0100
Message-ID: <1330556871.24673.121.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 00:07:51 +0100
In-Reply-To: <4F4EA810.6040500@qbik.com>
References:  <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <4F4C1F9C.6030006@qbik.com> <CABP7RbcPgDfJvzmE=4DVeRhEtMuO-kjwxxDa5ZUBpduViNnq9Q@mail.gmail.com> <4F4C25E1.3040500@qbik.com> <e1a6512ca4d057685fb513a95c69a780@treenet.co.nz> <4F4EA810.6040500@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 23:07:53 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2sdY-0005eN-PS 3fee80d6aadf5b16d084e367474c024b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1330556871.24673.121.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12665
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>
Resent-Message-Id: <E1S2sdg-0006hq-RN@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:08:52 +0000

tor 2012-03-01 klockan 11:34 +1300 skrev Adrien de Croy:

> yeah I agree.  Like CMS packages that take the easiest route to dealing 
> with potential caching issues instead of using good design.  Even 
> revalidation is preferable to regeneration and retransmission.

idempotence is not about caching at all.

it's about safely being able to retry the exact same request when
needed, resulting in the expected outcome.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:12:51 2012
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 1C19121E8046 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:12:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.165
X-Spam-Level: 
X-Spam-Status: No, score=-9.165 tagged_above=-999 required=5 tests=[AWL=1.134, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 GKnn3AOdps-3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:12:50 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8A6DF21E8035 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:12:50 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2shE-0006pF-Ks for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:12:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2sh8-0006oW-MU for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:12:26 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2sh6-0001MZ-AM for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:12:25 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TNC1Wn016092; Wed, 29 Feb 2012 23:12:02 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TNC00R013037; Thu, 1 Mar 2012 00:12:01 +0100
Message-ID: <1330557120.24673.124.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 01 Mar 2012 00:12:00 +0100
In-Reply-To: <4F4EAC07.4030103@gmx.de>
References: <4F4EAC07.4030103@gmx.de>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 23:12:03 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2sh6-0001MZ-AM 9a295ab47db7444829c70f5e37e090b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #334: recipient behavior for new auth parameters
Archived-At: <http://www.w3.org/mid/1330557120.24673.124.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12666
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>
Resent-Message-Id: <E1S2shE-0006pF-Ks@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:12:32 +0000

ons 2012-02-29 klockan 23:51 +0100 skrev Julian Reschke:

> "Should we state the default behavior for extension auth-params? Is it 
> "must-ignore"?

Yes. If not the scheme can not be extended in future while keeping
compatibility with existing clients.

> Should we recommend that new schemes establish procedures for defining 
> new parameters?"

Yes, or alternatively we might want to define a auth-param namespace for
mandatory parameters.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:15:21 2012
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 ED47C21F8627 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:15:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.776
X-Spam-Level: 
X-Spam-Status: No, score=-9.776 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 24Erz9HxfUKC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:15:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4DCA521F8625 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:15:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sjh-00074u-3D for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:15:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1S2sjV-0006x2-77 for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:14:53 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1S2sjS-0005pX-9e for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:14:52 +0000
Received: by lagr15 with SMTP id r15so8281110lag.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 15:14:24 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@belshe.com designates 10.152.145.135 as permitted sender) client-ip=10.152.145.135;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@belshe.com designates 10.152.145.135 as permitted sender) smtp.mail=mike@belshe.com
Received: from mr.google.com ([10.152.145.135]) by 10.152.145.135 with SMTP id su7mr2319280lab.5.1330557264613 (num_hops = 1); Wed, 29 Feb 2012 15:14:24 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.145.135 with SMTP id su7mr1911736lab.5.1330557264506; Wed, 29 Feb 2012 15:14:24 -0800 (PST)
Received: by 10.112.24.167 with HTTP; Wed, 29 Feb 2012 15:14:24 -0800 (PST)
In-Reply-To: <CAPmVQmfu30cK9HEC14uv=H8cHwrRUshuwGxEpEd3YC3PYyBy7w@mail.gmail.com>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <CAPmVQmfu30cK9HEC14uv=H8cHwrRUshuwGxEpEd3YC3PYyBy7w@mail.gmail.com>
Date: Wed, 29 Feb 2012 15:14:24 -0800
Message-ID: <CABaLYCuh7RBDVNC8TK7EjWa+jypG8L7zjF4KWTmO0DzFVz96fg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: saravanakumar Annamalaisami <saravanakumar.a@gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, Patrick McManus <pmcmanus@mozilla.com>, Amos Jeffries <squid3@treenet.co.nz>,  ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f2348a71ab16b04ba228129
X-Gm-Message-State: ALoCoQlqJOBtYdaJGjzOuV6Ei3FPpLOEwzDqf9E8The9fgIesURAvva/4nZapISh4AL31H7gkNW9
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2sjS-0005pX-9e 9e13d647df53f1a0afc3fa43e13dc952
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABaLYCuh7RBDVNC8TK7EjWa+jypG8L7zjF4KWTmO0DzFVz96fg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12667
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>
Resent-Message-Id: <E1S2sjh-00074u-3D@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:15:05 +0000

--e89a8f2348a71ab16b04ba228129
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Feb 29, 2012 at 11:09 AM, saravanakumar Annamalaisami <
saravanakumar.a@gmail.com> wrote:

> Hello Willy,
>
> >>
> Also, adding .35ms per request (and same for the
> response) means that .7 ms of real latency will be added for every proxy
> layer a request has to pass through. IPS, load balancers, caches, proxies
> etc...
> >>
>
> This is a very valid/critical point. It would even get worse,  if any of
> these devices have limited number of threads/core serving the request.  The
> per-header latency added by the 'header compression' would be a big thing
> for a small request/response header cases.
>
> It is not only CPU-intensive, but also requires significant amount of
> memory, if it mandates a 'stateful glib compression'.  This could create
> lots of scalablity issue for the intermediate devices that you have listed
> and also the server.
>
> If we are really looking at reducing the header bytes, it is
> cheaper/scalable if we could address them at the HTTP/application protocol
> level itself than addressing them through 'generic stateful glib
> compression'.
>
> Like for ex., in case of request, referer/user-agent/cookie/accept are few
> of the headers that adds up to most of the bytes.  There could be other
> headers depend on the application.  And, most of the cases, these headers
> does not change during a user session.
>
> We could define a protocol/mechanism to cache/store this information in
> the server side so that the client could sent a short-form of these header
> values, after the first request.
>
> If we have a alternative way to get 'part of the benefit of the stateful
> glib HTTP header compression', it is worth it.
>


If we're going to talk about server scalability, we should talk about the
entire protocol, not just small parts of it.  The bigger win in server
scalability is likely the reduction in connections-per-site with SPDY.  A
typical web page can drop the number of connections it uses by a factor of
at least 6, sometimes more.  SSL is another factor, of course.  And both of
these are far more invasive than the compressor.

I'd really rather hear from servers implementing SPDY that can demonstrate
a real scalability problem rather than just theory.

Mike





>
> -thanks, Saravana.
>
> On Wed, Feb 29, 2012 at 11:33 PM, Willy Tarreau <w@1wt.eu> wrote:
>
>> Hi Patrick,
>>
>> On Wed, Feb 29, 2012 at 12:15:32PM -0500, Patrick McManus wrote:
>> > I'm going to start by saying that while computational scalability of all
>> > parts of the ecosystem (server, intermediary, browsers, embedded clients
>> > of other sorts, etc..) is important and must be kept within reasonable
>> > limits, it is not the top priority for me in doing transport design for
>> > the web.
>> >
>> > The most important thing is enabling a better user experience (and
>> > opening up new ones) over a network where bandwidth, cpu, memory, etc
>> > all keep scaling up but latency doesn't operate on the same scale. our
>> > current strategies butt their head into these things all the time
>> > whether it is just delay of a handshake or delay in the ability to
>> > respond/sense congestion.
>>
>> I agree that focusing on limiting latency effects is quite important.
>>
>> (...)
>> > To bring this back to compression - I just took a set of 100 compressed
>> > real headers, and passed them through a decompress/recompress filter
>> > 1000 times in 350 milliseconds on one core of a rather unimpressive i5.
>> > Spdy would do it faster because it tends to window things smaller than
>> > the default gzip. So that's a cpu overhead of .35ms per set of 100. The
>> > headers were reduced from 44KB (for the set of 100) to about ~4KB.
>> > That's probably a reduction from 31 packets to 3. IW=4 means that's a
>> > difference of 3 rtt's of delay to send 31 packets uncompressed vs 0
>> > delay to send 3 compressed.
>>
>> That's precisely what worries me a lot. You were able to compress "only"
>> 3000 requests per second on an i5, which means only 1500 request+response
>> per second for a proxy or gateway. I'm processing 100 times this without
>> compression on the same hardware, so in the sake of scalability, we first
>> have to divide CPU efficiency by 100, which is not a really good starting
>> point in my opinion. Also, adding .35ms per request (and same for the
>> response) means that .7 ms of real latency will be added for every proxy
>> layer a request has to pass through. IPS, load balancers, caches, proxies
>> etc... All of them will add their own delay. At some of my customers, a
>> request can be forwarded through up to 12 or 13 layers last time I
>> counted,
>> which means approx 10 ms of cumulative processing time. I know some sites
>> running at less than 100 microsecond of average response time, their
>> response time would be increased by an order of magnitude due to this.
>>
>> Also, there is another thing to consider. The only place where compression
>> helps is between browsers and servers. Most of the HTTP requests are
>> between server-side infrastructure components since for a single browser
>> request, a fair number of components are sollicited. I think it would be
>> a major design error to force all gateways, servers, etc... to communicate
>> together with compressed data over low-latency links where CPU matters the
>> most. Think about web services too.
>>
>> > rtt varies a lot, but let's call that 300 ms of latency saved at the
>> > cost of .35ms of cpu. Its a trade off to be sure, but imo the right one
>> > for the net.
>>
>> It's not really .35ms of CPU, it's .35 ms of CPU *per browser*. When you
>> have 10k browsers connected on a site, you're at 3.5s of CPU for one
>> single
>> clic for each of them. That's huge. Like Amos said it, the cumulated
>> latency
>> caused by CPU overhead can quickly overwhelm the network latency. If my
>> gateway has to deal with 50000 requests per second, it needs 17 seconds
>> of CPU for each second of wall-clock. Variations of CPU load will quickly
>> add up CPU-based latency.
>>
>> > Other schemes are plausible (e.g. per session templates that can be
>> > referenced per transaction) and I'm very open minded to them - but I
>> > wanted to be clear that I haven't seen any problems with this one
>> > accomplishing its objectives. I think its biggest weakness (though
>> > tolerable) is that it creates a state management issue which causes some
>> > classes of spec violations to require connection termination instead of
>> > being localized to the transaction.
>>
>> Patrick, don't get me wrong, I'm certain that what has been achieved is
>> really nice, and it proves that reducing the size of a request has a major
>> impact on user experience. But you're mostly dealing with code running at
>> a rate of 1 user. Some of us are dealing with code having to support 10s
>> to 100s of thousands of users on similarly sized hardware. We have reasons
>> to be quite concerned with these CPU impacts and with the increased DoS
>> risks.
>>
>> I'll try to find time to put a few ideas on the table to start from
>> something, otherwise we'll all spend our time saying that we agree but
>> have nothing else :-)
>>
>> Regards,
>> Willy
>>
>>
>>
>

--e89a8f2348a71ab16b04ba228129
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Feb 29, 2012 at 11:09 AM, sarava=
nakumar Annamalaisami <span dir=3D"ltr">&lt;<a href=3D"mailto:saravanakumar=
.a@gmail.com">saravanakumar.a@gmail.com</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
<div>Hello Willy, </div><div class=3D"im"><div>=A0</div><div>&gt;&gt;</div>=
<div>Also, adding .35ms per request (and same for the<br>response) means th=
at .7 ms of real latency will be added for every proxy<br>layer a request h=
as to pass through. IPS, load balancers, caches, proxies<br>

etc... </div><div>&gt;&gt;</div><div>=A0</div></div><div>This is a very val=
id/critical point. It would even get worse,=A0 if any of these devices have=
 limited number of threads/core serving the request.=A0 The per-header late=
ncy added by the &#39;header compression&#39; would be a big thing for a sm=
all request/response header cases.</div>

<div>=A0</div><div>It is not only CPU-intensive,=A0but also requires=A0sign=
ificant amount of memory, if it mandates a &#39;stateful glib compression&#=
39;.=A0 This could create lots of scalablity issue for the intermediate dev=
ices that you have listed and also the server.</div>

<div>=A0</div><div>If we are really looking at reducing the header bytes, i=
t is cheaper/scalable if we could address them at the HTTP/application prot=
ocol level itself than addressing them through &#39;generic stateful glib c=
ompression&#39;.=A0 </div>

<div>=A0</div><div>Like for ex., in case of request, referer/user-agent/coo=
kie/accept are few of the headers that adds up to most of the bytes.=A0 The=
re could be other headers depend on the application.=A0 And, most of the ca=
ses, these headers does not change during a user session.</div>

<div>=A0</div><div>We could=A0define=A0a protocol/mechanism to cache/store =
this information in the server side so that the client could sent a short-f=
orm of these header values, after the first request.</div><div>=A0</div><di=
v>If we have a alternative way to get &#39;part of the benefit of the state=
ful glib HTTP header compression&#39;, it is worth it.</div>
</blockquote><div><br></div><div><br></div><div>If we&#39;re going to talk =
about server scalability, we should talk about the entire protocol, not jus=
t small parts of it. =A0The bigger win in server scalability is likely the =
reduction in connections-per-site with SPDY. =A0A typical web page can drop=
 the number of connections it uses by a factor of at least 6, sometimes mor=
e. =A0SSL is another factor, of course. =A0And both of these are far more i=
nvasive than the compressor.</div>
<div><br></div><div>I&#39;d really rather hear from servers implementing SP=
DY that can demonstrate a real scalability problem rather than just theory.=
 =A0</div><div><br></div><div>Mike</div><div><br></div><div><br></div><div>
<br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>=A0</div><div>-thanks, Saravana.<br><br></div><div class=3D"HOEnZb"><d=
iv class=3D"h5"><div class=3D"gmail_quote">On Wed, Feb 29, 2012 at 11:33 PM=
, Willy Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D=
"_blank">w@1wt.eu</a>&gt;</span> wrote:<br>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-=
color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class=
=3D"gmail_quote">
Hi Patrick,<br>
<div><br>
On Wed, Feb 29, 2012 at 12:15:32PM -0500, Patrick McManus wrote:<br>
&gt; I&#39;m going to start by saying that while computational scalability =
of all<br>
&gt; parts of the ecosystem (server, intermediary, browsers, embedded clien=
ts<br>
&gt; of other sorts, etc..) is important and must be kept within reasonable=
<br>
&gt; limits, it is not the top priority for me in doing transport design fo=
r<br>
&gt; the web.<br>
&gt;<br>
&gt; The most important thing is enabling a better user experience (and<br>
&gt; opening up new ones) over a network where bandwidth, cpu, memory, etc<=
br>
&gt; all keep scaling up but latency doesn&#39;t operate on the same scale.=
 our<br>
&gt; current strategies butt their head into these things all the time<br>
&gt; whether it is just delay of a handshake or delay in the ability to<br>
&gt; respond/sense congestion.<br>
<br>
</div>I agree that focusing on limiting latency effects is quite important.=
<br>
<br>
(...)<br>
<div>&gt; To bring this back to compression - I just took a set of 100 comp=
ressed<br>
&gt; real headers, and passed them through a decompress/recompress filter<b=
r>
&gt; 1000 times in 350 milliseconds on one core of a rather unimpressive i5=
.<br>
&gt; Spdy would do it faster because it tends to window things smaller than=
<br>
&gt; the default gzip. So that&#39;s a cpu overhead of .35ms per set of 100=
. The<br>
&gt; headers were reduced from 44KB (for the set of 100) to about ~4KB.<br>
&gt; That&#39;s probably a reduction from 31 packets to 3. IW=3D4 means tha=
t&#39;s a<br>
&gt; difference of 3 rtt&#39;s of delay to send 31 packets uncompressed vs =
0<br>
&gt; delay to send 3 compressed.<br>
<br>
</div>That&#39;s precisely what worries me a lot. You were able to compress=
 &quot;only&quot;<br>
3000 requests per second on an i5, which means only 1500 request+response<b=
r>
per second for a proxy or gateway. I&#39;m processing 100 times this withou=
t<br>
compression on the same hardware, so in the sake of scalability, we first<b=
r>
have to divide CPU efficiency by 100, which is not a really good starting<b=
r>
point in my opinion. Also, adding .35ms per request (and same for the<br>
response) means that .7 ms of real latency will be added for every proxy<br=
>
layer a request has to pass through. IPS, load balancers, caches, proxies<b=
r>
etc... All of them will add their own delay. At some of my customers, a<br>
request can be forwarded through up to 12 or 13 layers last time I counted,=
<br>
which means approx 10 ms of cumulative processing time. I know some sites<b=
r>
running at less than 100 microsecond of average response time, their<br>
response time would be increased by an order of magnitude due to this.<br>
<br>
Also, there is another thing to consider. The only place where compression<=
br>
helps is between browsers and servers. Most of the HTTP requests are<br>
between server-side infrastructure components since for a single browser<br=
>
request, a fair number of components are sollicited. I think it would be<br=
>
a major design error to force all gateways, servers, etc... to communicate<=
br>
together with compressed data over low-latency links where CPU matters the<=
br>
most. Think about web services too.<br>
<div><br>
&gt; rtt varies a lot, but let&#39;s call that 300 ms of latency saved at t=
he<br>
&gt; cost of .35ms of cpu. Its a trade off to be sure, but imo the right on=
e<br>
&gt; for the net.<br>
<br>
</div>It&#39;s not really .35ms of CPU, it&#39;s .35 ms of CPU *per browser=
*. When you<br>
have 10k browsers connected on a site, you&#39;re at 3.5s of CPU for one si=
ngle<br>
clic for each of them. That&#39;s huge. Like Amos said it, the cumulated la=
tency<br>
caused by CPU overhead can quickly overwhelm the network latency. If my<br>
gateway has to deal with 50000 requests per second, it needs 17 seconds<br>
of CPU for each second of wall-clock. Variations of CPU load will quickly<b=
r>
add up CPU-based latency.<br>
<div><br>
&gt; Other schemes are plausible (e.g. per session templates that can be<br=
>
&gt; referenced per transaction) and I&#39;m very open minded to them - but=
 I<br>
&gt; wanted to be clear that I haven&#39;t seen any problems with this one<=
br>
&gt; accomplishing its objectives. I think its biggest weakness (though<br>
&gt; tolerable) is that it creates a state management issue which causes so=
me<br>
&gt; classes of spec violations to require connection termination instead o=
f<br>
&gt; being localized to the transaction.<br>
<br>
</div>Patrick, don&#39;t get me wrong, I&#39;m certain that what has been a=
chieved is<br>
really nice, and it proves that reducing the size of a request has a major<=
br>
impact on user experience. But you&#39;re mostly dealing with code running =
at<br>
a rate of 1 user. Some of us are dealing with code having to support 10s<br=
>
to 100s of thousands of users on similarly sized hardware. We have reasons<=
br>
to be quite concerned with these CPU impacts and with the increased DoS<br>
risks.<br>
<br>
I&#39;ll try to find time to put a few ideas on the table to start from<br>
something, otherwise we&#39;ll all spend our time saying that we agree but<=
br>
have nothing else :-)<br>
<br>
Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>

--e89a8f2348a71ab16b04ba228129--


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:17:15 2012
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 B050621F8636 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:17:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.826
X-Spam-Level: 
X-Spam-Status: No, score=-9.826 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 L6xTiTFRQsRR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:17:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6540D21F8627 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:17:14 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sla-0000t3-67 for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:17:02 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1S2slO-0000rU-Uh for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:16:50 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1S2slM-0005se-Iu for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:16:49 +0000
Received: by lagr15 with SMTP id r15so8283404lag.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 15:16:22 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@belshe.com designates 10.152.104.143 as permitted sender) client-ip=10.152.104.143;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@belshe.com designates 10.152.104.143 as permitted sender) smtp.mail=mike@belshe.com
Received: from mr.google.com ([10.152.104.143]) by 10.152.104.143 with SMTP id ge15mr2276818lab.26.1330557382922 (num_hops = 1); Wed, 29 Feb 2012 15:16:22 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.104.143 with SMTP id ge15mr1881721lab.26.1330557382807; Wed, 29 Feb 2012 15:16:22 -0800 (PST)
Received: by 10.112.24.167 with HTTP; Wed, 29 Feb 2012 15:16:22 -0800 (PST)
In-Reply-To: <20120229210756.GC3575@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu>
Date: Wed, 29 Feb 2012 15:16:22 -0800
Message-ID: <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Adrien de Croy <adrien@qbik.com>, Patrick McManus <pmcmanus@mozilla.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d040838ff27d16504ba228822
X-Gm-Message-State: ALoCoQmAYPQkdhCKiRXCpMf3ptHg7f5mQiWJDg1iKvsQg00drAjVfCyb/4Q6OYofWjPKnDqun0q9
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2slM-0005se-Iu 885e71a7d4f899b6bbe1298f19ae98b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12668
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>
Resent-Message-Id: <E1S2sla-0000t3-67@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:17:02 +0000

--f46d040838ff27d16504ba228822
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Feb 29, 2012 at 1:07 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Adrien,
>
> On Thu, Mar 01, 2012 at 09:25:25AM +1300, Adrien de Croy wrote:
> (...)
> > The problem with making SSL/TLS optional is that currently that's the
> > mechanism used to negotiate use of SPDY in the first place.  Without
> > that, you'd need to tell the client (e.g..in the hyperlink URIs) what
> > protocol to use / is in use at that site, which would mean hyperlinks
> > wouldn't be http://www.example.com any more, but something else like
> > spdy://www.example.com.
>
> Using the Upgrade mechanism would solve this issue. It will also
> make Roy feel happy to have insisted a lot that after a 101, the
> server must send a final response to the request. what I mean is
> that a client should simply send the first request in HTTP/1.1
> with an Upgrade header for HTTP/2.0. If the server ignores Upgrade
> and only replies in 1.1 the server is not 2.0 compliant. If the
> server responds with 101 Switching Protocol with Upgrade: 2.0
> then the protocol switches to 2.0 and the server responds in 2.0
> language. From this point, everything is 2.0 between both sides.
>
> And using Upgrade really offers a very smooth transition path
> between 1.1 and 2.0.
>

The problem with upgrade is that it costs a round trip of latency.

Mike


>
> Regards,
> Willy
>
>
>

--f46d040838ff27d16504ba228822
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Feb 29, 2012 at 1:07 PM, Willy T=
arreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu">w@1wt.eu</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
Hi Adrien,<br>
<br>
On Thu, Mar 01, 2012 at 09:25:25AM +1300, Adrien de Croy wrote:<br>
(...)<br>
<div class=3D"im">&gt; The problem with making SSL/TLS optional is that cur=
rently that&#39;s the<br>
&gt; mechanism used to negotiate use of SPDY in the first place. =A0Without=
<br>
&gt; that, you&#39;d need to tell the client (e.g..in the hyperlink URIs) w=
hat<br>
&gt; protocol to use / is in use at that site, which would mean hyperlinks<=
br>
&gt; wouldn&#39;t be <a href=3D"http://www.example.com" target=3D"_blank">h=
ttp://www.example.com</a> any more, but something else like<br>
&gt; spdy://<a href=3D"http://www.example.com" target=3D"_blank">www.exampl=
e.com</a>.<br>
<br>
</div>Using the Upgrade mechanism would solve this issue. It will also<br>
make Roy feel happy to have insisted a lot that after a 101, the<br>
server must send a final response to the request. what I mean is<br>
that a client should simply send the first request in HTTP/1.1<br>
with an Upgrade header for HTTP/2.0. If the server ignores Upgrade<br>
and only replies in 1.1 the server is not 2.0 compliant. If the<br>
server responds with 101 Switching Protocol with Upgrade: 2.0<br>
then the protocol switches to 2.0 and the server responds in 2.0<br>
language. From this point, everything is 2.0 between both sides.<br>
<br>
And using Upgrade really offers a very smooth transition path<br>
between 1.1 and 2.0.<br></blockquote><div><br></div><div>The problem with u=
pgrade is that it costs a round trip of latency.</div><div><br></div><div>M=
ike</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Regards,<br>
Willy<br>
<br>
<br>
</blockquote></div><br>

--f46d040838ff27d16504ba228822--


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:22:56 2012
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 6756C21F8679 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:22:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.201
X-Spam-Level: 
X-Spam-Status: No, score=-9.201 tagged_above=-999 required=5 tests=[AWL=1.098, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 w4FB-xIMw6-6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:22:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0660721F8542 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:22:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2sqo-0001Q4-Mx for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:22:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2sqi-0001NN-Cn for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:22:20 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2sqg-0001Yn-IU for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:22:19 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TNLreX015408; Wed, 29 Feb 2012 23:21:54 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TNLpmW013709; Thu, 1 Mar 2012 00:21:51 +0100
Message-ID: <1330557711.24673.133.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 00:21:51 +0100
In-Reply-To: <4F4EAD3C.9050306@qbik.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 23:21:54 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2sqg-0001Yn-IU c6792813d40116cccd430dbf91735408
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330557711.24673.133.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12669
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>
Resent-Message-Id: <E1S2sqo-0001Q4-Mx@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:22:26 +0000

tor 2012-03-01 klockan 11:57 +1300 skrev Adrien de Croy:

> that depends on proxy design.  If the challenges and responses are going 
> over the same TCP connection it's pretty simple.

I won't go into this. HTTP is message oriented, not connection oriented.

> the main area we see the problem is actually not in proxy auth, but when 
> a proxy intercepts the connection, requires auth and then the website 
> requires auth as well.
> 
> It's hard for the proxy to know whether an auth response should be 
> processed by itself, or upstream.

Are you talking of transparent intercepting proxies doing NTLM here? If
you do then please stop, that's just happens to work because the
security model of NTLM is plain broken broken allowing it to be abused
in mitm attacks in completely insecure manners. end of discussion.
Please let NTLM die a painful death.

> In most cases though where this happens, wouldn't the upstream proxies 
> be within the same administrative domain?  e.g. so creds should work, 
> and leakage shouldn't be a problem.

Even that assumption only holds for basic auth. With anything else it
breaks.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:46:23 2012
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 DF28A21F8749 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:46:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.423
X-Spam-Level: 
X-Spam-Status: No, score=-6.423 tagged_above=-999 required=5 tests=[AWL=3.554, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Hpf1vnmWTLtz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:46:23 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3AB1921F8744 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:46:23 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tCk-0006TP-Ha for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:45:06 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ekr@rtfm.com>) id 1S2tCY-00065q-SE for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:44:54 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ekr@rtfm.com>) id 1S2tCW-0006mn-GY for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:44:53 +0000
Received: by vcbf11 with SMTP id f11so3952vcb.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 15:44:27 -0800 (PST)
Received-SPF: pass (google.com: domain of ekr@rtfm.com designates 10.52.19.196 as permitted sender) client-ip=10.52.19.196;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of ekr@rtfm.com designates 10.52.19.196 as permitted sender) smtp.mail=ekr@rtfm.com
Received: from mr.google.com ([10.52.19.196]) by 10.52.19.196 with SMTP id h4mr3588275vde.91.1330559067247 (num_hops = 1); Wed, 29 Feb 2012 15:44:27 -0800 (PST)
Received: by 10.52.19.196 with SMTP id h4mr3071483vde.91.1330559067119; Wed, 29 Feb 2012 15:44:27 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.70.136 with HTTP; Wed, 29 Feb 2012 15:43:47 -0800 (PST)
X-Originating-IP: [74.95.2.169]
In-Reply-To: <CABaLYCvkg-J5G=0y13gkMxGtoxYuHVpuD83=6x9hHvXfE-_mMA@mail.gmail.com>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <20120229064929.GB32187@1wt.eu> <CABaLYCvkg-J5G=0y13gkMxGtoxYuHVpuD83=6x9hHvXfE-_mMA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 29 Feb 2012 15:43:47 -0800
Message-ID: <CABcZeBMRPwJgGVV-95vj6asZfL8_pe0_5yZh-S+4D8vkLXZWZQ@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Willy Tarreau <w@1wt.eu>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmKiyIQ4+n9Ys9L7+biSa/lctjNfq+60Tvya1o37RWPv9x1lILmRr2g6Re+go7NHFRG11cv
Received-SPF: none client-ip=209.85.220.171; envelope-from=ekr@rtfm.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2tCW-0006mn-GY 1873d10d825fd20f9fde14ca0738ce27
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABcZeBMRPwJgGVV-95vj6asZfL8_pe0_5yZh-S+4D8vkLXZWZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12670
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>
Resent-Message-Id: <E1S2tCk-0006TP-Ha@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:45:06 +0000

On Wed, Feb 29, 2012 at 3:00 PM, Mike Belshe <mike@belshe.com> wrote:
> On Tue, Feb 28, 2012 at 10:49 PM, Willy Tarreau <w@1wt.eu> wrote:

> =A0 =A0b) Also note that for SPDY over SSL, you've got DoS countermeasure=
s from
> the SSL layer at your disposal. =A0These are certainly going to slow down=
 many
> attackers. =A0(It will also make some sites nervous - especially those th=
at
> haven't hardened port 443 yet!)

Can you elaborate on what you have in mind in terms of SSL DoS countermeasu=
res?

-Ekr


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:51:27 2012
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 F37C621F8627 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:51:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.236
X-Spam-Level: 
X-Spam-Status: No, score=-9.236 tagged_above=-999 required=5 tests=[AWL=1.063, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 3sAhW1IymMfc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:51:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 50E1121F8638 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:51:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tIQ-0001jw-GU for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:50:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2tIJ-0001jE-8S for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:50:51 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2tIH-0002HF-GT for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:50:50 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q1TNoQ8q005322; Wed, 29 Feb 2012 23:50:27 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q1TNoPbJ015700; Thu, 1 Mar 2012 00:50:25 +0100
Message-ID: <1330559425.24673.149.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 00:50:25 +0100
In-Reply-To: <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com>
References:  <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Wed, 29 Feb 2012 23:50:27 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2tIH-0002HF-GT 625ab030c56ba27ffe55171205a346fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/1330559425.24673.149.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12671
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>
Resent-Message-Id: <E1S2tIQ-0001jw-GU@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:50:58 +0000

ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:

> The problem with upgrade is that it costs a round trip of latency.

Only if you are pipelining and then only on the second request, and
pipelining on the first request is generally a bad idea anyway. So no.

It's just means that the initial request (not it's response) is limited
to HTTP/1.x wire format and that you can't pipeline if the protocol
change means pipelined requests can not be properly parsed after the
protocol change.

And if HTTP/2.x preserve initial request-line structure compatibility
with HTTP/1.x like it should then future requests to the same server
should be able to assume the server is HTTP/2.x capable from start,
until rejected, and you can even pipeline during the protocol upgrade if
desired.

Regards
Henrik




From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:53:40 2012
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 EEFE021E8018 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:53:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 ERhT0RrNG40e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:53:39 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31F3021F8679 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:53:38 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tKH-00022h-UP for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:52:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2tK6-0001z8-6N for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:52:42 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2tK4-0002JT-9p for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:52:41 +0000
Received: by obhx4 with SMTP id x4so21998obh.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 15:52:14 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.182.74.102 as permitted sender) client-ip=10.182.74.102;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.182.74.102 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.182.74.102]) by 10.182.74.102 with SMTP id s6mr972488obv.46.1330559534365 (num_hops = 1); Wed, 29 Feb 2012 15:52:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=uXFRsK24/IbgAF/VtsUeBvRgP2TwzC5ufBBocs5Gnn8=; b=VFlCQ8EqyYPuCGtGT41oKRFJnlzHVdkiOb+jVkfySaGhXntqJg6Fs/mJkS4+HevC7h colOEwL2XlIrtR/emNjFo9zOVgwSyKpVHbDcUR6lxj98nJMyZVVD2DxcXXtlEhOTY8jq WjoZ/QbnybMu9LQJuXDGSvTRr/glhjcUq//cU=
MIME-Version: 1.0
Received: by 10.182.74.102 with SMTP id s6mr838792obv.46.1330559534266; Wed, 29 Feb 2012 15:52:14 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Wed, 29 Feb 2012 15:52:14 -0800 (PST)
In-Reply-To: <1330551982.24673.57.camel@home.hno.se>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de> <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com> <1330551982.24673.57.camel@home.hno.se>
Date: Wed, 29 Feb 2012 23:52:14 +0000
Message-ID: <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2tK4-0002JT-9p a4140f863ed420990e6c5024b3fc0242
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12672
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>
Resent-Message-Id: <E1S2tKH-00022h-UP@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:52:53 +0000

2012/2/29 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> ons 2012-02-29 klockan 19:59 +0000 skrev Mike Kelly:
>
>> Right, it is closely coupled - as is any other interaction driven by
>> shared understanding between the client and the server. Not everything
>> needs, or can be, visible on the network and is better off dealt with
>> via shared understanding between client and server. What is it about
>> the non-partial'ness of PUT that requires it to be made visible by
>> HTTP across the web as a whole?
>
> Simply the fact that HTTP/1.x do not allow upgrades of defined methods
> in this manner.
>
> If this "partial PUT" is sent to a server that do not understand it
> would result in breakage, therefore it can not be accepted as an
> extension of the existing PUT method. Instead it needs to use a new
> method, making sure that breakage do not occur if the request is
> attepmted somewhere where it's not supported.

Upgrading PUT so it is less specific about replacement wouldn't result
in this breakage. Clients don't make requests to servers arbitrarily,
they make them according to whatever application they are fulfilling.
i.e. if an application is operating on the basis that PUT requests to
its resources are replacements, then HTTP relaxing the semantics of
PUT to permit partials would not create breakage.

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 15:54:20 2012
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 C08B521F846F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:54:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.133
X-Spam-Level: 
X-Spam-Status: No, score=-10.133 tagged_above=-999 required=5 tests=[AWL=-0.434, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, MIME_8BIT_HEADER=0.3, 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 oJN0dkbwEccT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 15:54:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2260E21F8679 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 15:54:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tLV-0002CJ-Ft for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Feb 2012 23:54:09 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1S2tLK-0002BS-AL for ietf-http-wg@listhub.w3.org; Wed, 29 Feb 2012 23:53:58 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1S2tLI-00072U-AH for ietf-http-wg@w3.org; Wed, 29 Feb 2012 23:53:57 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 1A3535DF9; Wed, 29 Feb 2012 23:53:35 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q1TNrYhf009512; Wed, 29 Feb 2012 23:53:34 GMT (envelope-from phk@phk.freebsd.dk)
To: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
cc: Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 01 Mar 2012 00:50:25 +0100." <1330559425.24673.149.camel@home.hno.se>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 29 Feb 2012 23:53:34 +0000
Message-ID: <9511.1330559614@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2tLI-00072U-AH a813d68079dbf86dc2d70712c8719f9c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/9511.1330559614@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12673
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>
Resent-Message-Id: <E1S2tLV-0002CJ-Ft@frink.w3.org>
Resent-Date: Wed, 29 Feb 2012 23:54:09 +0000

In message <1330559425.24673.149.camel@home.hno.se>, Henrik =?ISO-8859-1?Q?Nord
str=F6m?= writes:
>ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:
>
>> The problem with upgrade is that it costs a round trip of latency.
>
>Only if you are pipelining and then only on the second request, and
>pipelining on the first request is generally a bad idea anyway. So no.

There is of course an incredible evil way to indicate what protocol
you want, without expending a RTT:

Have the server send a TCP option in the SYN+ACK packet that tells
you what it can do on this TCP connection.

/me <- ducks

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:09:00 2012
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 027E221F86A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:09:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.712
X-Spam-Level: 
X-Spam-Status: No, score=-7.712 tagged_above=-999 required=5 tests=[AWL=2.587, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 QN9Ec1EMeQzB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:08:59 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA49D21F869D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:08:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tYu-0006oV-5G for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:08:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2tYi-0006kN-HT for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:07:48 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2tYW-0002eM-Lc for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:07:41 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892229@smtp.qbik.com>; Thu, 01 Mar 2012 13:07:12 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067479@sago.qbik.com>; Thu, 01 Mar 2012 13:07:08 +1300
Message-ID: <4F4EBDAC.6090508@qbik.com>
Date: Thu, 01 Mar 2012 13:07:08 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com>    <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de>    <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>   <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com>  <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se>
In-Reply-To: <1330557711.24673.133.camel@home.hno.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2tYW-0002eM-Lc d5893ed22067c0572a33277d1159ec96
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4EBDAC.6090508@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12674
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>
Resent-Message-Id: <E1S2tYu-0006oV-5G@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:08:00 +0000

On 1/03/2012 12:21 p.m., Henrik NordstrÃ¶m wrote:
> tor 2012-03-01 klockan 11:57 +1300 skrev Adrien de Croy:
>
>> that depends on proxy design.  If the challenges and responses are going
>> over the same TCP connection it's pretty simple.
> I won't go into this. HTTP is message oriented, not connection oriented.

I'm not 100% convinced.  Esp with auth.  Even disregarding NTLM, any 
time you have a challenge and response, if the response comes to a 
server over a different TCP connection, then I think a lot of 
implementations will break.  Maybe therefore they are poorly designed.

If for instance multiple proxy clients are multiplexed over a pool of 
connections between the proxy and a server, so that subsequent requests 
on a connection to a server can be for any proxy client, then the 
server's job of maintaining association of credentials, or deciding when 
to issue a challenge is made much more difficult than if it assumes the 
connection is for only 1 user.

Maybe if assuming 1 connection = 1 user is broken, it should be 
explicitly warned about in the spec.  The alternative though is either 
the server has to challenge every request, or the auth tokens submitted 
by clients can be used without round-trips, or some other token needs to 
be stored and looked up by the server in global (i.e. 
non-connection-oriented) memory.  Basic fits there, but does Digest?  
NTLM certainly doesn't of course.

>
>> the main area we see the problem is actually not in proxy auth, but when
>> a proxy intercepts the connection, requires auth and then the website
>> requires auth as well.
>>
>> It's hard for the proxy to know whether an auth response should be
>> processed by itself, or upstream.
> Are you talking of transparent intercepting proxies doing NTLM here? If
> you do then please stop, that's just happens to work because the
> security model of NTLM is plain broken broken allowing it to be abused
> in mitm attacks in completely insecure manners. end of discussion.

actually any sort of auth when you intercept you no longer know who the 
target is.

> Please let NTLM die a painful death.

It's going to be a very long death.  It's just not going away.  I think 
we will still see significant use of it in 10 years from now.

I'm not even sure how to implement Digest on windows (I've only briefly 
looked), but it looks quite difficult.

Even Negotiate is still connection-oriented?

>> In most cases though where this happens, wouldn't the upstream proxies
>> be within the same administrative domain?  e.g. so creds should work,
>> and leakage shouldn't be a problem.
> Even that assumption only holds for basic auth. With anything else it
> breaks.

ok

So basically the answer remain: "use Digest".

Adrien


>
> Regards
> Henrik
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:10:38 2012
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 E6BD221E801F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:10:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.593
X-Spam-Level: 
X-Spam-Status: No, score=-7.593 tagged_above=-999 required=5 tests=[AWL=2.406, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, 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 MNRYlNgc2smF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:10:37 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4CB1E21E801A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:10:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tb8-00075l-NH for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:10:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2tax-00074I-Nq for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:10:07 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1S2tau-0002mT-Ms for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:10:06 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892234@smtp.qbik.com>; Thu, 01 Mar 2012 13:09:42 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067482@sago.qbik.com>; Thu, 01 Mar 2012 13:09:29 +1300
Message-ID: <4F4EBE39.2000506@qbik.com>
Date: Thu, 01 Mar 2012 13:09:29 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>,  Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
References: <9511.1330559614@critter.freebsd.dk>
In-Reply-To: <9511.1330559614@critter.freebsd.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2tau-0002mT-Ms eee9f2e3c72fdba327be9f2c9a02aed8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4EBE39.2000506@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12675
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>
Resent-Message-Id: <E1S2tb8-00075l-NH@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:10:18 +0000

On 1/03/2012 12:53 p.m., Poul-Henning Kamp wrote:
> In message<1330559425.24673.149.camel@home.hno.se>, Henrik =?ISO-8859-1?Q?Nord
> str=F6m?= writes:
>> ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:
>>
>>> The problem with upgrade is that it costs a round trip of latency.
>> Only if you are pipelining and then only on the second request, and
>> pipelining on the first request is generally a bad idea anyway. So no.
> There is of course an incredible evil way to indicate what protocol
> you want, without expending a RTT:
>
> Have the server send a TCP option in the SYN+ACK packet that tells
> you what it can do on this TCP connection.

Heh..  I was just about to suggest a TCP option.

I don't think stack support is that good for such things though.

>
> /me<- ducks
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:14:22 2012
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 1DC3021F84B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:14:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.771
X-Spam-Level: 
X-Spam-Status: No, score=-7.771 tagged_above=-999 required=5 tests=[AWL=2.528, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 3QOjR1ug6nd1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:14:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2DC3721E8019 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:14:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2teX-0007ko-Ip for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:13:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2teL-0007ii-Qd for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:13:37 +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 1S2teJ-0007qe-Dm for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:13:37 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892241@smtp.qbik.com>; Thu, 01 Mar 2012 13:13:12 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067488@sago.qbik.com>; Thu, 01 Mar 2012 13:13:01 +1300
Message-ID: <4F4EBF0D.3010002@qbik.com>
Date: Thu, 01 Mar 2012 13:13:01 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com>    <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de>    <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>   <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com>  <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com>
In-Reply-To: <4F4EBDAC.6090508@qbik.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2teJ-0007qe-Dm dffc6a64a2f4a92bd8481477e71f6039
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4EBF0D.3010002@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12676
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>
Resent-Message-Id: <E1S2teX-0007ko-Ip@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:13:49 +0000

NTLM could be made non-connection-oriented if http auth had some sort of 
context attribute that identified the auth conversation (in both 
challenges and responses), instead of having to associate it with the 
connection.

Adrien


On 1/03/2012 1:07 p.m., Adrien de Croy wrote:
>
>
> On 1/03/2012 12:21 p.m., Henrik NordstrÃ¶m wrote:
>> tor 2012-03-01 klockan 11:57 +1300 skrev Adrien de Croy:
>>
>>> that depends on proxy design.  If the challenges and responses are 
>>> going
>>> over the same TCP connection it's pretty simple.
>> I won't go into this. HTTP is message oriented, not connection oriented.
>
> I'm not 100% convinced.  Esp with auth.  Even disregarding NTLM, any 
> time you have a challenge and response, if the response comes to a 
> server over a different TCP connection, then I think a lot of 
> implementations will break.  Maybe therefore they are poorly designed.
>
> If for instance multiple proxy clients are multiplexed over a pool of 
> connections between the proxy and a server, so that subsequent 
> requests on a connection to a server can be for any proxy client, then 
> the server's job of maintaining association of credentials, or 
> deciding when to issue a challenge is made much more difficult than if 
> it assumes the connection is for only 1 user.
>
> Maybe if assuming 1 connection = 1 user is broken, it should be 
> explicitly warned about in the spec.  The alternative though is either 
> the server has to challenge every request, or the auth tokens 
> submitted by clients can be used without round-trips, or some other 
> token needs to be stored and looked up by the server in global (i.e. 
> non-connection-oriented) memory.  Basic fits there, but does Digest?  
> NTLM certainly doesn't of course.
>
>>
>>> the main area we see the problem is actually not in proxy auth, but 
>>> when
>>> a proxy intercepts the connection, requires auth and then the website
>>> requires auth as well.
>>>
>>> It's hard for the proxy to know whether an auth response should be
>>> processed by itself, or upstream.
>> Are you talking of transparent intercepting proxies doing NTLM here? If
>> you do then please stop, that's just happens to work because the
>> security model of NTLM is plain broken broken allowing it to be abused
>> in mitm attacks in completely insecure manners. end of discussion.
>
> actually any sort of auth when you intercept you no longer know who 
> the target is.
>
>> Please let NTLM die a painful death.
>
> It's going to be a very long death.  It's just not going away.  I 
> think we will still see significant use of it in 10 years from now.
>
> I'm not even sure how to implement Digest on windows (I've only 
> briefly looked), but it looks quite difficult.
>
> Even Negotiate is still connection-oriented?
>
>>> In most cases though where this happens, wouldn't the upstream proxies
>>> be within the same administrative domain?  e.g. so creds should work,
>>> and leakage shouldn't be a problem.
>> Even that assumption only holds for basic auth. With anything else it
>> breaks.
>
> ok
>
> So basically the answer remain: "use Digest".
>
> Adrien
>
>
>>
>> Regards
>> Henrik
>>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:21:07 2012
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 B919721F86C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:21:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.051
X-Spam-Level: 
X-Spam-Status: No, score=-10.051 tagged_above=-999 required=5 tests=[AWL=-0.052, BAYES_00=-2.599, J_CHICKENPOX_55=0.6, 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 1Ezq3f--hFnf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:21:05 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 32DDA21F86C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:21:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tkg-0002RJ-FN for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:20:10 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2tkV-0002OW-Cm for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:19:59 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2tkQ-00035f-Jw for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:19:56 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 09CD4E6F39; Thu,  1 Mar 2012 13:19:30 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Thu, 01 Mar 2012 13:19:30 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <1330556689.24673.119.camel@home.hno.se>
References: <4F43E75C.2010309@gmx.de> <CAJ3HoZ3JHbcwhYEnyYbKTp+6oY1ZjsLxM6pFQEApnFMKOAhGzA@mail.gmail.com> <CAC4RtVB==09BD79S2wesGuZtbsNy3NCwQzKvHUTKNZPG0Br1Gg@mail.gmail.com> <CAJ3HoZ0wtOrNg+0CCueeq1hfj31EJViw1GaM6cV8GwqjtWcPsA@mail.gmail.com> <20120222064914.GE20770@1wt.eu> <4F44A970.9090605@gmx.de> <20120222111620.GA24210@1wt.eu> <4F44D5EB.3080509@gmx.de> <20120222132215.GA24811@1wt.eu> <4F44EFA8.3080104@gmx.de> <20120222140249.GB24811@1wt.eu> <1330543970.24673.15.camel@home.hno.se> <4F4E870E.4060703@qbik.com> <1330556689.24673.119.camel@home.hno.se>
Message-ID: <8006b39ebcca730ad54ae266dfd1de79@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2tkQ-00035f-Jw a70db1133b9769ba5c0f5a3f3c359b90
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis    (httpbis)
Archived-At: <http://www.w3.org/mid/8006b39ebcca730ad54ae266dfd1de79@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12677
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>
Resent-Message-Id: <E1S2tkg-0002RJ-FN@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:20:10 +0000

On 01.03.2012 12:04, Henrik NordstrÃ¶m wrote:
> tor 2012-03-01 klockan 09:14 +1300 skrev Adrien de Croy:
>> > Not sure there even is a demand for protocol level indicated 
>> logoff
>> > where the server at HTTP level tell the client to invalidate the 
>> cached
>> > credentials.
>>
>> Actually I would like to see this.
>>
>> For example product admin back-ends which use http auth. We'd like 
>> to be
>> able to time out a user so someone else coming along (if the first 
>> user
>> didn't close the browser) doesn't gain access to things they 
>> shouldn't.
>
> Yes. Applications need the ability to time out sessions.
>
> Which begs the question, is that auth framework or scheme?
>
> digest auth can already be used in this manner by tracking server
> nonce(s) or opaque, and forcing a 401 stale=false response if the
> session have been timed out on the server side.

Basic auth can do this in a limited way by using a nonce token instead 
of a password. The server rejecting with 401 the old "password" after a 
timeout. Requiring a new random or cyclic one to be sent by the client.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:21:35 2012
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 B9B5921F86DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:21:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.212
X-Spam-Level: 
X-Spam-Status: No, score=-6.212 tagged_above=-999 required=5 tests=[AWL=3.165, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_33=0.6, 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 xVtQVPNVCHUs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:21:35 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F09BB21F86D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:21:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tlt-0002cO-Aj for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:21:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ekr@rtfm.com>) id 1S2tli-0002bS-3Y for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:21:14 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ekr@rtfm.com>) id 1S2tle-000856-Eq for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:21:12 +0000
Received: by vcbf11 with SMTP id f11so30319vcb.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 16:20:45 -0800 (PST)
Received-SPF: pass (google.com: domain of ekr@rtfm.com designates 10.52.29.75 as permitted sender) client-ip=10.52.29.75;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of ekr@rtfm.com designates 10.52.29.75 as permitted sender) smtp.mail=ekr@rtfm.com
Received: from mr.google.com ([10.52.29.75]) by 10.52.29.75 with SMTP id i11mr3806831vdh.23.1330561245325 (num_hops = 1); Wed, 29 Feb 2012 16:20:45 -0800 (PST)
Received: by 10.52.29.75 with SMTP id i11mr3261946vdh.23.1330561245129; Wed, 29 Feb 2012 16:20:45 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.70.136 with HTTP; Wed, 29 Feb 2012 16:20:04 -0800 (PST)
X-Originating-IP: [74.95.2.169]
In-Reply-To: <4F4EBE39.2000506@qbik.com>
References: <9511.1330559614@critter.freebsd.dk> <4F4EBE39.2000506@qbik.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 29 Feb 2012 16:20:04 -0800
Message-ID: <CABcZeBPmJrZgyL3PrudvxHsZ1NLhmE1t3VBAO0EwU66rWCN9-w@mail.gmail.com>
To: Adrien de Croy <adrien@qbik.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>,  Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnv7pF1uuvKJfxzhiZxgv/4rNd38MaR+HCgw89j0dHYA7lvMBrKhzVe2QLniBUPFA0oWMjW
Received-SPF: none client-ip=209.85.220.171; envelope-from=ekr@rtfm.com; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2tle-000856-Eq 5860e09e7a4195620b3b8b3b31396e93
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABcZeBPmJrZgyL3PrudvxHsZ1NLhmE1t3VBAO0EwU66rWCN9-w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12678
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>
Resent-Message-Id: <E1S2tlt-0002cO-Aj@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:21:25 +0000

On Wed, Feb 29, 2012 at 4:09 PM, Adrien de Croy <adrien@qbik.com> wrote:
>
>
> On 1/03/2012 12:53 p.m., Poul-Henning Kamp wrote:
>>
>> In message<1330559425.24673.149.camel@home.hno.se>, Henrik
>> =3D?ISO-8859-1?Q?Nord
>> str=3DF6m?=3D writes:
>>>
>>> ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:
>>>
>>>> The problem with upgrade is that it costs a round trip of latency.
>>>
>>> Only if you are pipelining and then only on the second request, and
>>> pipelining on the first request is generally a bad idea anyway. So no.
>>
>> There is of course an incredible evil way to indicate what protocol
>> you want, without expending a RTT:
>>
>> Have the server send a TCP option in the SYN+ACK packet that tells
>> you what it can do on this TCP connection.
>
>
> Heh.. =A0I was just about to suggest a TCP option.
>
> I don't think stack support is that good for such things though.

No doubt this is why SPDY uses a TLS extension (NPN).

-Ekr


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:29:48 2012
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 97E2B21F8527 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:29:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.268
X-Spam-Level: 
X-Spam-Status: No, score=-9.268 tagged_above=-999 required=5 tests=[AWL=1.031, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 P2imFTjlYMwQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:29:47 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 23CEB21F8555 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:29:47 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2ttI-000402-DR for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:29:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2ttC-0003zG-22 for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:28:58 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2tt9-0003IR-BK for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:28:56 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q210SWc6009601; Thu, 1 Mar 2012 00:28:33 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q210STAe018685; Thu, 1 Mar 2012 01:28:29 +0100
Message-ID: <1330561709.24673.173.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mike Kelly <mikekelly321@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 01 Mar 2012 01:28:29 +0100
In-Reply-To: <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
References:  <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de> <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com> <1330551982.24673.57.camel@home.hno.se> <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 00:28:33 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2tt9-0003IR-BK 381fcb1d9b75facf8aecdfdd349822e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1330561709.24673.173.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12679
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>
Resent-Message-Id: <E1S2ttI-000402-DR@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:29:04 +0000

ons 2012-02-29 klockan 23:52 +0000 skrev Mike Kelly:
> Upgrading PUT so it is less specific about replacement wouldn't result
> in this breakage. Clients don't make requests to servers arbitrarily,
> they make them according to whatever application they are fulfilling.
> i.e. if an application is operating on the basis that PUT requests to
> its resources are replacements, then HTTP relaxing the semantics of
> PUT to permit partials would not create breakage.

That's besides the point. To be able to extend PUT like this within
HTTP/1.x it needs to be possible to send the extended request form
arbitrarily without causing breakage. A condition that partial PUT may
only be sent if it's known prior to sending the request that the
receiving server is somehow magically capable of accepting this form of
PUT without causing breakage is not acceptable within HTTP/1.x.

For a change in PUT syntax to be acceptable within HTTP/1.1 you MUST be
able to send such PUT requests to any server without any prior knowledge
of the capabilities of that server and know that the server will process
the request with an acceptable outcome. Storing the partial
representation as the sole representation of the resource is not
regarded as an acceptable outcome so this is not acceptable extension of
PUT within HTTP/1.x.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:30:20 2012
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 28A7D21F853C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:30:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.373
X-Spam-Level: 
X-Spam-Status: No, score=-8.373 tagged_above=-999 required=5 tests=[AWL=2.226, 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 VkKFw7wo-iRh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:30:19 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9D6BC21F8627 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:30:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tuN-0006O7-Vw for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:30:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1S2tuB-0004AM-VC for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:29:59 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1S2tu9-0008KL-SB for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:29:58 +0000
Received: by bkwj5 with SMTP id j5so30509bkw.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 16:29:32 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.205.129.137 as permitted sender) client-ip=10.205.129.137;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.205.129.137 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.205.129.137]) by 10.205.129.137 with SMTP id hi9mr1357132bkc.131.1330561772347 (num_hops = 1); Wed, 29 Feb 2012 16:29:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EEwkNjoLO9vGkQ3NV1y1+jjv7ZpyX7GxrA/CyCW51uA=; b=JrXjnF1AUOmqEER074zRIw6HM1FyEUJ86fau8dhOILr0mq5u2d0upvq100V8fQVOx4 gVQnoaT/oWXr2wN47vq76+VE6uYIxDY/Irt8zCPwlRlgtRF/msrcX0FV4JzNlri6cR1Z zDyKaVMN0ctqG8a5ePcoGSy4oBtccnrUIgCcQ=
MIME-Version: 1.0
Received: by 10.205.129.137 with SMTP id hi9mr1106154bkc.131.1330561772277; Wed, 29 Feb 2012 16:29:32 -0800 (PST)
Received: by 10.204.232.74 with HTTP; Wed, 29 Feb 2012 16:29:32 -0800 (PST)
In-Reply-To: <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de> <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com> <1330551982.24673.57.camel@home.hno.se> <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com>
Date: Wed, 29 Feb 2012 16:29:32 -0800
Message-ID: <CABkgnnUaGQsZVzawHoSbJW+PXB-uvTQZ8Xn=RF-z43zX1gWZgg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mike Kelly <mikekelly321@gmail.com>
Cc: =?UTF-8?Q?Henrik_Nordstr=C3=B6m?= <henrik@henriknordstrom.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2tu9-0008KL-SB b63079a12b090c88f4cdd23ba73a6cda
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CABkgnnUaGQsZVzawHoSbJW+PXB-uvTQZ8Xn=RF-z43zX1gWZgg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12680
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>
Resent-Message-Id: <E1S2tuN-0006O7-Vw@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:30:11 +0000

2012/2/29 Mike Kelly <mikekelly321@gmail.com>:
> Upgrading PUT so it is less specific about replacement wouldn't result
> in this breakage.

PUTv2...which is what PATCH does.

> Clients don't make requests to servers arbitrarily,
> they make them according to whatever application they are fulfilling.

That's coupling.  c.f. statements about that being bad.


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:32:34 2012
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 F3AFE21F8627 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:32:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.998
X-Spam-Level: 
X-Spam-Status: No, score=-8.998 tagged_above=-999 required=5 tests=[AWL=0.701, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, MIME_8BIT_HEADER=0.3, 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 pm7DDu-u44ti for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:32:33 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 793FF21F861A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:32:33 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2twP-00077k-EO for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:32:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2twJ-00075Q-8w for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:32:11 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2twH-0008P9-4i for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:32:10 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q210Vkbg018225; Thu, 1 Mar 2012 00:31:47 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q210Vidc018947; Thu, 1 Mar 2012 01:31:44 +0100
Message-ID: <1330561904.24673.176.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 01:31:44 +0100
In-Reply-To: <9511.1330559614@critter.freebsd.dk>
References: <9511.1330559614@critter.freebsd.dk>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 00:31:47 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2twH-0008P9-4i 925acc6279e99636f428b0fd71a8ae02
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/1330561904.24673.176.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12681
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>
Resent-Message-Id: <E1S2twP-00077k-EO@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:32:17 +0000

ons 2012-02-29 klockan 23:53 +0000 skrev Poul-Henning Kamp:
> In message <1330559425.24673.149.camel@home.hno.se>, Henrik =?ISO-8859-1?Q?Nord
> str=F6m?= writes:
> >ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:
> >
> >> The problem with upgrade is that it costs a round trip of latency.
> >
> >Only if you are pipelining and then only on the second request, and
> >pipelining on the first request is generally a bad idea anyway. So no.
> 
> There is of course an incredible evil way to indicate what protocol
> you want, without expending a RTT:

Which RTT?

> Have the server send a TCP option in the SYN+ACK packet that tells
> you what it can do on this TCP connection.

We can't assume such detail TCP transport. Might be running over SOCKS
or any other intermediary protocol abstracting away any such details.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:36:02 2012
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 7E3D221F864D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:36:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.277
X-Spam-Level: 
X-Spam-Status: No, score=-8.277 tagged_above=-999 required=5 tests=[AWL=2.022, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 DlCiDOa6Q6LB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:36:01 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D711121F85A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:36:01 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2tzm-0007QU-UH for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:35:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1S2tzb-0007Oe-PW for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:35:35 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1S2tzZ-00007g-NQ for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:35:34 +0000
Received: by bkwj5 with SMTP id j5so33938bkw.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 16:35:07 -0800 (PST)
Received-SPF: pass (google.com: domain of martin.thomson@gmail.com designates 10.204.128.211 as permitted sender) client-ip=10.204.128.211;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of martin.thomson@gmail.com designates 10.204.128.211 as permitted sender) smtp.mail=martin.thomson@gmail.com; dkim=pass header.i=martin.thomson@gmail.com
Received: from mr.google.com ([10.204.128.211]) by 10.204.128.211 with SMTP id l19mr1454105bks.59.1330562107992 (num_hops = 1); Wed, 29 Feb 2012 16:35:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7PHTJRWavQvajduPgR8jgOOLvxtRmBBCabO+TVrEfIU=; b=bTPsyf1OUud+IZER4eaw2+8JYC7vAvlyUjgSzLYKVBWFprL3EEG5p1EdU+av/7uTaP s63bn13/TyLpUZUMny0XsDsrc6xgGbqD1HDAXRfuDVpF0KhUmbg8FW66kg+MjgwWz+Ul VpZrHjDPoxqRf1tiGR7FC50qvzTvhVnQPJiqc=
MIME-Version: 1.0
Received: by 10.204.128.211 with SMTP id l19mr1185137bks.59.1330562107924; Wed, 29 Feb 2012 16:35:07 -0800 (PST)
Received: by 10.204.232.74 with HTTP; Wed, 29 Feb 2012 16:35:07 -0800 (PST)
In-Reply-To: <1330553922.24673.85.camel@home.hno.se>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <CABkgnnVeZ2j48ZKOTifJnQsBHcw6U4xw0-Q9AU+5cxiifSKaOg@mail.gmail.com> <1330553922.24673.85.camel@home.hno.se>
Date: Wed, 29 Feb 2012 16:35:07 -0800
Message-ID: <CABkgnnVWnKJ4nPa6PpQNry_uSxpB8xSJ4XFoFVx77wERV8Q+Ug@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: =?UTF-8?Q?Henrik_Nordstr=C3=B6m?= <henrik@henriknordstrom.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mike Kelly <mikekelly321@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2tzZ-00007g-NQ 6292bf16878b1c9b0fd905042a36107a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CABkgnnVWnKJ4nPa6PpQNry_uSxpB8xSJ4XFoFVx77wERV8Q+Ug@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12682
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>
Resent-Message-Id: <E1S2tzm-0007QU-UH@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:35:46 +0000

2012/2/29 Henrik Nordstr=C3=B6m <henrik@henriknordstrom.net>:
> It also desirable that idempotent methods are used for idempotent
> actions,

Actually, a server has to be prepared for the consequences if it
treats idempotent requests in a non-idempotent fashion.  Clients (and
intermediaries) should not bear the responsibility for bad code...

> but using requests defined as non-idempotent for idempotent
> actions do not cause any breakage, only slight loss of efficiency.

Depends on the axis you use for measuring efficiency.  I somewhat like
the resiliency afforded by idempotent operations and prefer to use
POST and PATCH in a way that they are effectively idempotent, within
the context of the application.  So retrying doesn't result in waste
of other types (orphaned state, etc).


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:36:58 2012
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 43BDD21F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:36:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.501
X-Spam-Level: 
X-Spam-Status: No, score=-7.501 tagged_above=-999 required=5 tests=[AWL=2.198, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, MIME_8BIT_HEADER=0.3, 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 Zbj7A3v7C42q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:36:57 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 870F521F864D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:36:57 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2u0m-0007fD-J6 for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:36:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2u0b-0007eM-Bl for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:36:37 +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 1S2u0Z-00009V-AW for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:36:36 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892278@smtp.qbik.com>; Thu, 01 Mar 2012 13:36:12 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067505@sago.qbik.com>; Thu, 01 Mar 2012 13:36:02 +1300
Message-ID: <4F4EC472.9070000@qbik.com>
Date: Thu, 01 Mar 2012 13:36:02 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mike Belshe <mike@belshe.com>,  ietf-http-wg@w3.org
References: <9511.1330559614@critter.freebsd.dk> <1330561904.24673.176.camel@home.hno.se>
In-Reply-To: <1330561904.24673.176.camel@home.hno.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2u0Z-00009V-AW de722463eb182fb02fb6a78c1e2d56fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4EC472.9070000@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12683
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>
Resent-Message-Id: <E1S2u0m-0007fD-J6@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:36:48 +0000

On 1/03/2012 1:31 p.m., Henrik NordstrÃ¶m wrote:
> ons 2012-02-29 klockan 23:53 +0000 skrev Poul-Henning Kamp:
>> In message<1330559425.24673.149.camel@home.hno.se>, Henrik =?ISO-8859-1?Q?Nord
>> str=F6m?= writes:
>>> ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:
>>>
>>>> The problem with upgrade is that it costs a round trip of latency.
>>> Only if you are pipelining and then only on the second request, and
>>> pipelining on the first request is generally a bad idea anyway. So no.
>> There is of course an incredible evil way to indicate what protocol
>> you want, without expending a RTT:
> Which RTT?
>
>> Have the server send a TCP option in the SYN+ACK packet that tells
>> you what it can do on this TCP connection.
> We can't assume such detail TCP transport. Might be running over SOCKS
> or any other intermediary protocol abstracting away any such details.

similar could happen for SPDY with SSL as well, if an intermediary mitms 
the connection, unless they pass on the option negotiation, it's gone.

Adrien

>
> Regards
> Henrik
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:38:21 2012
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 A409921E8026 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:38:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.123
X-Spam-Level: 
X-Spam-Status: No, score=-10.123 tagged_above=-999 required=5 tests=[AWL=-0.424, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, MIME_8BIT_HEADER=0.3, 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 uVKLQh-bgDp2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:38:20 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0DE821E8019 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:38:20 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2u27-0000wD-P8 for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:38:11 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1S2u1w-0000vH-PY for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:38:00 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1S2u1u-0003Xb-Mk for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:37:59 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id D70175DA8; Thu,  1 Mar 2012 00:37:37 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q210bb2W009781; Thu, 1 Mar 2012 00:37:37 GMT (envelope-from phk@phk.freebsd.dk)
To: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
cc: Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 01 Mar 2012 01:31:44 +0100." <1330561904.24673.176.camel@home.hno.se>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 01 Mar 2012 00:37:37 +0000
Message-ID: <9780.1330562257@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2u1u-0003Xb-Mk 409b328ed047fed07c02218f1186c61a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/9780.1330562257@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12684
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>
Resent-Message-Id: <E1S2u27-0000wD-P8@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:38:11 +0000

In message <1330561904.24673.176.camel@home.hno.se>, Henrik =?ISO-8859-1?Q?Nord
str=F6m?= writes:
>ons 2012-02-29 klockan 23:53 +0000 skrev Poul-Henning Kamp:

>> Have the server send a TCP option in the SYN+ACK packet that tells
>> you what it can do on this TCP connection.
>
>We can't assume such detail TCP transport. Might be running over SOCKS
>or any other intermediary protocol abstracting away any such details.

Well, in that case you'll have to waste an RTT doing a UPGRADE.

Just because somebody cannot support this indication, doesn't mean
that it would not be beneficial to have it for a large swatch of
webservices.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:40:37 2012
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 B647D21F86BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:40:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.706
X-Spam-Level: 
X-Spam-Status: No, score=-9.706 tagged_above=-999 required=5 tests=[AWL=-0.030, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, 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 db6Elt9n1QAf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:40:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C31A321F864F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:40:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2u4A-00013i-It for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:40:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1S2u3z-00012S-DB for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:40:07 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1S2u3w-0000FL-QQ for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:40:06 +0000
Received: by lagr15 with SMTP id r15so68684lag.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 16:39:39 -0800 (PST)
Received-SPF: pass (google.com: domain of mike@belshe.com designates 10.112.43.106 as permitted sender) client-ip=10.112.43.106;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mike@belshe.com designates 10.112.43.106 as permitted sender) smtp.mail=mike@belshe.com
Received: from mr.google.com ([10.112.43.106]) by 10.112.43.106 with SMTP id v10mr1353368lbl.2.1330562379229 (num_hops = 1); Wed, 29 Feb 2012 16:39:39 -0800 (PST)
MIME-Version: 1.0
Received: by 10.112.43.106 with SMTP id v10mr1107649lbl.2.1330562379177; Wed, 29 Feb 2012 16:39:39 -0800 (PST)
Received: by 10.112.24.167 with HTTP; Wed, 29 Feb 2012 16:39:39 -0800 (PST)
In-Reply-To: <1330559425.24673.149.camel@home.hno.se>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com> <1330559425.24673.149.camel@home.hno.se>
Date: Wed, 29 Feb 2012 16:39:39 -0800
Message-ID: <CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e0cb4efe2a34f6606c04ba23b14d
X-Gm-Message-State: ALoCoQkhGEo31RyTP6NRiDYvrHJd4z24zGc6z4RLqm0pPFagaic0SYIBw78/t/rf9qXKbzM05m8k
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2u3w-0000FL-QQ 39018b37ffbc296f6a7157078e803d3b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12685
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>
Resent-Message-Id: <E1S2u4A-00013i-It@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:40:18 +0000

--e0cb4efe2a34f6606c04ba23b14d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

If the protocol is allowed to be slower than HTTP/1.1, then you could do
this.  But, a lot of server operators that care about performance aren't
going to want to take that hit.

Also, if the browser records that your server was HTTP/2.0 in the past, and
now it downgrades to a non HTTP/2.0 response, the failure detection needs
to be quick.  If the frame format is different, depending on the way the
bytes flow, this could lead to a devastating timeout (30+ seconds for the
user to wait!)

It all comes down to perf, though.  The upgrade round trip is sure death.

mike




2012/2/29 Henrik Nordstr=F6m <henrik@henriknordstrom.net>

> ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:
>
> > The problem with upgrade is that it costs a round trip of latency.
>
> Only if you are pipelining and then only on the second request, and
> pipelining on the first request is generally a bad idea anyway. So no.
>
> It's just means that the initial request (not it's response) is limited
> to HTTP/1.x wire format and that you can't pipeline if the protocol
> change means pipelined requests can not be properly parsed after the
> protocol change.
>
> And if HTTP/2.x preserve initial request-line structure compatibility
> with HTTP/1.x like it should then future requests to the same server
> should be able to assume the server is HTTP/2.x capable from start,
> until rejected, and you can even pipeline during the protocol upgrade if
> desired.
>
> Regards
> Henrik
>
>
>

--e0cb4efe2a34f6606c04ba23b14d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div style>If the protocol is allowed to be slower than HTTP/1.1, then you =
could do this. =A0But, a lot of server operators that care about performanc=
e aren&#39;t going to want to take that hit.</div><div style><br></div><div=
 style>
Also, if the browser records that your server was HTTP/2.0 in the past, and=
 now it downgrades to a non HTTP/2.0 response, the failure detection needs =
to be quick. =A0If the frame format is different, depending on the way the =
bytes flow, this could lead to a devastating timeout (30+ seconds for the u=
ser to wait!)</div>
<div style><br></div><div style>It all comes down to perf, though. =A0The u=
pgrade round trip is sure death.</div><div style><br></div><div style>mike<=
/div><div style><br></div><div style><br></div><div style><br></div><br><di=
v class=3D"gmail_quote">
2012/2/29 Henrik Nordstr=F6m <span dir=3D"ltr">&lt;<a href=3D"mailto:henrik=
@henriknordstrom.net">henrik@henriknordstrom.net</a>&gt;</span><br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
ons 2012-02-29 klockan 15:16 -0800 skrev Mike Belshe:<br>
<div class=3D"im"><br>
&gt; The problem with upgrade is that it costs a round trip of latency.<br>
<br>
</div>Only if you are pipelining and then only on the second request, and<b=
r>
pipelining on the first request is generally a bad idea anyway. So no.<br>
<br>
It&#39;s just means that the initial request (not it&#39;s response) is lim=
ited<br>
to HTTP/1.x wire format and that you can&#39;t pipeline if the protocol<br>
change means pipelined requests can not be properly parsed after the<br>
protocol change.<br>
<br>
And if HTTP/2.x preserve initial request-line structure compatibility<br>
with HTTP/1.x like it should then future requests to the same server<br>
should be able to assume the server is HTTP/2.x capable from start,<br>
until rejected, and you can even pipeline during the protocol upgrade if<br=
>
desired.<br>
<br>
Regards<br>
<span class=3D"HOEnZb"><font color=3D"#888888">Henrik<br>
<br>
<br>
</font></span></blockquote></div><br>

--e0cb4efe2a34f6606c04ba23b14d--


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:47:48 2012
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 AEB8321E8038 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:47:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.349
X-Spam-Level: 
X-Spam-Status: No, score=-10.349 tagged_above=-999 required=5 tests=[AWL=0.250, 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 Ol9OlV96r8XE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:47:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1034821E8026 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:47:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uB4-0003KZ-7o for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:47:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2uAt-0003Jg-CU for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:47:15 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2uAr-0003mX-7o for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:47:14 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 8C3F0E6F39; Thu,  1 Mar 2012 13:46:50 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 01 Mar 2012 13:46:49 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4F4EBF0D.3010002@qbik.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com> <4F4EBF0D.3010002@qbik.com>
Message-ID: <675e023416d23c2e39131a682da35a3b@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2uAr-0003mX-7o feb64ceeab6d0509a099dadbb935a80b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/675e023416d23c2e39131a682da35a3b@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12686
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>
Resent-Message-Id: <E1S2uB4-0003KZ-7o@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:47:26 +0000

On 01.03.2012 13:13, Adrien de Croy wrote:
> NTLM could be made non-connection-oriented if http auth had some sort
> of context attribute that identified the auth conversation (in both
> challenges and responses), instead of having to associate it with the
> connection.

No. That just makes HTTP connection-oriented at the abstract level of 
channels. No change to NTLM.

NTLM would also require dropping the second-stage token exchange 
through the channel its authenticating. Which is effectively Kerberos, 
and also a reason behind Kerberos being preferred for implementation 
instead of NTLM across the WAN.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:55:35 2012
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 1DD1121F8659 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:55:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.318
X-Spam-Level: 
X-Spam-Status: No, score=-9.318 tagged_above=-999 required=5 tests=[AWL=0.981, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 An54fL+zdMiU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:55:34 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E50BC21F8657 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:55:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uI9-00043N-1h for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:54:45 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2uI2-000429-Qm for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:54:38 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2uI0-0003x6-U1 for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:54:38 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q210s9Xa009594; Thu, 1 Mar 2012 00:54:10 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q210s83U020480; Thu, 1 Mar 2012 01:54:08 +0100
Message-ID: <1330563248.24673.198.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 01:54:08 +0100
In-Reply-To: <4F4EBDAC.6090508@qbik.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 00:54:12 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2uI0-0003x6-U1 f7f670f6fdb738b18c6663b4f05d06dd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330563248.24673.198.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12687
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>
Resent-Message-Id: <E1S2uI9-00043N-1h@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:54:45 +0000

tor 2012-03-01 klockan 13:07 +1300 skrev Adrien de Croy:

> I'm not 100% convinced.  Esp with auth.  Even disregarding NTLM, any 
> time you have a challenge and response, if the response comes to a 
> server over a different TCP connection, then I think a lot of 
> implementations will break.  Maybe therefore they are poorly designed.

We do have a bit of this problem with digest auth. If the servers do not
have syncronized nonce stores then digest performance degrades
considerably if the client switches server.

> Maybe if assuming 1 connection = 1 user is broken, it should be 
> explicitly warned about in the spec.

That assumption is utterly broken. Has always been since HTTP/1.0 added
keep-alive. Not even 100% safe to assume that for https:// these days.

> The alternative though is either 
> the server has to challenge every request, or the auth tokens submitted 
> by clients can be used without round-trips, or some other token needs to 
> be stored and looked up by the server in global (i.e. 
> non-connection-oriented) memory.  Basic fits there, but does Digest?  
> NTLM certainly doesn't of course.

basic auth is completely stateless on the server side, by nature of
transmitting plaintext login:password in each request.

digest auth requires servers to keep shared state of issued server
nonces to perform well. If not then each time the client lands at a
different server the server will issue a new nonce and the client
automatically retry the request until the client manages to hit the same
server twice in a row. keep-alive helps mitigating this a lot but not
fully.

NTLM is.. well NTLM. Does not fit into anything HTTP terms.

> > Are you talking of transparent intercepting proxies doing NTLM here? If
> > you do then please stop, that's just happens to work because the
> > security model of NTLM is plain broken broken allowing it to be abused
> > in mitm attacks in completely insecure manners. end of discussion.
> 
> actually any sort of auth when you intercept you no longer know who the 
> target is.

You can't do any standard HTTP auth (basic or digest) in intercepting
mode and still have happy users.

> > Please let NTLM die a painful death.
> 
> It's going to be a very long death.  It's just not going away.  I think 
> we will still see significant use of it in 10 years from now.

I hope not. Most should be switching to Kerberos via Negotiate now. And
you can't do the transparent intercepting proxy auth trick with
kerberos.

> I'm not even sure how to implement Digest on windows (I've only briefly 
> looked), but it looks quite difficult.

It's not very difficult. But you need to enable it in the domain
controller and reset the password on every account that needs to use
digest auth, and also enable it in IIS obviously.

In theory Windows should even be able to do automatic single sign on
with Digest auth just as it does for NTLM/Kerberos, but I do not think
that's implemented. Never investigated it in detail.

> Even Negotiate is still connection-oriented?

Yes, it's the same breakage HTTP wise as NTLM, but at least a reasonably
secure auth protocol as such if ignoring the mess it does to HTTP.

> So basically the answer remain: "use Digest".

Yes. Digest is the best we currently have in HTTP with some sanity
preserved.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:57:26 2012
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 9A20C21F866D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:57:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.976
X-Spam-Level: 
X-Spam-Status: No, score=-7.976 tagged_above=-999 required=5 tests=[AWL=2.623, 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 2cFDb0UXAgPw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:57:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E049821F8661 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:57:25 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uJu-0004Mt-2F for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:56:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2uJi-0004HE-6i for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:56:22 +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 1S2uJg-0000nu-66 for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:56:21 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892322@smtp.qbik.com>; Thu, 01 Mar 2012 13:55:57 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067528@sago.qbik.com>; Thu, 01 Mar 2012 13:55:45 +1300
Message-ID: <4F4EC911.2000407@qbik.com>
Date: Thu, 01 Mar 2012 13:55:45 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com> <4F4EBF0D.3010002@qbik.com> <675e023416d23c2e39131a682da35a3b@treenet.co.nz>
In-Reply-To: <675e023416d23c2e39131a682da35a3b@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2uJg-0000nu-66 44ddb2a9c8728f02a6b032c4c3087ae8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4EC911.2000407@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12688
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>
Resent-Message-Id: <E1S2uJu-0004Mt-2F@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:56:34 +0000

On 1/03/2012 1:46 p.m., Amos Jeffries wrote:
> On 01.03.2012 13:13, Adrien de Croy wrote:
>> NTLM could be made non-connection-oriented if http auth had some sort
>> of context attribute that identified the auth conversation (in both
>> challenges and responses), instead of having to associate it with the
>> connection.
>
> No. That just makes HTTP connection-oriented at the abstract level of 
> channels. No change to NTLM.

I disagree.  NTLM works even over UDP.

It's just 3 messages.  There's nothing tying it to a TCP connection 
inside the NTLM protocol.

Sure it's a couple more messages than simple challenge response.  
Normally ends in 3 requests and 2 challenges.  But it could be decoupled 
from the TCP connection.  Subsequent request would just need to be able 
to remind the server which auth conversation they relate to - e.g. 
sending back a token (nonce).  This token could then even be timed out 
by the server.

All the server needs to do to poke the next token into the SSPI is 
resolve the auth context.  A simple map of auth-conversation-token to 
SSPI token would take care of that.  Even allow for things like 
impersonation of client if done properly.

These could conceivably be replayed though, but doesn't Digest suffer 
from that?

>
> NTLM would also require dropping the second-stage token exchange 
> through the channel its authenticating. Which is effectively Kerberos, 
> and also a reason behind Kerberos being preferred for implementation 
> instead of NTLM across the WAN.

NTLM is nothing like Kerberos in terms of crypto etc.

Sure, Kerberos has many advantages.  For instance in SOCKS auth, you can 
do a kerberos auth with 1 message from the client.  That I presume is 
because the ticket is obtained out of band.

Adrien

>
> AYJ
>
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 16:59:29 2012
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 B3BA821F84D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:59:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.346
X-Spam-Level: 
X-Spam-Status: No, score=-9.346 tagged_above=-999 required=5 tests=[AWL=0.953, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 iq2idB+FMKdI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 16:59:29 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3EA1121F84CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 16:59:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uMY-0004Uv-8i for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 00:59:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2uMR-0004U9-P9 for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 00:59:11 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2uMQ-00044g-4h for ietf-http-wg@w3.org; Thu, 01 Mar 2012 00:59:11 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q210wir1020218; Thu, 1 Mar 2012 00:58:46 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q210whtw020831; Thu, 1 Mar 2012 01:58:43 +0100
Message-ID: <1330563523.24673.202.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Adrien de Croy <adrien@qbik.com>
Cc: ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 01:58:43 +0100
In-Reply-To: <4F4EBF0D.3010002@qbik.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com> <4F4EBF0D.3010002@qbik.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 00:58:46 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2uMQ-00044g-4h b1a71a139dfeeb5c7c2ac63769d3cc66
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis  (httpbis)
Archived-At: <http://www.w3.org/mid/1330563523.24673.202.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12689
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>
Resent-Message-Id: <E1S2uMY-0004Uv-8i@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 00:59:18 +0000

tor 2012-03-01 klockan 13:13 +1300 skrev Adrien de Croy:
> 
> NTLM could be made non-connection-oriented if http auth had some sort of 
> context attribute that identified the auth conversation (in both 
> challenges and responses), instead of having to associate it with the 
> connection.

Yes.

Also would have been quite trivial for NTLM/Negotiate to use a hashed
session cookie similar to how Digest operates. NTLM have shared secrets
only known to client & server.

Which is again the question if auth framework should have some kind of
session concept, or if that belongs in the auth scheme.

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:05:04 2012
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 5462821E805C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:05:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.432
X-Spam-Level: 
X-Spam-Status: No, score=-10.432 tagged_above=-999 required=5 tests=[AWL=-0.133, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 xZDVj17eUd3j for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:05:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 92CC621E8038 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:05:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uRm-000826-Do for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:04:42 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mikekelly321@gmail.com>) id 1S2uRb-00081F-2w for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:04:31 +0000
Received: from mail-tul01m020-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <mikekelly321@gmail.com>) id 1S2uRY-0004Ct-Fm for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:04:29 +0000
Received: by obhx4 with SMTP id x4so107735obh.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 17:04:03 -0800 (PST)
Received-SPF: pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) client-ip=10.60.2.162;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of mikekelly321@gmail.com designates 10.60.2.162 as permitted sender) smtp.mail=mikekelly321@gmail.com; dkim=pass header.i=mikekelly321@gmail.com
Received: from mr.google.com ([10.60.2.162]) by 10.60.2.162 with SMTP id 2mr1201992oev.46.1330563843130 (num_hops = 1); Wed, 29 Feb 2012 17:04:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Ii+mKg7xK5RcTAeeKEiTsby43Sa1NdxcRvRdKaYD9lw=; b=uHIQuQMtxadpEkHxRfRONWCsi7Nou51Sp08X9Is0nBtEDn/4OK0cabO0QsgFeTXRM5 0HPR/+Q6AyQVllOPpd8QeS+NX623+Xr8qeD4P0FNjJ7Qv3EBG+fgx/ZXU/OaHg2ScYB7 KfW4ct13cdtpa4n/1ERUGd6WaPr+lRK6JkFog=
MIME-Version: 1.0
Received: by 10.60.2.162 with SMTP id 2mr1024591oev.46.1330563843038; Wed, 29 Feb 2012 17:04:03 -0800 (PST)
Received: by 10.60.63.227 with HTTP; Wed, 29 Feb 2012 17:04:02 -0800 (PST)
In-Reply-To: <1330561709.24673.173.camel@home.hno.se>
References: <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de> <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com> <1330551982.24673.57.camel@home.hno.se> <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com> <1330561709.24673.173.camel@home.hno.se>
Date: Thu, 1 Mar 2012 01:04:02 +0000
Message-ID: <CANqiZJYwss-4g+uj1_beAnEfYcj+GqET81Zp2n++FT7YZaV5ig@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: =?ISO-8859-1?Q?Henrik_Nordstr=F6m?= <henrik@henriknordstrom.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=mikekelly321@gmail.com; helo=mail-tul01m020-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1S2uRY-0004Ct-Fm 3e16d6c0ffa9ce62e188186a9297d75f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/CANqiZJYwss-4g+uj1_beAnEfYcj+GqET81Zp2n++FT7YZaV5ig@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12690
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>
Resent-Message-Id: <E1S2uRm-000826-Do@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:04:42 +0000

2012/3/1 Henrik Nordstr=F6m <henrik@henriknordstrom.net>:
> ons 2012-02-29 klockan 23:52 +0000 skrev Mike Kelly:
>> Upgrading PUT so it is less specific about replacement wouldn't result
>> in this breakage. Clients don't make requests to servers arbitrarily,
>> they make them according to whatever application they are fulfilling.
>> i.e. if an application is operating on the basis that PUT requests to
>> its resources are replacements, then HTTP relaxing the semantics of
>> PUT to permit partials would not create breakage.
>
> That's besides the point. To be able to extend PUT like this within
> HTTP/1.x it needs to be possible to send the extended request form
> arbitrarily without causing breakage. A condition that partial PUT may
> only be sent if it's known prior to sending the request that the
> receiving server is somehow magically capable of accepting this form of
> PUT without causing breakage is not acceptable within HTTP/1.x.
>
> For a change in PUT syntax to be acceptable within HTTP/1.1 you MUST be
> able to send such PUT requests to any server without any prior knowledge
> of the capabilities of that server and know that the server will process
> the request with an acceptable outcome. Storing the partial
> representation as the sole representation of the resource is not
> regarded as an acceptable outcome so this is not acceptable extension of
> PUT within HTTP/1.x.

Ok, so it sounds to me like you are saying that what would happen in
reality is besides the point because there is a rule governing the
design of PUT in HTTP/1.x which must not be broken. Is there any
evidence of that rule producing some benefit to the web?

Cheers,
Mike


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:06:05 2012
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 AE73621E805C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:06:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.358
X-Spam-Level: 
X-Spam-Status: No, score=-10.358 tagged_above=-999 required=5 tests=[AWL=0.241, 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 qpLNO+zvrlTV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:06:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9BD0A21E8038 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:06:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uSl-00088k-O9 for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:05:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2uSZ-00087s-Rm for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:05:31 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2uSW-00013O-Vn for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:05:30 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id CF3B7E6F39; Thu,  1 Mar 2012 14:05:06 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Thu, 01 Mar 2012 14:05:06 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <4F4EBDAC.6090508@qbik.com>
References: <20120221181006.43AB121F87BF@ietfa.amsl.com> <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de> <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de> <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com> <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com> <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com>
Message-ID: <67f3acf2dfdad1b4a0991210506f1dd6@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2uSW-00013O-Vn e70778ef1b3f721ace86a39414c5a5d6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/67f3acf2dfdad1b4a0991210506f1dd6@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12691
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>
Resent-Message-Id: <E1S2uSl-00088k-O9@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:05:43 +0000

On 01.03.2012 13:07, Adrien de Croy wrote:
> On 1/03/2012 12:21 p.m., Henrik NordstrÃ¶m wrote:
>> tor 2012-03-01 klockan 11:57 +1300 skrev Adrien de Croy:
>>
>>> that depends on proxy design.  If the challenges and responses are 
>>> going
>>> over the same TCP connection it's pretty simple.
>> I won't go into this. HTTP is message oriented, not connection 
>> oriented.
>
> I'm not 100% convinced.  Esp with auth.  Even disregarding NTLM, any
> time you have a challenge and response, if the response comes to a
> server over a different TCP connection, then I think a lot of
> implementations will break.  Maybe therefore they are poorly 
> designed.
>
> If for instance multiple proxy clients are multiplexed over a pool of
> connections between the proxy and a server, so that subsequent
> requests on a connection to a server can be for any proxy client, 
> then
> the server's job of maintaining association of credentials, or
> deciding when to issue a challenge is made much more difficult than 
> if
> it assumes the connection is for only 1 user.
>
> Maybe if assuming 1 connection = 1 user is broken, it should be
> explicitly warned about in the spec.

Maybe. Part 1 section 2 goes into a lot of details but seems not to say 
that explicitly anywhere or have any diagram showing connection 
multiplexing.
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-18#section-2

>  The alternative though is either
> the server has to challenge every request, or the auth tokens
> submitted by clients can be used without round-trips, or some other
> token needs to be stored and looked up by the server in global (i.e.
> non-connection-oriented) memory.  Basic fits there, but does Digest?
> NTLM certainly doesn't of course.

You have switched from connection==user assumption to 
connection==client assumption mid-sentence.

The difference between client hop-by-hop concept and user end-to-end 
concept is critical to the arguments you seem to be making.

If you look past the optimizations HTTP does require a challenge on 
every request. For www-auth the UA clients optimize the round-trip out 
of existence by holding state about the origins previous challenges and 
sending credentials up front. At no point in the spec does HTTP permit 
intermediaries to use, validate or touch the user-to-origin credentials.
  proxy-auth credentials are specifically and directly hop-by-hop so 
that intermediaries can use them.

>
>>
>>> the main area we see the problem is actually not in proxy auth, but 
>>> when
>>> a proxy intercepts the connection, requires auth and then the 
>>> website
>>> requires auth as well.
>>>
>>> It's hard for the proxy to know whether an auth response should be
>>> processed by itself, or upstream.
>> Are you talking of transparent intercepting proxies doing NTLM here? 
>> If
>> you do then please stop, that's just happens to work because the
>> security model of NTLM is plain broken broken allowing it to be 
>> abused
>> in mitm attacks in completely insecure manners. end of discussion.
>
> actually any sort of auth when you intercept you no longer know who
> the target is.

When you intercept the target is not you. End of story.
There is no middle ground, the act of interception destroyed it.

>
>> Please let NTLM die a painful death.
>
> It's going to be a very long death.  It's just not going away.  I
> think we will still see significant use of it in 10 years from now.
>
> I'm not even sure how to implement Digest on windows (I've only
> briefly looked), but it looks quite difficult.
>
> Even Negotiate is still connection-oriented?

Negotiate needs to die as painful a death as NTLM. Long live Kerberos, 
which has hop-by-hop properties and despite its orientation hangup can 
be used almost as easily as Basic or Digest auth given a minimum of 
HTTP/1.1 across all hops.

>
>>> In most cases though where this happens, wouldn't the upstream 
>>> proxies
>>> be within the same administrative domain?  e.g. so creds should 
>>> work,
>>> and leakage shouldn't be a problem.
>> Even that assumption only holds for basic auth. With anything else 
>> it
>> breaks.
>
> ok
>
> So basically the answer remain: "use Digest".

Use something that works hop-by-hop and provides a realm or scoping. 
Digest being the oldest, but Kerberos, and OAuth also meet the criteria.

AYJ


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:09:59 2012
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 6BC7F21E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:09:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.856
X-Spam-Level: 
X-Spam-Status: No, score=-7.856 tagged_above=-999 required=5 tests=[AWL=2.443, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 2hJK2f80humV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:09:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2861121E803A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:09:56 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uWX-0000O5-Qm for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:09:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2uWL-0000N9-25 for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:09:25 +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 1S2uWH-0001AF-QD for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:09:23 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892345@smtp.qbik.com>; Thu, 01 Mar 2012 14:08:57 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067539@sago.qbik.com>; Thu, 01 Mar 2012 14:08:49 +1300
Message-ID: <4F4ECC21.9090903@qbik.com>
Date: Thu, 01 Mar 2012 14:08:49 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: =?UTF-8?B?SGVucmlrIE5vcmRzdHLDtm0=?= <henrik@henriknordstrom.net>
CC: ietf-http-wg@w3.org
References: <20120221181006.43AB121F87BF@ietfa.amsl.com>     <4F43E1D3.4070201@cs.tcd.ie> <4F43E364.4040706@gmx.de>     <4F43E458.6030705@cs.tcd.ie> <4F43E75C.2010309@gmx.de>    <1330543172.24673.7.camel@home.hno.se> <4F4E8614.90901@qbik.com>   <1330555470.24673.106.camel@home.hno.se> <4F4EAD3C.9050306@qbik.com>  <1330557711.24673.133.camel@home.hno.se> <4F4EBDAC.6090508@qbik.com>  <4F4EBF0D.3010002@qbik.com> <1330563523.24673.202.camel@home.hno.se>
In-Reply-To: <1330563523.24673.202.camel@home.hno.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2uWH-0001AF-QD cc968ea4e19ee77e93e36a87f175ccb2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/4F4ECC21.9090903@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12692
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>
Resent-Message-Id: <E1S2uWX-0000O5-Qm@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:09:37 +0000

On 1/03/2012 1:58 p.m., Henrik NordstrÃ¶m wrote:
> tor 2012-03-01 klockan 13:13 +1300 skrev Adrien de Croy:
>> NTLM could be made non-connection-oriented if http auth had some sort of
>> context attribute that identified the auth conversation (in both
>> challenges and responses), instead of having to associate it with the
>> connection.
> Yes.
>
> Also would have been quite trivial for NTLM/Negotiate to use a hashed
> session cookie similar to how Digest operates. NTLM have shared secrets
> only known to client&  server.
>
> Which is again the question if auth framework should have some kind of
> session concept, or if that belongs in the auth scheme.

I'd lean towards putting it in the framework.  Then implementation 
issues in underlying auth systems can be resolved independently by 
server / proxy vendors without e.g. requiring changes to the underlying OS.

For instance SSPI which is used for auth on windows servers, only takes 
a single handle to identify the particular conversatioon.  It's finding 
this handle in the absence of any other identifying attribute that I'm 
sure led MS to opt for the connection as the place to store it.  
Probably that plus (in thread per connection model) impersonation 
requirements.

Adrien

> Regards
> Henrik
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:23:03 2012
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 54C6821E8070 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:23:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.371
X-Spam-Level: 
X-Spam-Status: No, score=-9.371 tagged_above=-999 required=5 tests=[AWL=0.928, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 862-iBkcY60U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:23:02 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 78AF421E806F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:23:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uj4-0003F2-0q for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:22:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2uix-0003BV-IT for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:22:27 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2uiv-0001f5-4Y for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:22:26 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q211M3uf016161 for <ietf-http-wg@w3.org>; Thu, 1 Mar 2012 01:22:04 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q211M1Tm022484 for <ietf-http-wg@w3.org>; Thu, 1 Mar 2012 02:22:01 +0100
Message-ID: <1330564921.24673.223.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: ietf-http-wg@w3.org
Date: Thu, 01 Mar 2012 02:22:01 +0100
In-Reply-To: <CABaLYCv9=G1q4yUiogQGk7ZtLMhPKNMQHQa+9N2FNkd+eygkYA@mail.gmail.com>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com> <1330559425.24673.149.camel@home.hno.se> <CABaLYCv9=G1q4yUiogQGk7ZtLMhPKNMQHQa+9N2FNkd+eygkYA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 01:22:04 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2uiv-0001f5-4Y dbf8d46f9b089b82e1025cd6fd032ca7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/1330564921.24673.223.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12693
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>
Resent-Message-Id: <E1S2uj4-0003F2-0q@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:22:34 +0000

ons 2012-02-29 klockan 16:26 -0800 skrev Mike Belshe:

> If the protocol is allowed to be slower than HTTP/1.1, then you could
> do this.  But, a lot of server operators that care about performance
> aren't going to want to take that hit.

Why on earth would it be slower than HTTP/1.1?

The only possible penalty compared to HTTP/1.1 is a request header more
in the initial request asking for upgrade.

> Also, if the browser records that your server was HTTP/2.0 in the
> past, and now it downgrades to a non HTTP/2.0 response, the failure
> detection needs to be quick.

It's one RTT if done right.

> It all comes down to perf, though.  The upgrade round trip is sure
> death.

There is no round-trip penalty in Upgrade as long as the request
semantics you need can fit in HTTP/1.1. And if it can't then we are most
likely not talking about HTTP.


GET / HTTP/1.1
Host: www.example.com
Upgrade: HTTP/2.0

101 Switching Protocols
Upgrade: HTTP/2.0

HTTP/2.0 200 OK
Content-Type: text/html
Boundary: ====END===

<H1>Hello</H1>
====END====
GET /img HTTP/2.0
....


And a downgrade from HTTP/2.0 sent to a HTTP/1.1 server is

GET / HTTP/2.0
...

HTTP/1.1 505 HTTP Version Not Supported
....

GET / HTTP/1.1
...


There is a roundtrip in Upgrade if using it for STARTTLS, but then
because one maybe do not want to send the initial request ouside the TLS
wrapper so the initial request is may be a dummy one such as OPTIONS *.
If there is no need to secure the content of the initial request then
there is no RTT penalty for TLS upgrade either.

Regards
Henrik




From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:32:11 2012
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 7472F21E8033 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:32:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.396
X-Spam-Level: 
X-Spam-Status: No, score=-9.396 tagged_above=-999 required=5 tests=[AWL=0.903, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 tlHMFrPG7tnl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:32:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 09FD421E801C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:32:04 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uqe-0006V3-N5 for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:30:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2uqY-0006BH-8m for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:30:18 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2uqV-0004uf-ND for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:30:17 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q211TqSj032631; Thu, 1 Mar 2012 01:29:53 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q211TpAd023054; Thu, 1 Mar 2012 02:29:51 +0100
Message-ID: <1330565391.24673.227.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 01 Mar 2012 02:29:51 +0100
In-Reply-To: <CABkgnnVWnKJ4nPa6PpQNry_uSxpB8xSJ4XFoFVx77wERV8Q+Ug@mail.gmail.com>
References:  <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <CABkgnnVeZ2j48ZKOTifJnQsBHcw6U4xw0-Q9AU+5cxiifSKaOg@mail.gmail.com> <1330553922.24673.85.camel@home.hno.se> <CABkgnnVWnKJ4nPa6PpQNry_uSxpB8xSJ4XFoFVx77wERV8Q+Ug@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 01:29:53 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S2uqV-0004uf-ND d1ef9a3d7989208d32e45727e58bcf1a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1330565391.24673.227.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12694
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>
Resent-Message-Id: <E1S2uqe-0006V3-N5@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:30:24 +0000

ons 2012-02-29 klockan 16:35 -0800 skrev Martin Thomson:
> 2012/2/29 Henrik NordstrÃ¶m <henrik@henriknordstrom.net>:
> > It also desirable that idempotent methods are used for idempotent
> > actions,
> 
> Actually, a server has to be prepared for the consequences if it
> treats idempotent requests in a non-idempotent fashion.  Clients (and
> intermediaries) should not bear the responsibility for bad code...

Yes, there is no non- above. What you mention here was covered in
another part.

> > but using requests defined as non-idempotent for idempotent
> > actions do not cause any breakage, only slight loss of efficiency.
> 
> Depends on the axis you use for measuring efficiency.  I somewhat like
> the resiliency afforded by idempotent operations and prefer to use
> POST and PATCH in a way that they are effectively idempotent, within
> the context of the application.  So retrying doesn't result in waste
> of other types (orphaned state, etc).

There is a slight loss of efficiency as intermediaries can not tell
these are idempotent so they can't pipeline them and also need to take
special care when forwarding the request to an existing persistent
server connection as they can not afford running into concurrent server
close condition when forwarding a seemingly non-indempotent request.

Regards
Henrik




From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:36:53 2012
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 03DA021E8056 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:36:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.419
X-Spam-Level: 
X-Spam-Status: No, score=-9.419 tagged_above=-999 required=5 tests=[AWL=0.880, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 npnlLD65D3sU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:36:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6589721E804B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:36:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2uwH-0007fN-Fk for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:36:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrik@henriknordstrom.net>) id 1S2uwA-0007dl-UR for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:36:06 +0000
Received: from vps1.henriknordstrom.net ([195.20.207.177]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <henrik@henriknordstrom.net>) id 1S2uw8-00027N-QZ for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:36:05 +0000
Received: from home.hno.se (home.hno.se [IPv6:2001:470:df90::1]) (authenticated bits=128) by vps1.henriknordstrom.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id q211ZgD2016301; Thu, 1 Mar 2012 01:35:43 GMT
Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by home.hno.se (8.14.5/8.14.5) with ESMTP id q211Zf1Q023507; Thu, 1 Mar 2012 02:35:41 +0100
Message-ID: <1330565741.24673.231.camel@home.hno.se>
From: Henrik =?ISO-8859-1?Q?Nordstr=F6m?= <henrik@henriknordstrom.net>
To: Mike Kelly <mikekelly321@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 01 Mar 2012 02:35:41 +0100
In-Reply-To: <CANqiZJYwss-4g+uj1_beAnEfYcj+GqET81Zp2n++FT7YZaV5ig@mail.gmail.com>
References:  <CANqiZJZ7+1qezV3uqJjwB_tT1m4bFbA_wu3PsTAS8AjgUoor-g@mail.gmail.com> <4F4B9DFB.4040903@gmx.de> <CANqiZJZQ31+6X=z1jJzR5GMMGATJUYohQ1Y2Ln5j19hWw4-kLw@mail.gmail.com> <4F4BA740.5020102@gmx.de> <CABkgnnV0SSg2TdLVjfrSWp0JzEO5B5wMvv+6jL3diTzETy4=pg@mail.gmail.com> <4F4C9259.7090506@gmx.de> <CABkgnnW0pmTyyBQL_xwQ65PTw9rTT-1cZ=jr2TUE83dyM+PcPw@mail.gmail.com> <4F4D05A2.4000907@gmx.de> <3F3B3C14-E96E-4383-82A1-C5209B7EA4D0@tzi.org> <1990103D-89D2-42D6-9DCC-0791416E810B@gbiv.com> <833DA77D-4825-4B6D-8E59-06B30EC4A7A3@tzi.org> <20357EB1-6770-4E12-9B0A-C7C86CE5CC49@gbiv.com> <4F4E745A.10503@gmx.de> <B4FC7A8C-21C8-4950-950C-6FA6F60393F1@gbiv.com> <CANqiZJat=3-MPJ47HoHddcN9YyKEHXCdD3wYSXemL1tREJesUg@mail.gmail.com> <4F4E7E7D.5010709@gmx.de> <CANqiZJaUUou3-YHqRMLUdCJB55fHHoapv+pCW=2KA0tof8vRNg@mail.gmail.com> <1330551982.24673.57.camel@home.hno.se> <CANqiZJYXX80GLSK1V42iMttU7AHM8YS1mvhAeP=v3hujW4m4Yg@mail.gmail.com> <1330561709.24673.173.camel@home.hno.se> <CANqiZJYwss-4g+uj1_beAnEfYcj+GqET81Zp2n++FT7YZaV5ig@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3 (3.2.3-1.fc16) 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (vps1.henriknordstrom.net [IPv6:2a02:750:7::d0a]); Thu, 01 Mar 2012 01:35:43 +0000 (UTC)
Received-SPF: none client-ip=195.20.207.177; envelope-from=henrik@henriknordstrom.net; helo=vps1.henriknordstrom.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2uw8-00027N-QZ b543be5f44c4418f4f494ff1c3b80d1d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Idempotent partial updates
Archived-At: <http://www.w3.org/mid/1330565741.24673.231.camel@home.hno.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12695
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>
Resent-Message-Id: <E1S2uwH-0007fN-Fk@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:36:13 +0000

tor 2012-03-01 klockan 01:04 +0000 skrev Mike Kelly:

> Ok, so it sounds to me like you are saying that what would happen in
> reality is besides the point because there is a rule governing the
> design of PUT in HTTP/1.x which must not be broken. Is there any
> evidence of that rule producing some benefit to the web?

Partial PUT have only been deployed in very isolated use cases and I
have not been in touch of any of them. I am very sure we would have seen
numerous interop issues and breakage if it had been more widely adopted
that PUT can be used in this manner.

To counter your question, is there any evidence that misusing PUT for
partial updates compared to defining a new method for the purpose have
had any positive benefit to the web?

Regards
Henrik



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 17:42:19 2012
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 11E7A21E807B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:42:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.367
X-Spam-Level: 
X-Spam-Status: No, score=-10.367 tagged_above=-999 required=5 tests=[AWL=0.232, 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 v+DUiLYrlzGS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 17:42:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7989721E804B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 17:42:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2v1g-00085z-Ei for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 01:41:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1S2v1F-00084R-10 for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 01:41:21 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1S2v1C-0002Kr-Sd for ietf-http-wg@w3.org; Thu, 01 Mar 2012 01:41:19 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 784A9E6F58; Thu,  1 Mar 2012 14:40:55 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 01 Mar 2012 14:40:54 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com> <1330559425.24673.149.camel@home.hno.se> <CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com>
Message-ID: <d9f6b0a1a14c082d43114b2e0b41ccc8@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.1
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2v1C-0002Kr-Sd 36ebb5cd19b1b44a405d39c9df397019
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/d9f6b0a1a14c082d43114b2e0b41ccc8@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12696
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>
Resent-Message-Id: <E1S2v1g-00085z-Ei@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 01:41:48 +0000

On 01.03.2012 13:39, Mike Belshe wrote:
> If the protocol is allowed to be slower than HTTP/1.1, then you could 
> do
> this.  But, a lot of server operators that care about performance 
> aren't
> going to want to take that hit.

That is what bothers me about all the arguments against Upgrade: based 
on extra RTT and lag.

  today: HTTP/1.1 request + HTTP/1.1 response   == 1 RTT

versus

  tomorrow: HTTP/1.1 request /w Upgrade header + XYZ response /w 200 
status prefix   == 1 RTT

Assuming that native XZY is more efficient than HTTP/1.1. Where is the 
_loss_?
  All I see here is a gain of one responses XZY benefits.


>
> Also, if the browser records that your server was HTTP/2.0 in the 
> past, and
> now it downgrades to a non HTTP/2.0 response, the failure detection 
> needs
> to be quick.  If the frame format is different, depending on the way 
> the
> bytes flow, this could lead to a devastating timeout (30+ seconds for 
> the
> user to wait!)

What type of server accepts an invalid format then does not reply?
  This is where a response in some supported format, at HTTP or TCP 
layer gets sent back immediately. There is no timeout.

Could this perhapse be a side effect of using TLS and compression in 
SPDY? both of those would mask the internal syntax invalidity somewhat.

>
> It all comes down to perf, though.  The upgrade round trip is sure 
> death.
>

What RTT?


AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 19:54:58 2012
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 DC30D21E801E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 19:54:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 GgtZ0xo8TQzT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 19:54:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E8F721E8017 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 19:54:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2x4z-0007bD-TF for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 03:53:21 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <brianp@brianp.net>) id 1S2x4C-0007Yt-DM for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 03:52:32 +0000
Received: from mail-vx0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <brianp@brianp.net>) id 1S2x4A-0007y2-Gq for ietf-http-wg@w3.org; Thu, 01 Mar 2012 03:52:31 +0000
Received: by vcbf11 with SMTP id f11so173187vcb.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 19:52:04 -0800 (PST)
Received-SPF: pass (google.com: domain of brianp@brianp.net designates 10.52.23.199 as permitted sender) client-ip=10.52.23.199;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of brianp@brianp.net designates 10.52.23.199 as permitted sender) smtp.mail=brianp@brianp.net
Received: from mr.google.com ([10.52.23.199]) by 10.52.23.199 with SMTP id o7mr4818097vdf.79.1330573924891 (num_hops = 1); Wed, 29 Feb 2012 19:52:04 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.23.199 with SMTP id o7mr4092175vdf.79.1330573924809; Wed, 29 Feb 2012 19:52:04 -0800 (PST)
Received: by 10.52.107.98 with HTTP; Wed, 29 Feb 2012 19:52:04 -0800 (PST)
X-Originating-IP: [216.243.35.32]
In-Reply-To: <d9f6b0a1a14c082d43114b2e0b41ccc8@treenet.co.nz>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com> <1330559425.24673.149.camel@home.hno.se> <CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com> <d9f6b0a1a14c082d43114b2e0b41ccc8@treenet.co.nz>
Date: Wed, 29 Feb 2012 19:52:04 -0800
Message-ID: <CAAbTgTs92rDvdTOdMMXY5ji-GGDZ+hJ6Be7b34CQrcKkpSK+TQ@mail.gmail.com>
From: Brian Pane <brianp@brianp.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnuV7ETYWhH1vn/BRxXDPlXV2Z+RpurvrLpy5LUn6mbIIcTrh3DV+4X4T74pOV+Vgo6XuAM
Received-SPF: none client-ip=209.85.220.171; envelope-from=brianp@brianp.net; helo=mail-vx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1S2x4A-0007y2-Gq 38c54af21652e7ff2801741c0ea73604
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/CAAbTgTs92rDvdTOdMMXY5ji-GGDZ+hJ6Be7b34CQrcKkpSK+TQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12697
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>
Resent-Message-Id: <E1S2x4z-0007bD-TF@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 03:53:21 +0000

On Wed, Feb 29, 2012 at 5:40 PM, Amos Jeffries <squid3@treenet.co.nz> wrote=
:
> On 01.03.2012 13:39, Mike Belshe wrote:
>>
>> If the protocol is allowed to be slower than HTTP/1.1, then you could do
>> this. =A0But, a lot of server operators that care about performance aren=
't
>> going to want to take that hit.
>
>
> That is what bothers me about all the arguments against Upgrade: based on
> extra RTT and lag.
>
> =A0today: HTTP/1.1 request + HTTP/1.1 response =A0 =3D=3D 1 RTT
>
> versus
>
> =A0tomorrow: HTTP/1.1 request /w Upgrade header + XYZ response /w 200 sta=
tus
> prefix =A0 =3D=3D 1 RTT

I use a different comparison:

HTTP/1.1 today:
    TCP handshake: 1 RTT
    HTTP/1.1 request for resource 1: 1 RTT
    Total =3D=3D 2 RTT
...meanwhile, the same thing happens on m-1 other connections that the
browser is using in parallel

HTTP/1.1 with Upgrade to 2.0:
    TCP handshake: 1 RTT
    HTTP/1.1. request for resource 1: 1 RTT
    HTTP/2.0 requests for resources 2, ..., n-1, n: 1 RTT
    Total =3D=3D 3 RTT

More generally, the minimum number of round trips to fetch n small
objects in current HTTP/1.1 usage is:
  1+ CEILING(n/m) RTT
where m is the number of concurrent connections the client uses
(typically 6 or 8 for current-generation browsers.)  If a client used
an initial HTTP/1.1 request to negotiate an upgrade to HTTP/2.0, the
minimum number of round trips would be:
  2 + n

For n<=3D2*m, the Upgrade-based approach would mean more round trips
than are required today.

The Upgrade approach also would require more round trips than current
SPDY usage:

SPDY today:
    TCP handshake: 1 RTT
    TLS handshake, including NPN: 2 RTT
    SPDY requests for resources 1, 2, ..., n-1, n: 1 RTT
    Total =3D n resources in 4 RTT

Initial HTTP/1.1 request + Upgrade:
    TCP handshake: 1 RTT
    TLS handshake: 2 RTT
    HTTP/1.1 request w/Upgrade + response x/ 200 status: 1 RTT
    SPDY requests for resources 2, ..., n-1, n  =3D 1 RTT
    Total =3D n resources in 5 RTT

In terms of sending an initial HTTP/1.1 request to upgrade to HTTP/2.0
looks like a step backwards compared to current deployments of both
HTTP/1.1 and SPDY.

-Brian


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 20:03:31 2012
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 D944B21E8033 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 20:03:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.033
X-Spam-Level: 
X-Spam-Status: No, score=-8.033 tagged_above=-999 required=5 tests=[AWL=2.566, 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 U2NOk5lFSfZp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 20:03:31 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2098821E8025 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 20:03:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2xDG-0000w9-RF for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 04:01:54 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <adrien@qbik.com>) id 1S2xCI-0000bE-46 for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 04:00:54 +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 1S2xCE-0008Eq-GP for ietf-http-wg@w3.org; Thu, 01 Mar 2012 04:00:52 +0000
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3388)) with SMTP id <0018892559@smtp.qbik.com>; Thu, 01 Mar 2012 17:00:27 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.1.0 (Build 3389)) with SMTP id <0010067613@sago.qbik.com>; Thu, 01 Mar 2012 17:00:16 +1300
Message-ID: <4F4EF450.1040406@qbik.com>
Date: Thu, 01 Mar 2012 17:00:16 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0
MIME-Version: 1.0
To: Brian Pane <brianp@brianp.net>
CC: ietf-http-wg@w3.org
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com> <1330559425.24673.149.camel@home.hno.se> <CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com> <d9f6b0a1a14c082d43114b2e0b41ccc8@treenet.co.nz> <CAAbTgTs92rDvdTOdMMXY5ji-GGDZ+hJ6Be7b34CQrcKkpSK+TQ@mail.gmail.com>
In-Reply-To: <CAAbTgTs92rDvdTOdMMXY5ji-GGDZ+hJ6Be7b34CQrcKkpSK+TQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S2xCE-0008Eq-GP 12df70c4663991e9f2805221096e72a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/4F4EF450.1040406@qbik.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12698
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>
Resent-Message-Id: <E1S2xDG-0000w9-RF@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 04:01:54 +0000

need to add a few more RTTs for TLS.

Adrien


On 1/03/2012 4:52 p.m., Brian Pane wrote:
> On Wed, Feb 29, 2012 at 5:40 PM, Amos Jeffries<squid3@treenet.co.nz>  wrote:
>> On 01.03.2012 13:39, Mike Belshe wrote:
>>> If the protocol is allowed to be slower than HTTP/1.1, then you could do
>>> this.  But, a lot of server operators that care about performance aren't
>>> going to want to take that hit.
>>
>> That is what bothers me about all the arguments against Upgrade: based on
>> extra RTT and lag.
>>
>>   today: HTTP/1.1 request + HTTP/1.1 response   == 1 RTT
>>
>> versus
>>
>>   tomorrow: HTTP/1.1 request /w Upgrade header + XYZ response /w 200 status
>> prefix   == 1 RTT
> I use a different comparison:
>
> HTTP/1.1 today:
>      TCP handshake: 1 RTT
>      HTTP/1.1 request for resource 1: 1 RTT
>      Total == 2 RTT
> ...meanwhile, the same thing happens on m-1 other connections that the
> browser is using in parallel
>
> HTTP/1.1 with Upgrade to 2.0:
>      TCP handshake: 1 RTT
>      HTTP/1.1. request for resource 1: 1 RTT
>      HTTP/2.0 requests for resources 2, ..., n-1, n: 1 RTT
>      Total == 3 RTT
>
> More generally, the minimum number of round trips to fetch n small
> objects in current HTTP/1.1 usage is:
>    1+ CEILING(n/m) RTT
> where m is the number of concurrent connections the client uses
> (typically 6 or 8 for current-generation browsers.)  If a client used
> an initial HTTP/1.1 request to negotiate an upgrade to HTTP/2.0, the
> minimum number of round trips would be:
>    2 + n
>
> For n<=2*m, the Upgrade-based approach would mean more round trips
> than are required today.
>
> The Upgrade approach also would require more round trips than current
> SPDY usage:
>
> SPDY today:
>      TCP handshake: 1 RTT
>      TLS handshake, including NPN: 2 RTT
>      SPDY requests for resources 1, 2, ..., n-1, n: 1 RTT
>      Total = n resources in 4 RTT
>
> Initial HTTP/1.1 request + Upgrade:
>      TCP handshake: 1 RTT
>      TLS handshake: 2 RTT
>      HTTP/1.1 request w/Upgrade + response x/ 200 status: 1 RTT
>      SPDY requests for resources 2, ..., n-1, n  = 1 RTT
>      Total = n resources in 5 RTT
>
> In terms of sending an initial HTTP/1.1 request to upgrade to HTTP/2.0
> looks like a step backwards compared to current deployments of both
> HTTP/1.1 and SPDY.
>
> -Brian
>

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 20:05:15 2012
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 B108B21E803E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 20:05:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.591
X-Spam-Level: 
X-Spam-Status: No, score=-10.591 tagged_above=-999 required=5 tests=[AWL=0.008, 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 kiuPbiPMy9fw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 20:05:13 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1732F21E8025 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 20:05:07 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2xG4-0002Kj-1r for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 04:04:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1S2xFo-0002Jq-50 for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 04:04:32 +0000
Received: from mail-vw0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1S2xFl-0008LR-RZ for ietf-http-wg@w3.org; Thu, 01 Mar 2012 04:04:31 +0000
Received: by vbbfq11 with SMTP id fq11so177332vbb.2 for <ietf-http-wg@w3.org>; Wed, 29 Feb 2012 20:04:04 -0800 (PST)
Received-SPF: pass (google.com: domain of zhong.j.yu@gmail.com designates 10.52.66.225 as permitted sender) client-ip=10.52.66.225;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of zhong.j.yu@gmail.com designates 10.52.66.225 as permitted sender) smtp.mail=zhong.j.yu@gmail.com; dkim=pass header.i=zhong.j.yu@gmail.com
Received: from mr.google.com ([10.52.66.225]) by 10.52.66.225 with SMTP id i1mr4781781vdt.65.1330574644417 (num_hops = 1); Wed, 29 Feb 2012 20:04:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xkCn5fs/V3o5QVuoEakLjGrAqKvq+2ZWW0bw0kWdrbU=; b=czJSC4Yz4GgVogDry24O4gsKM9NLj02QjfiAEfYxLBaN4MdMfBOuO3+sHoW7oa3ydR MJ/JiHCcDzMC99VE50mxuOetD+G6vTABLH6fdnKpa+y4NrhgzkWFLi0BX/Hek0W9t/3n YsXgZF5E81lfARb22hVyOL+bXGSbJjYW42m4I=
MIME-Version: 1.0
Received: by 10.52.66.225 with SMTP id i1mr4078650vdt.65.1330574643225; Wed, 29 Feb 2012 20:04:03 -0800 (PST)
Received: by 10.220.83.146 with HTTP; Wed, 29 Feb 2012 20:04:03 -0800 (PST)
Date: Wed, 29 Feb 2012 22:04:03 -0600
Message-ID: <CACuKZqH5z5bDwaDW3=En1W=DCfa5piLmftZYwKSfi6O=D3cD4g@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Adrien de Croy <adrien@qbik.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, 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: lisa.w3.org 1S2xFl-0008LR-RZ 0de3b2b107e96f34c017baf661623335
X-Original-To: ietf-http-wg@w3.org
Subject: Cache-Control: no-cache
Archived-At: <http://www.w3.org/mid/CACuKZqH5z5bDwaDW3=En1W=DCfa5piLmftZYwKSfi6O=D3cD4g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12699
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>
Resent-Message-Id: <E1S2xG4-0002Kj-1r@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 04:04:48 +0000

On Wed, Feb 29, 2012 at 4:34 PM, Adrien de Croy <adrien@qbik.com> wrote:

> On 28/02/2012 2:56 p.m., Amos Jeffries wrote:
>> Intermediary admin already have to violate the specs to a certain degree=
,
>> ignoring no-cache to reduce bandwidth costs wrongly imposed by broken se=
rver
>> libraries which insist on sending no-cache and no-store on static conten=
t.

> Last time I sampled Cache-control response headers (over couple million h=
its
> crawling sites), I found a large majority use it to prevent caching. =A0V=
ery
> few to enable it. =A0It's a shame.

For most modern web sites, I can see "heuristic expiration" is their
enemy. They need to disable it by "no-cache".

A library aiming to simplify web development is justifiable to
automatically add "no-cache" if "Expires" is not set. Otherwise,
developers will pull their hair off, no understanding why the browser
refuses to fetch an updated page.

Ideally, developers should assign proper "Expires" header for
responses. But it is not a simple task. I would say it is very hard.
It may not make economical sense for most sites to spend time thinking
about it.


Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 22:07:38 2012
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 01EC421E800C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 22:07:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.702
X-Spam-Level: 
X-Spam-Status: No, score=-8.702 tagged_above=-999 required=5 tests=[AWL=1.897, 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 XOMkVeOPBXq7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 22:07:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 87BAC21F8549 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 22:07:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S2z9g-00009R-AV for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 06:06:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1S2z9M-00007k-HV for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 06:06:00 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1S2z9K-00051X-5y for ietf-http-wg@w3.org; Thu, 01 Mar 2012 06:05:59 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.126.24]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DC1B322E256 for <ietf-http-wg@w3.org>; Thu,  1 Mar 2012 01:05:36 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 1 Mar 2012 17:05:32 +1100
Message-Id: <E4D519F3-D93C-4276-9546-36CD9FDD3458@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1S2z9K-00051X-5y 9dd99ba2c863162e43b5a355942d35a9
X-Original-To: ietf-http-wg@w3.org
Subject: Registry policies
Archived-At: <http://www.w3.org/mid/E4D519F3-D93C-4276-9546-36CD9FDD3458@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12700
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>
Resent-Message-Id: <E1S2z9g-00009R-AV@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 06:06:20 +0000

I've been reviewing the various registries we have in bis, and their =
associated policies (for reference: =
<http://tools.ietf.org/html/rfc5226#section-4.1>).=20

Right now, we have:

p1
* Transfer-codings - Specification Required
   http://www.iana.org/assignments/http-parameters/http-parameters.xml

* Upgrade tokens - First Come First Served  =20
   =
http://www.iana.org/assignments/http-upgrade-tokens/http-upgrade-tokens.xm=
l

p2
* Methods - IETF Review

* Status Codes - IETF Review
   =
http://www.iana.org/assignments/http-status-codes/http-status-codes.xml

* Headers - Specification Required

p3
* Content Codings - Specification Required
   http://www.iana.org/assignments/http-parameters/http-parameters.xml

p5
* Range Specifiers - IETF Review

p6
* Cache Directives - IETF Review

* Warn-codes - IETF Review

p7
* Authentication Schemes - IETF Review


A few thoughts:

I'm having a hard time believing that Cache Directives, Range Specifiers =
and Warn-codes should be IETF review. How do people feel about making =
them Specification Required?

Does FCFS really make sense for upgrade tokens? It seems like this =
should be Specification Required, at a minimum. Yes, I know that it's =
historically been FCFS, but we have the latitude to review registration =
policies.

Finally, all of the Specification Required registries (including any we =
decide to convert) imply use of an expert reviewer; we should make sure =
that we give reviewers advice.

Cheers,



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





From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 23:21:32 2012
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 ED0A821F8564 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 23:21:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.696
X-Spam-Level: 
X-Spam-Status: No, score=-9.696 tagged_above=-999 required=5 tests=[AWL=0.903, 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 GroYND1G5WiK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 23:21:32 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 299BE21F8562 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 23:21:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S30J2-00016B-9j for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 07:20:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S30Ie-00014u-Dg for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 07:19:40 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S30Ic-000727-5i for ietf-http-wg@w3.org; Thu, 01 Mar 2012 07:19:39 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q217IXZY007973; Thu, 1 Mar 2012 08:18:33 +0100
Date: Thu, 1 Mar 2012 08:18:33 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Adrien de Croy <adrien@qbik.com>, Patrick McManus <pmcmanus@mozilla.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120301071833.GD7791@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S30Ic-000727-5i 5ea65c2c99d3ac0dc5161b3cbe967d67
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120301071833.GD7791@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12701
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>
Resent-Message-Id: <E1S30J2-00016B-9j@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 07:20:04 +0000

On Wed, Feb 29, 2012 at 03:16:22PM -0800, Mike Belshe wrote:
> On Wed, Feb 29, 2012 at 1:07 PM, Willy Tarreau <w@1wt.eu> wrote:
> 
> > Hi Adrien,
> >
> > On Thu, Mar 01, 2012 at 09:25:25AM +1300, Adrien de Croy wrote:
> > (...)
> > > The problem with making SSL/TLS optional is that currently that's the
> > > mechanism used to negotiate use of SPDY in the first place.  Without
> > > that, you'd need to tell the client (e.g..in the hyperlink URIs) what
> > > protocol to use / is in use at that site, which would mean hyperlinks
> > > wouldn't be http://www.example.com any more, but something else like
> > > spdy://www.example.com.
> >
> > Using the Upgrade mechanism would solve this issue. It will also
> > make Roy feel happy to have insisted a lot that after a 101, the
> > server must send a final response to the request. what I mean is
> > that a client should simply send the first request in HTTP/1.1
> > with an Upgrade header for HTTP/2.0. If the server ignores Upgrade
> > and only replies in 1.1 the server is not 2.0 compliant. If the
> > server responds with 101 Switching Protocol with Upgrade: 2.0
> > then the protocol switches to 2.0 and the server responds in 2.0
> > language. From this point, everything is 2.0 between both sides.
> >
> > And using Upgrade really offers a very smooth transition path
> > between 1.1 and 2.0.
> >
> 
> The problem with upgrade is that it costs a round trip of latency.

Not for the first request since the server responds to this request.
And since in HTTP you need the first request anyway to fetch the page
to discover the objects you'll have to request next, it's not an issue
for the first request of the keep-alive connection.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 23:33:19 2012
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 55C9E21E803D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 23:33:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.705
X-Spam-Level: 
X-Spam-Status: No, score=-9.705 tagged_above=-999 required=5 tests=[AWL=0.894, 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 NOhiSDahozWD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 23:33:18 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7C44321E803E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 23:33:18 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S30UT-0003QW-2K for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 07:31:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S30Tw-0003Eq-Du for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 07:31:20 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S30Tp-00009T-HR for ietf-http-wg@w3.org; Thu, 01 Mar 2012 07:31:19 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q217UgwP008018; Thu, 1 Mar 2012 08:30:42 +0100
Date: Thu, 1 Mar 2012 08:30:42 +0100
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120301073042.GE7791@1wt.eu>
References: <CABaLYCvk-h4okDF1=kmgGH6zP2_99k69yd2yCXpS+TuKPREG1A@mail.gmail.com> <20120225121336.GC8633@1wt.eu> <CABaLYCs_RKc-MUD4Phy5jvv=z8GE6OOHXNb5OVw_7u5qPc8zOA@mail.gmail.com> <4F4D87B3.20801@mozilla.com> <4F4DC34E.204@treenet.co.nz> <20120229064929.GB32187@1wt.eu> <CABaLYCvkg-J5G=0y13gkMxGtoxYuHVpuD83=6x9hHvXfE-_mMA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCvkg-J5G=0y13gkMxGtoxYuHVpuD83=6x9hHvXfE-_mMA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1S30Tp-00009T-HR d36dadcb4e6e9ae07ff64c1cb8749c55
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120301073042.GE7791@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12702
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>
Resent-Message-Id: <E1S30UT-0003QW-2K@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 07:31:53 +0000

Hi Mike,

On Wed, Feb 29, 2012 at 03:00:58PM -0800, Mike Belshe wrote:
> Overall, I'm not sure how much to worry about DoS.  In the end, I think its
> something you figure out how to mitigate in implementations - just like
> we've done it before at every level from DNS to TCP to SSL to HTTP.
> 
> I don't think its as dire as you've made it out to be.  It's not like this
> amplification attack is difficult to mitigate.  A server wanting to limit
> it, would probably do the following:
> 
>    a) First off, because SPDY tries to limit connections to one-per-domain,
> there is a new element of information at the transport layer which can be
> used for DoS countermeasures.  This needs some experimentation, and I bet
> it will be useful.
> 
>    b) Also note that for SPDY over SSL, you've got DoS countermeasures from
> the SSL layer at your disposal.  These are certainly going to slow down
> many attackers.  (It will also make some sites nervous - especially those
> that haven't hardened port 443 yet!)
> 
>    c) If they get through both of those layers, the amplification attack is
> easy to detect, and not a consumption of massive memory, bandwidth, or CPU
> on the server; an implementation looking to conservatively block DoS could
> check for expansions of 2-4KB and probably thwart most everything right
> there.  Cheap.

I disagree on exactly this point, because in order for the server to know
that it doesn't want to process this 4 kB request, it first has to decompress
it. Using plain old HTTP, in order for the server to reject a 4 kB request,
the attacked had to upload it, which would have limited its ability to knock
the server down. Now with just a few bytes an attacker can build a 4 kB request
that the server will have to parse before deciding to reject it. A 4kB request
would fit in 6 bytes from what I've seen, maybe less. This means that by
filling the pipe with 6-bytes requests, a client can make a server parse 800
times that amount of traffic. Filling a pipe at 1 Mbps means the server has
to process 800 Mbps of requests it will decide to drop in the end. This is
my precise concern. And more importantly, I doubt that a 4kB limit will last
long. I've used 4kB as a request size limit in haproxy 10 years ago, and I
quickly had to push it to 8kB to satisfy most sites. In enterprise, it's
worse, sometimes people configure it up to 32 kB but that's another story.

> Overall, I just don't see how DoS is a silver-bullet against the zlib
> compressor.

Note that I'm not trying to find a silver buller against zlib, I'm worried
about zlib making DoS much easier. I have a great respect for all the work
you have done in optimizing the use of zlib for header compression and I
don't want to dismiss any of your findings. I just think that one point has
been overlooked and this point in my opinion is a real problem.

> Almost any new feature has DoS potential (e.g. we haven't even
> talked about frame flooding or syn_streams yet :-)

Every design choice that makes DoS easier needs to be addressed even if
it slightly reduces optimizations. DoS is far too common these days, we
should focus on protecting the internet *before* making it faster for
mobile users.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Feb 29 23:41:51 2012
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 169BB21E803C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 23:41:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.414
X-Spam-Level: 
X-Spam-Status: No, score=-9.414 tagged_above=-999 required=5 tests=[AWL=0.585, BAYES_00=-2.599, J_CHICKENPOX_37=0.6, 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 t-QXGjDJL2JA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Feb 2012 23:41:50 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3F49221E802F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Feb 2012 23:41:50 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1S30dX-0005VR-9U for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Mar 2012 07:41:15 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1S30dK-0005QZ-0G for ietf-http-wg@listhub.w3.org; Thu, 01 Mar 2012 07:41:02 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1S30dE-0007g3-AH for ietf-http-wg@w3.org; Thu, 01 Mar 2012 07:41:00 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q217eY7C008099; Thu, 1 Mar 2012 08:40:34 +0100
Date: Thu, 1 Mar 2012 08:40:34 +0100
From: Willy Tarreau <w@1wt.eu>
To: Brian Pane <brianp@brianp.net>
Cc: ietf-http-wg@w3.org
Message-ID: <20120301074034.GF7791@1wt.eu>
References: <4F4DC34E.204@treenet.co.nz> <1330535732.2182.290.camel@ds9> <20120229180329.GA3575@1wt.eu> <4F4E89B5.1000606@qbik.com> <20120229210756.GC3575@1wt.eu> <CABaLYCuAurN-G4GHLk6KHaWiLPWWTHBdixk0SWT6rsnet7OZkA@mail.gmail.com> <1330559425.24673.149.camel@home.hno.se> <CABaLYCvVnGbEwpWhnjr8HNq_ORf2Lyjct-hdhbYKpnKAqd=6kg@mail.gmail.com> <d9f6b0a1a14c082d43114b2e0b41ccc8@treenet.co.nz> <CAAbTgTs92rDvdTOdMMXY5ji-GGDZ+hJ6Be7b34CQrcKkpSK+TQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAAbTgTs92rDvdTOdMMXY5ji-GGDZ+hJ6Be7b34CQrcKkpSK+TQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1S30dE-0007g3-AH a5608bc8289f60b675fa82b96919d757
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Review: http://www.ietf.org/id/draft-mbelshe-httpbis-spdy-00.txt
Archived-At: <http://www.w3.org/mid/20120301074034.GF7791@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/12703
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>
Resent-Message-Id: <E1S30dX-0005VR-9U@frink.w3.org>
Resent-Date: Thu, 01 Mar 2012 07:41:15 +0000

On Wed, Feb 29, 2012 at 07:52:04PM -0800, Brian Pane wrote:
> On Wed, Feb 29, 2012 at 5:40 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> > On 01.03.2012 13:39, Mike Belshe wrote:
> >>
> >> If the protocol is allowed to be slower than HTTP/1.1, then you could do
> >> this.  But, a lot of server operators that care about performance aren't
> >> going to want to take that hit.
> >
> >
> > That is what bothers me about all the arguments against Upgrade: based on
> > extra RTT and lag.
> >
> >  today: HTTP/1.1 request + HTTP/1.1 response   == 1 RTT
> >
> > versus
> >
> >  tomorrow: HTTP/1.1 request /w Upgrade header + XYZ response /w 200 status
> > prefix   == 1 RTT
> 
> I use a different comparison:
> 
> HTTP/1.1 today:
>     TCP handshake: 1 RTT
>     HTTP/1.1 request for resource 1: 1 RTT
>     Total == 2 RTT
> ...meanwhile, the same thing happens on m-1 other connections that the
> browser is using in parallel
> 
> HTTP/1.1 with Upgrade to 2.0:
>     TCP handshake: 1 RTT
>     HTTP/1.1. request for resource 1: 1 RTT
>     HTTP/2.0 requests for resources 2, ..., n-1, n: 1 RTT
>     Total == 3 RTT

No this one above is wrong. You're still at 2 RTT for HTTP/2.0 with
Upgrade :

 HTTP/1.1 with Upgrade to 2.0:
     TCP SYN ----------------------->
             <----------------------- TCP SYN/ACK           => 1 RTT
     HTTP/1.1 GET+Upgrade ---------->
              <---------------------- HTTP/1.1 101+Upgrade
              <---------------------- HTTP/2.0 200 response => 1 RTT

Total = 2 RTT. Doesn't change anything compared to 1.1.
To be precise, the only difference is that the sender has
to emit "Upgrade: HTTP/2.0" in the first request and that
the server prepends an intermediate response "HTTP/1.1 101"
followed by "Upgrade: HTTP/2.0". It's just a few extra bytes
in the first connection setting up.

Regards,
Willy


