Fix a typo with headers instead of header.
This commit is contained in:
parent
65873d538e
commit
433700b6f0
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ sub sendHeader {
|
|||
}
|
||||
}
|
||||
if ($self->getFilename) {
|
||||
$response->headers( 'Content-Disposition' => qq{attachment; filename="}.$self->getFilename().'"');
|
||||
$response->header( 'Content-Disposition' => qq{attachment; filename="}.$self->getFilename().'"');
|
||||
}
|
||||
$response->status($self->getStatus());
|
||||
# $response->status_line($self->getStatus().' '.$self->getStatusDescription()); # TODO - re-enable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue