Re: Straw-man for our next charter

Larry Masinter <masinter@adobe.com> Sun, 29 July 2012 17:59 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1FF921F8736 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 10:59:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.962
X-Spam-Level:
X-Spam-Status: No, score=-8.962 tagged_above=-999 required=5 tests=[AWL=-0.818, BAYES_00=-2.599, FRT_ADOBE2=2.455, 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 ojArI5mSfdhJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 29 Jul 2012 10:59:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0C8C521F8712 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 29 Jul 2012 10:59:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SvXkT-0000Lw-Od for ietf-http-wg-dist@listhub.w3.org; Sun, 29 Jul 2012 17:57:49 +0000
Resent-Date: Sun, 29 Jul 2012 17:57:49 +0000
Resent-Message-Id: <E1SvXkT-0000Lw-Od@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvXkH-0000LB-LE for ietf-http-wg@listhub.w3.org; Sun, 29 Jul 2012 17:57:37 +0000
Received: from exprod6og112.obsmtp.com ([64.18.1.29]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1SvXkF-0007yH-W1 for ietf-http-wg@w3.org; Sun, 29 Jul 2012 17:57:37 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob112.postini.com ([64.18.5.12]) with SMTP ID DSNKUBV5ecWGsEl91vZ+snKEtNhVbc6zWlIG@postini.com; Sun, 29 Jul 2012 10:57:35 PDT
Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6THskk0023011; Sun, 29 Jul 2012 10:54:46 -0700 (PDT)
Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q6THvCvm020287; Sun, 29 Jul 2012 10:57:12 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas03.corp.adobe.com ([10.8.189.121]) with mapi; Sun, 29 Jul 2012 10:57:12 -0700
From: Larry Masinter <masinter@adobe.com>
To: Adam Barth <w3c@adambarth.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 29 Jul 2012 10:57:25 -0700
Thread-Topic: Straw-man for our next charter
Thread-Index: Ac1ts5P+zQ+PIfHvQmWxRPNoqAOj/Q==
Message-ID: <c3ae1b1c-912e-4191-84ce-d50caef9a0e3@blur>
References: <bc7c1538-d793-44f1-9599-57c37fe3d4ce@blur>
In-Reply-To: <bc7c1538-d793-44f1-9599-57c37fe3d4ce@blur>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_c3ae1b1c912e419184ced50caef9a0e3blur_"
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.29; envelope-from=masinter@adobe.com; helo=exprod6og112.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FRT_ADOBE2=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SvXkF-0007yH-W1 23a21772cfc421f73f4b8d0fb632ab9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw-man for our next charter
Archived-At: <http://www.w3.org/mid/c3ae1b1c-912e-4191-84ce-d50caef9a0e3@blur>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14800
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

what are the use cases and requirements for such gateways?

A general purpose omni-site 2.0->1.1 gateway might need to do sniffing of sites not known to have correct content-type headers, but 1.1->2.0 gateways shouldn't need to change content-type .... sniffing leaves correctly labeled content intact, of course. :)

Connected by DROID on Verizon Wireless


-----Original message-----
From: Adam Barth <w3c@adambarth.com>
To: Larry Masinter <masinter@adobe.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: Sun, Jul 29, 2012 00:53:44 GMT+00:00
Subject: Re: Straw-man for our next charter

From the charter:

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

http://datatracker.ietf.org/wg/httpbis/charter/

Changing how user agents interpret the Content-Type header would change the semantics of HTTP and are therefore out of scope for HTTP/2.0 according to our current charter.

Adam


On Sat, Jul 28, 2012 at 8:01 AM, Larry Masinter <masinter@adobe.com<mailto:masinter@adobe.com>> wrote:
The sniffing I was in particular hoping to stop is content-type sniffing.
http://tools.ietf.org/html/draft-ietf-websec-mime-sniff-03

" Many web servers supply incorrect Content-Type header fields with
   their HTTP responses.  In order to be compatible with these servers,
   user agents consider the content of HTTP responses as well as the
   Content-Type header fields when determining the effective media type
   of the response."

If browsers suddenly stopped sniffing HTTP/1.1 content, it would break existing web sites, so of course the browser makers are reluctant to do that.

However, if it was a requirement to supply a _correct_ content-type header for HTTP/2.0, and no HTTP/2.0 client sniffed, then sites upgrading to HTTP/2.0 would fix their content-type sending (because when they were deploying HTTP/2.0 they would have to in order to get any browser to work with them.)

Basically, sniffing is a wart which backward compatibility keeps in place. Introducing a new version is a unique opportunity to remove it.

The improved performance would come from having to look at the content to determine before routing to the appropriate processor.

Larry


-----Original Message-----
From: Amos Jeffries [mailto:squid3@treenet.co.nz<mailto:squid3@treenet.co.nz>]
Sent: Friday, July 27, 2012 11:53 PM
To: ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>
Subject: Re: Straw-man for our next charter

On 28/07/2012 6:39 p.m., Larry Masinter wrote:
> re changes to semantics: consider the possibility of eliminating
> "sniffing" in HTTP/2.0. If sniffing is justified for compatibility
> with deployed servers, could we eliminate sniffing for 2.0 sites?
>
> It would improve reliability, security, and even performance. Yes,
> popular browsers would have to agree not to sniff sites running 2.0,
> so that sites wanting 2:0 benefits will fix their configuration.
>
> Likely there are many other warts that can be removed if there is a
> version upgrade.

Which of the several meanings of "sniffing" are you talking about exactly?

AYJ