W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2008

RE: Unknown and misplaced headers as entity headers

From: Brian Smith <brian@briansmith.org>
Date: Thu, 13 Mar 2008 20:46:27 -0700
To: "'Henrik Nordstrom'" <henrik@henriknordstrom.net>
Cc: "'HTTP Working Group'" <ietf-http-wg@w3.org>
Message-ID: <001201c88585$ff999920$4001a8c0@T60>

Henrik Nordstrom wrote:
> On Wed, 2008-02-27 at 05:17 -0800, Brian Smith wrote:
> > What problem does this cause? When an HTTP application 
> > encounters an unknown header, that header would still
> > be a request-header, response-header, entity-header,
> > or general-header. The only difference would be that
> > the specification doesn't try to dictate how the 
> > application classifies it.
> It's very important for caches to never wrongly classify an 
> entity header as one of the other classes as doing so may 
> result in loss of the header. As it's not possible to know 
> what an unknown extension header should be classified as the 
> safe default is entity header unless indicated otherwise 
> using Connect.

Caches already need to keep track of at least ETag and Vary, which are
not entity headers. 2616 says "Unrecognized header fields SHOULD be
ignored by the recipient and MUST be forwarded by transparent proxies,"
so the classification of an unknown header doesn't effect whether or not
it is forwarded. It also says "A transparent proxy SHOULD NOT modify an
end-to-end header unless the definition of that header requires or
specifically allows that," and all headers are end-to-end by default, so
again the classification doesn't matter.

- Brian
Received on Friday, 14 March 2008 03:47:05 UTC

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