#496, was: p6: Warning header field

Julian Reschke <julian.reschke@gmx.de> Mon, 23 September 2013 13:06 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 D582421F9EB5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Sep 2013 06:06:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.062
X-Spam-Level:
X-Spam-Status: No, score=-8.062 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 1Rt5aIgoPmrG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Sep 2013 06:06:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3CC2721F9EB0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Sep 2013 06:06:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1VO5o2-0006Wd-Dj for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Sep 2013 13:04:02 +0000
Resent-Date: Mon, 23 Sep 2013 13:04:02 +0000
Resent-Message-Id: <E1VO5o2-0006Wd-Dj@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 1VO5ng-0006Tv-W7 for ietf-http-wg@listhub.w3.org; Mon, 23 Sep 2013 13:03:41 +0000
Received: from mout.gmx.net ([212.227.17.20]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1VO5na-0006ZJ-Oe for ietf-http-wg@w3.org; Mon, 23 Sep 2013 13:03:40 +0000
Received: from [192.168.1.102] ([217.91.35.233]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LjuR3-1Vzta72xi5-00bun2 for <ietf-http-wg@w3.org>; Mon, 23 Sep 2013 15:03:06 +0200
Message-ID: <52403BFF.4080901@gmx.de>
Date: Mon, 23 Sep 2013 15:02:55 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>, HTTP Working Group <ietf-http-wg@w3.org>
References: <413C419A-AE9D-46F8-82A5-72B4341754AD@gbiv.com>
In-Reply-To: <413C419A-AE9D-46F8-82A5-72B4341754AD@gbiv.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:aZyuzngbta13RCs4MPM/bD+XZaQhrOBHD6k8U4mQJs8yxRhXyIA yecEG+BF0Df4vwwkO1yPvmBKiOhcMo2lQMRmYoVKrh0bpeV3/Zymgas3ui80J0JSoPOzEKT IfNFecfiDhWiblKTATbndAnYT2wqgPgO7P6S+quiQMeL9hT4IUqPVRwNGo2ZbSRVmvvlwkd mMMsmmFWNvxrLEEIQnsmA==
Received-SPF: pass client-ip=212.227.17.20; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1VO5na-0006ZJ-Oe b6abb737dacc4084a1938e55e00e4af2
X-Original-To: ietf-http-wg@w3.org
Subject: #496, was: p6: Warning header field
Archived-At: <http://www.w3.org/mid/52403BFF.4080901@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/19728
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 2013-06-09 09:22, Roy T. Fielding wrote:
> I just noticed that the definition of the Warning header field
> includes a required host or pseudonym between the warn-code and
> the warn-text, and further that the warn-text is a quoted-string.
>
> Since there are no examples provided, and the table of warn-codes
> makes them look like status-code reason-phrase, it should be no
> surprise that implementations send things like
>
>    Warning: 110 Response is stale
>    Warning: 110 squid/3.2.0.5 "Response is stale"
>    Warning: 111 squid/3.2.0.5 "Revalidation failed"
>    Warning: 111 Revalidation failed
>    Warning: 112 Disconnected Operation
>    Warning: 214 host.example.com Transformation applied
>
> In fact, the only places I can find correctly formatted Warning
> header fields is in an internal Apache debugging module (mod_policy,
> abusing that field for other means) and within a BEA example for SIP.
>
>    Warning: 307 isi.edu "Session parameter 'foo' not understood"
>
> I haven't found any that send the optional warn-date.
>
> Obviously, examples are needed in p6, unless I can delete the
> header field and be done with it.

I agree we need examples; I'll work on a proposal (ticket: 
http://trac.tools.ietf.org/wg/httpbis/trac/ticket/496)

Best regards, Julian