/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Http/Middleware
NameSizeModeActions
CheckResponseForModifications.php5390644editdlrm
FrameGuard.php4990644editdlrm
SetCacheHeaders.php17090644editdlrm
TrustHosts.php16950644editdlrm
TrustProxies.php40510644editdlrm
Edit: /var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Http/Middleware/SetCacheHeaders.php (1709B)
isMethodCacheable() || ! $response->getContent()) { return $response; } if (is_string($options)) { $options = $this->parseOptions($options); } if (isset($options['etag']) && $options['etag'] === true) { $options['etag'] = md5($response->getContent()); } if (isset($options['last_modified'])) { if (is_numeric($options['last_modified'])) { $options['last_modified'] = Carbon::createFromTimestamp($options['last_modified']); } else { $options['last_modified'] = Carbon::parse($options['last_modified']); } } $response->setCache($options); $response->isNotModified($request); return $response; } /** * Parse the given header options. * * @param string $options * @return array */ protected function parseOptions($options) { return collect(explode(';', rtrim($options, ';')))->mapWithKeys(function ($option) { $data = explode('=', $option, 2); return [$data[0] => $data[1] ?? true]; })->all(); } }