getMimeType returns that string as a default, so the OR will never
be triggered.
This commit is contained in:
parent
2d9649dc10
commit
88a08fd228
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ sub sendHeader {
|
|||
$request->headers_out->set(Location => $self->getRedirectLocation);
|
||||
$request->status(301);
|
||||
} else {
|
||||
$request->content_type($self->getMimeType || "text/html; charset=UTF-8");
|
||||
$request->content_type($self->getMimeType);
|
||||
my $cacheControl = $self->getCacheControl;
|
||||
my $date = ($userId eq "1") ? $datetime->epochToHttp($self->getLastModified) : $datetime->epochToHttp;
|
||||
# under these circumstances, don't allow caching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue