feedback for draft-ietf-httpbis-header-compression-01

Julian Reschke <julian.reschke@gmx.de> Wed, 31 July 2013 08:23 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 81A6521F8ECA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2013 01:23:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dRCGEsZ8ELru for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2013 01:22:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0AF9E21F9AEF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Jul 2013 01:20:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V4RdB-0001Cv-QZ for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Jul 2013 08:19:37 +0000
Resent-Date: Wed, 31 Jul 2013 08:19:37 +0000
Resent-Message-Id: <E1V4RdB-0001Cv-QZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1V4Rd1-0001C7-1p for ietf-http-wg@listhub.w3.org; Wed, 31 Jul 2013 08:19:27 +0000
Received: from mout.gmx.net ([212.227.15.15]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1V4Rcz-00043N-Ut for ietf-http-wg@w3.org; Wed, 31 Jul 2013 08:19:27 +0000
Received: from [192.168.43.245] ([89.204.137.53]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MRGvT-1Udjem2mJb-00UZmg for <ietf-http-wg@w3.org>; Wed, 31 Jul 2013 10:18:59 +0200
Message-ID: <51F8C86F.5010406@gmx.de>
Date: Wed, 31 Jul 2013 10:18:55 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
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-Provags-ID: V03:K0:XkqkaLmKRqiM9Dn4wqSxLQFFOsZnkAqlzObaGhFtMH9q3jM4OI0 Lci3yT/oM7drEosEpgn8p/aPECUa2dVQDgpn3oQZ49qOYHFChyNj4Gla/GDQ3r5K1g673EP 980Fo4vXdwjiKGdHnssj5f9ZGqfZ8dnOjHDeWN/ordquJI6351BQe6ocadX5svg0EFG0WNJ s/aTuNRZ0maz8KGPDM1lQ==
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.353, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1V4Rcz-00043N-Ut 117422aebe3b931ad8df271601af68c8
X-Original-To: ietf-http-wg@w3.org
Subject: feedback for draft-ietf-httpbis-header-compression-01
Archived-At: <http://www.w3.org/mid/51F8C86F.5010406@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/19004
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Feedback for draft-ietf-httpbis-header-compression-01

Questions

"4.2.1 Integer representation

Integers are used to represent name indexes, pair indexes or string 
lengths. The integer representation keeps byte-alignment as much as 
possible as this allows various processing optimizations as well as 
efficient use of DEFLATE. For that purpose, an integer representation 
always finishes at the end of a byte."

The mention of DEFLATE is kind of surprising here.


"4.2.2 String literal representation

Literal strings can represent header names or header values. They are 
encoded in two parts:

     The string length, defined as the number of bytes needed to store 
its UTF-8 representation, is represented as an integer with a zero bits 
prefix. If the string length is strictly less than 128, it is 
represented as one byte.
     The string value represented as a list of UTF-8 characters."

By "list of UTF-8 characters" I assume you mean "octet sequence 
representing the UTF-8 encoding of the string"?

A more general question: the proposal handles header field values as 
character sequences, whereas in HTTP/1.1 they are really octet sequences 
with an unknown character encoding scheme. That is, if you see octets >= 
0x80 you really can't tell in general what they mean.

At some point we'll have to decide how to handle this problem.


"A. Initial header names"

These need review, even without real-world data. In particular, we 
shouldn't have deprecated fields such as Keep-Alive or Content-MD5 here.


Editorial

HTTP header -> HTTP header field

References: we really don't have any normative references???

Appendix B: avoid use of "X-" prefix; just call the header field 
"Example-Extension" or something like that.

Finally, shouldn't this draft be in SVN or github?

Best regards, Julian