gitweb: check if-modified-since for feeds
commitcd956c73a2cce6613a6cd19df6ccb9ff1b08f79a
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 26 Jan 2009 11:50:16 +0000 (26 12:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jan 2009 22:13:54 +0000 (28 14:13 -0800)
tree3943c19caa44d874a016b11de71e81a47313696f
parent2757b54d469783ea9eac3ba366c4ffaa194c990d
gitweb: check if-modified-since for feeds

Offering Last-modified header for feeds is only half the work, even if
we bail out early on HEAD requests. We should also check that same date
against If-modified-since, and bail out early with 304 Not Modified if
that's the case.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl