1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 17:12:41 +00:00
Arsse/tests/docroot/Feed/NextFetch/NotModified.php
2017-08-29 10:50:31 -04:00

12 lines
213 B
PHP

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