In one of my get methods is it possible to specify a specific Content-Type and Content-Disposition? After getting my data back I'm doing this:
return Scope::get('CsvFormat')->encode($data);
and so the data returned is in a CSV format. Now I want to set the content type to text/csv and set a Content-Disposition so that it actually allows the file download, instead of just showing the content.