mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-24 17:42:40 +00:00
f04ba956a9
- Ensure Web server is up before running tests (skip otherwise) - Place expected timestamps closer to assertions, to lessen chances of off-by-one failures
12 lines
No EOL
211 B
PHP
12 lines
No EOL
211 B
PHP
<?php
|
|
if(array_key_exists("t", $_GET)) {
|
|
return [
|
|
'code' => 304,
|
|
'lastMod' => (int) $_GET['t'],
|
|
];
|
|
} else {
|
|
return [
|
|
'code' => 304,
|
|
'cache' => false,
|
|
];
|
|
} |