stable => 'squeeze',
testing => 'wheezy',
unstable => 'sid',
+ 'rc-buggy' => 'experimental',
'5.0' => 'lenny',
- '6.0' => 'squeeze' );
+ '6.0' => 'squeeze',
+ 'oldstable-backports' => 'lenny-backports',
+ 'stable-backports' => 'squeeze-backports' );
# Read in all the variables set by the form
my $input;
$last_modified = $now if $now - $last_modified < 3600;
if ($input->http('If-Modified-Since') and
- (my $modtime = str2time($input->http('If-Modified-Since'), 'UTC'))) {
- if ($modtime <= $last_modified) {
+ (my $client_timestamp = str2time($input->http('If-Modified-Since'), 'UTC'))) {
+ if ($client_timestamp >= $last_modified) {
+ # we are not modified since asked -> return "304 Not Modified"
print $input->header(-status => 304);
exit;
}