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

Last-Modified header in 304 and 206 responses

From: Zhong Yu <zhong.j.yu@gmail.com>
Date: Fri, 6 Apr 2012 18:28:15 -0500
Message-ID: <CACuKZqE5KDyk1soOfb_BrYgWF-gmQZzsu0dg2iV6KW2VtoW5fw@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
In RFC2616, Last-Modified header was not allowed in 304 and 206(to an
If-Range request)

  http://tools.ietf.org/html/rfc2616#section-10.3.5
  http://tools.ietf.org/html/rfc2616#section-10.2.7

In draft 19, Last-Modified is allowed/required in 206/If-Range, but
still forbidden in 304

  http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-19#section-4.1
  http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-19#section-3.1

Any reason for the asymmetry?

Furthermore, why must we exclude other entity headers in 304 and
206/If-Range? There are only 3 of them: Content-Encoding,
Content-Language, Content-Type. They can't have any meaningful impact
on performance if they are included in the response. Do they really
deserve a "SHOULD NOT be included"?

Zhong Yu
Received on Friday, 6 April 2012 23:28:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:59 GMT