summaryrefslogtreecommitdiff
path: root/fsck.h
diff options
context:
space:
mode:
authorLibravatar W. Trevor King <wking@drexel.edu>2012-03-29 08:45:48 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-30 09:08:52 -0700
commitb7d565ea4c2bd6d0c79e512eeca77beb15736f80 (patch)
tree83e190f2b2240df3b9920f1341ec0c27ae4e561e /fsck.h
parentgitweb: add `status` headers to git_feed() responses. (diff)
downloadtgif-b7d565ea4c2bd6d0c79e512eeca77beb15736f80.tar.xz
gitweb: refactor If-Modified-Since handling
The current gitweb only generates Last-Modified and handles If-Modified-Since headers for the git_feed action. This patch breaks the Last-Modified and If-Modified-Since handling code out from git_feed into a new function exit_if_unmodified_since. This makes the code easy to reuse for other actions. Only gitweb actions which can easily calculate a modification time should use exit_if_unmodified_since, as the goal is to balance local processing time vs. upload bandwidth. Signed-off-by: W Trevor King <wking@drexel.edu> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fsck.h')
0 files changed, 0 insertions, 0 deletions