diff options
author | Gerfried Fuchs <rhonda@debian.org> | 2011-10-31 15:15:41 +0100 |
---|---|---|
committer | Gerfried Fuchs <rhonda@debian.org> | 2011-10-31 15:15:41 +0100 |
commit | a6b39cb5eec2cf7d8a0d756f0090a9d8644443c9 (patch) | |
tree | 9952ebbc891caecf9e387fa11da1b15efac91199 /lib | |
parent | 0769c5831eeb062f38e3cef5666f54c2566b4e43 (diff) |
fix off-by-one after switching on the brain again
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Packages/Dispatcher.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Packages/Dispatcher.pm b/lib/Packages/Dispatcher.pm index 105117f..c247be9 100755 --- a/lib/Packages/Dispatcher.pm +++ b/lib/Packages/Dispatcher.pm @@ -102,7 +102,7 @@ sub do_dispatch { if ($input->http('If-Modified-Since') and (my $client_timestamp = str2time($input->http('If-Modified-Since'), 'UTC'))) { - if ($client_timestamp > $last_modified) { + if ($client_timestamp >= $last_modified) { # we are not modified since asked -> return "304 Not Modified" print $input->header(-status => 304); exit; |