1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-25 01:52:40 +00:00
Arsse/tests/docroot/Feed/NextFetch/NotModified.php
2018-10-26 14:58:04 -04:00

12 lines
212 B
PHP

<?php
if (array_key_exists("t", $_GET)) {
return [
'code' => 304,
'lastMod' => (int) $_GET['t'],
];
} else {
return [
'code' => 304,
'cache' => false,
];
}