From 3d334dca671898241732dbc0ef6838b768308da7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 21 Sep 2023 02:18:35 +0000 Subject: Implement If-Modified-Since Signed-off-by: Laurent Bercot --- src/tipideed/log.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tipideed/log.c') diff --git a/src/tipideed/log.c b/src/tipideed/log.c index a257ff5..f5f2e81 100644 --- a/src/tipideed/log.c +++ b/src/tipideed/log.c @@ -44,6 +44,12 @@ void log_regular (char const *fn, char const *sizefmt, int ishead, char const *c strerr_warni8x("sending ", ishead ? "headers for " : "", "regular file ", fn, " (", sizefmt, " bytes) with type ", ct) ; } +void log_304 (char const *fn) +{ + if (g.verbosity >= 2) + strerr_warni2x("answering 304 for regular file ", fn) ; +} + void log_nph (char const *const *argv, char const *const *envp) { if (g.verbosity >= 2) -- cgit v1.2.3