}
public function setFile($file, string $contentDisposition = null, bool $autoEtag = true, bool $autoLastModified = true, bool $autoContentType = true)
{
if (!$file instanceof SplFileInfo) {
$file = new SplFileInfo((string) $file);
}
if (!$file->isReadable()) {
throw new RuntimeException('File must be readable.');
}
$this->header['Content-Length'] = $file->getSize();
$this->file = $file;
if ($autoEtag) {
$this->setAutoEtag();
}
USER | www |
HOME | /home/www |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT | */* |
HTTP_HOST | duokeshop.xyz |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | duokeshop.xyz |
SERVER_PORT | 443 |
SERVER_ADDR | 10.0.3.68 |
REMOTE_PORT | 33255 |
REMOTE_ADDR | 52.14.76.200 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/www.duokeshop.xyz/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /assets/js/lib/axios/axios.min.map |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/assets/js/lib/axios/axios.min.map |
SCRIPT_FILENAME | /www/wwwroot/www.duokeshop.xyz/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1744793175.0869 |
REQUEST_TIME | 1744793175 |