*/
use Friendica\DI;
+use Friendica\Network\HTTPException\NotModifiedException;
use Friendica\Util\Strings;
require_once 'view/theme/frio/theme.php';
stripslashes($_SERVER['HTTP_IF_NONE_MATCH']));
if (($cached_modified == $modified) && ($cached_etag == $etag)) {
- header('HTTP/1.1 304 Not Modified');
- exit();
+ throw new NotModifiedException();
}
}