Re: Last Call: <draft-yevstifeyev-http-headers-not-recognized-08.txt> ('Headers-Not-Recognized' HTTP Header Field) to Experimental RFC

Daniel Stenberg <daniel@haxx.se> Fri, 17 December 2010 14:12 UTC

Return-Path: <daniel@haxx.se>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F413C3A6B47 for <ietf@core3.amsl.com>; Fri, 17 Dec 2010 06:12:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.194
X-Spam-Level:
X-Spam-Status: No, score=-3.194 tagged_above=-999 required=5 tests=[AWL=-0.945, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xG+Sl+1Ke4dg for <ietf@core3.amsl.com>; Fri, 17 Dec 2010 06:12:25 -0800 (PST)
Received: from giant.haxx.se (giant.haxx.se [80.67.6.50]) by core3.amsl.com (Postfix) with ESMTP id 5C6AD3A6B3D for <ietf@ietf.org>; Fri, 17 Dec 2010 06:12:24 -0800 (PST)
Received: from giant.haxx.se (giant.haxx.se [80.67.6.50]) by giant.haxx.se (8.14.3/8.14.3/Debian-9.1) with ESMTP id oBHEEA16011922; Fri, 17 Dec 2010 15:14:10 +0100
Date: Fri, 17 Dec 2010 15:14:10 +0100
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Mykyta Yevstifeyev <evnikita2@gmail.com>
Subject: Re: Last Call: <draft-yevstifeyev-http-headers-not-recognized-08.txt> ('Headers-Not-Recognized' HTTP Header Field) to Experimental RFC
In-Reply-To: <4D0B6B6D.7040001@gmail.com>
Message-ID: <alpine.DEB.2.00.1012171458260.28703@tvnag.unkk.fr>
References: <20101213132808.2379.30041.idtracker@localhost> <6.2.5.6.2.20101217021213.0c3125b0@resistor.net> <4D0B6B6D.7040001@gmail.com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format="flowed"; charset="US-ASCII"
X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.3.5 (giant.haxx.se [80.67.6.50]); Fri, 17 Dec 2010 15:14:10 +0100 (CET)
X-Mailman-Approved-At: Fri, 17 Dec 2010 14:56:42 -0800
Cc: SM <sm@resistor.net>, ietf@ietf.org, httpbis Group <ietf-http-wg@w3.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Dec 2010 14:12:27 -0000

On Fri, 17 Dec 2010, Mykyta Yevstifeyev wrote:

>> What do packets have to do with HTTP headers?

> What do you mean? Packets have nothing to do with headers, there is nothing 
> about this in paragraph above. Maybe you meant middle-boxes?

Read through your -09 spec again. You speak of "HTTP packets" in several 
places, where they should rather be "HTTP request" or "HTTP responses" etc.

I also find the use of 'host' very confusing in the document as it is clearly 
used instead of the more proper 'client' or 'server' in some places.

The second paragraph in section 2.1 combines both these mistakes and make a 
blob of text that I cannot understand:

    When HTTP host receives HTTP packet with Headers-Not-Recognized
    header, it is RECOMMENDED that it avoids sending packets with headers
    with mentioned in it names or tries to change them so that it is able
    to recognize and process them.

Does this say that if a client learns about headers that the server doesn't 
support, it shouldn't send them in subsequent requests?

-- 

  / daniel.haxx.se