<?php get_headers(string $url, bool $associative = false, ?resource $context = null): array|false
<?php $resolvedUrl = URL::assemble($this->getAbsoluteUrl($url), $filename); $headers = get_headers($resolvedUrl); unlink($tmp);