|
|
@ -253,8 +253,7 @@ class FedoraAdapter implements AdapterInterface { |
|
|
|
$headers = [ |
|
|
|
$headers = [ |
|
|
|
'Content-Type' => $this->mimeTypeGuesser->guess($path), |
|
|
|
'Content-Type' => $this->mimeTypeGuesser->guess($path), |
|
|
|
]; |
|
|
|
]; |
|
|
|
$heads_response = $this->fedora->getResourceHeaders($path); |
|
|
|
if ($this->has($path)) { |
|
|
|
if (isset($heads_response) && $heads_response->getStatusCode() == 200) { |
|
|
|
|
|
|
|
$fedora_url = $path; |
|
|
|
$fedora_url = $path; |
|
|
|
$date = new DateTime(); |
|
|
|
$date = new DateTime(); |
|
|
|
$timestamp = $date->format("D, d M Y H:i:s O"); |
|
|
|
$timestamp = $date->format("D, d M Y H:i:s O"); |
|
|
|