Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#496 closed editorial (incorporated)

add Warning header field examples

Reported by: julian.reschke@… Owned by: julian.reschke@…
Priority: normal Milestone: 24
Component: p6-cache Severity: In WG Last Call
Keywords: Cc:


Quoting <>:

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 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 "Session parameter 'foo' not understood"


Attachments (1)

496.diff (2.7 KB) - added by julian.reschke@… 9 years ago.
proposed examples section

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by julian.reschke@…

  • Owner changed from draft-ietf-httpbis-p6-cache@… to julian.reschke@…

Changed 9 years ago by julian.reschke@…

proposed examples section

comment:2 Changed 9 years ago by fielding@…

Thanks, but those examples are more extensive than needed. A warn-date serves no purpose on a 214.

I already made the section headers look like valid examples (without warn-date); I will add one example with a warn-date.

comment:3 Changed 9 years ago by fielding@…

From [2409]:

add example Warning and recommend - be used as pseudonym when name is unknown; addresses #496

comment:4 Changed 9 years ago by fielding@…

  • Resolution set to incorporated
  • Status changed from new to closed

comment:5 Changed 9 years ago by fielding@…

  • Milestone changed from unassigned to 24

comment:6 Changed 9 years ago by julian.reschke@…

From [2412]:

Note change for [2409] (see #496)

Note: See TracTickets for help on using tickets.