author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Mon, 26 Jan 2009 11:50:16 +0000 (12:50 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 Jan 2009 22:13:54 +0000 (14:13 -0800) | ||
commit | cd956c73a2cce6613a6cd19df6ccb9ff1b08f79a | |
tree | 3943c19caa44d874a016b11de71e81a47313696f | tree | snapshot |
parent | 2757b54d469783ea9eac3ba366c4ffaa194c990d | commit | diff |
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>
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 | diff | blob | history |