projects
/
deb
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0769c58
)
fix off-by-one after switching on the brain again
author
Gerfried Fuchs
<rhonda@debian.org>
Mon, 31 Oct 2011 14:15:41 +0000
(15:15 +0100)
committer
Gerfried Fuchs
<rhonda@debian.org>
Mon, 31 Oct 2011 14:15:41 +0000
(15:15 +0100)
lib/Packages/Dispatcher.pm
patch
|
blob
|
history
diff --git
a/lib/Packages/Dispatcher.pm
b/lib/Packages/Dispatcher.pm
index
105117f
..
c247be9
100755
(executable)
--- 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;