Remove setFilename, getFilename from Session::Http, and use Plack::Response methods instead.
This commit is contained in:
parent
fd8f03a186
commit
8b6bbdb9f7
9 changed files with 28 additions and 77 deletions
|
|
@ -1258,7 +1258,8 @@ sub www_exportEvents {
|
|||
my $out = $session->output;
|
||||
|
||||
# set http header
|
||||
$self->session->http->setFilename($self->getTitle.".csv", 'application/excel');
|
||||
$session->response->header( 'Content-Disposition' => qq{attachment; filename="}.$self->getTitle().'.csv"' );
|
||||
$session->response->content_type('application/excel');
|
||||
|
||||
# add file header
|
||||
my @header = ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue