Re: Comments on draft-ietf-httpbis-http2-04

Michael Sweet <msweet@apple.com> Tue, 09 July 2013 20:46 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 CAD2A21F9D79 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jul 2013 13:46:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.482
X-Spam-Level:
X-Spam-Status: No, score=-6.482 tagged_above=-999 required=5 tests=[AWL=-0.884, BAYES_00=-2.599, GB_SUMOF=5, 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 cdk5JKE87-Xa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jul 2013 13:46:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D246B21F9D67 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 9 Jul 2013 13:46:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UwenZ-0008Fi-FD for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Jul 2013 20:46:09 +0000
Resent-Date: Tue, 09 Jul 2013 20:46:09 +0000
Resent-Message-Id: <E1UwenZ-0008Fi-FD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <msweet@apple.com>) id 1UwenR-0008Eu-B0 for ietf-http-wg@listhub.w3.org; Tue, 09 Jul 2013 20:46:01 +0000
Received: from mail-out.apple.com ([17.151.62.51]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <msweet@apple.com>) id 1UwenQ-0005Ny-Hx for ietf-http-wg@w3.org; Tue, 09 Jul 2013 20:46:01 +0000
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_EfGxUM3lJe9LoQ2CpHny8Q)"
Received: from relay3.apple.com ([17.128.113.83]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0MPO00107SBPXKZ0@mail-out.apple.com> for ietf-http-wg@w3.org; Tue, 09 Jul 2013 13:45:34 -0700 (PDT)
X-AuditID: 11807153-b7fed6d0000060fa-4b-51dc766b6a24
Received: from [17.153.30.10] (Unknown_Domain [17.153.30.10]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by relay3.apple.com (Apple SCV relay) with SMTP id C2.D9.24826.C667CD15; Tue, 09 Jul 2013 13:45:34 -0700 (PDT)
From: Michael Sweet <msweet@apple.com>
In-reply-to: <CA+pLO_gzNTpTabeuXE7SE+J8Bnx7ky3bnxdKLxB5A-DiAS01Uw@mail.gmail.com>
Date: Tue, 09 Jul 2013 16:45:30 -0400
Cc: Martin Thomson <martin.thomson@gmail.com>, ietf-http-wg@w3.org, list <ietf-http-wg@w3.org>
Message-id: <A5F07EB0-894D-4D70-B3F1-925AF19AC573@apple.com>
References: <3072E3B4-63B4-4DFB-AFD8-08EE6407C6FB@apple.com> <CABkgnnWexuQb9vZPudJTJ+Gk0LAtcunWG1fThrk3Y_Eo9mDv=A@mail.gmail.com> <CA+pLO_gzNTpTabeuXE7SE+J8Bnx7ky3bnxdKLxB5A-DiAS01Uw@mail.gmail.com>
To: Jeff Pinner <jpinner@twitter.com>
X-Mailer: Apple Mail (2.1784.1)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLLMWRmVeSWpSXmKPExsUiOFOOSzev7E6gwbHjPBaHW2YxWeye28hi ce3MP0aLI99iHVg8tp78weaxc9Zddo+L3U+YPY7O288awBLFZZOSmpNZllqkb5fAlfH9GmfB PaeKUyu3MjUw/rToYuTkkBAwkTj9aDMzhC0mceHeerYuRi4OIYFuJon2T3fBEsJARVtXXWIF sXkFDCSWH74GZjMLJEj8mL+BEcRmE1CT+D2pDyzOKRAocfTqNXYQm0VAReLvsR9ANgdQfbzE 81WaEGNsJA69nc4MsesYo8SOO/+YQBIiAqoSF07fY4I4SF6is+E16wRGvllIVs9CshrC1pZY tvA1M4StJ/Gy6R07priuxMV1kxgXMLKtYhQoSs1JrDTWSywoyEnVS87P3cQICuSGwuAdjH+W WR1iFOBgVOLhPahwJ1CINbGsuDL3EKMEB7OSCG8SH1CINyWxsiq1KD++qDQntfgQozQHi5I4 r6Xe7UAhgfTEktTs1NSC1CKYLBMHp1QD46IJ35RF3vNZpD763TvjlpAop45EhV9kzIpeQ0dZ 3rtKO5+WHJZs4Fz6Yu6/W2snzYmdJ5txdnqb2YrLphVf4nQYNnBe6n8+uTE+Nv2cx6ZN3zMe n8o8Xsyzozf3onZOftuVqvtXMgJd9Gycb89q9vNvP+Mk+XLqpNshk+fpp2081Cq480l2qhJL cUaioRZzUXEiAGJAeptgAgAA
Received-SPF: pass client-ip=17.151.62.51; envelope-from=msweet@apple.com; helo=mail-out.apple.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-0.342, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.303, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UwenQ-0005Ny-Hx e5fad554101003c04fdab9d28092faea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Comments on draft-ietf-httpbis-http2-04
Archived-At: <http://www.w3.org/mid/A5F07EB0-894D-4D70-B3F1-925AF19AC573@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18662
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Jeff,

There is a long history of HTTP/1.1 servers that did not support Transfer-Encoding: chunked, and the PWG and others have spent a good 15 years harassing those (non-) implementors to get them to conform so we can do something other than print static files... :/

So whether or not we have MUSTs in the sentence, I think it is important to clearly identify the migration path from HTTP/1.1 chunking to HTTP/2.0 frames.  Making the jump from HTTP/1.1 to HTTP/2.0 will be a major effort for most vendors, and given past performance I'd like to avoid any ambiguous language that leads to implementation bugs and interoperability issues - it makes for some messy code when such mistakes are put in ROMs that can't be updated...


On Jul 9, 2013, at 3:50 PM, Jeff Pinner <jpinner@twitter.com> wrote:

> I would prefer we say something to the effect of:
> 
> If a server receives a request with a "Content-Length" header and
> the sum of the DATA frame payload lengths does not equal the value
> of the "content-length" header field, the server MUST return a 400 (Bad
> Request) error.
> 
> and remove any other MUSTs and SHOULDs. By the way, I would like to note that this is different than how the HTTP/1.1 spec handles Tranfser-Encoding. From RFC2616 Sec 4.4:
> 
> If a message is received with both a Transfer-Encoding header field and a Content-Length header field, the latter MUST be ignored.
> 
> - Jeff
> 
> 
> On Tue, Jul 9, 2013 at 12:40 PM, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 9 July 2013 10:12, Michael Sweet <msweet@apple.com> wrote:
> > I am uncomfortable with this wording primarily because a lot of POST usage
> > consists of streamed content - my particular interest is obviously printing,
> > but any streamed content will necessarily not be able to provide a
> > content-length header field. So instead I would suggest the following two
> > paragraphs instead:
> 
> I think that your edits capture the spirit of what was intended by the
> existing text, with far less ambiguity.  Unless I get objections,
> those can be integrated.
> 
> > My other comment is that I don't see any discussion of the Expect header,
> > nor do I see a issue on Github...
> 
> There was a brief discussion at the last interim.  The feature is in
> serious jeopardy.  See #18:
> https://github.com/http2/http2-spec/issues/18
> 
> 

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair