W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2013

p6: Warning header field

From: Roy T. Fielding <fielding@gbiv.com>
Date: Sun, 9 Jun 2013 00:22:17 -0700
Message-Id: <413C419A-AE9D-46F8-82A5-72B4341754AD@gbiv.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
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/ "Response is stale"
  Warning: 111 squid/ "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.

Received on Sunday, 9 June 2013 07:22:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:13 UTC