Did you test it in the production environment? .. The debug toolbar
isn't added in prod so maybe this is the point?
On 30 dub, 14:20, DEE jasond...@gmail.com wrote:
'csv' is not a supported default :sf_format within symfony's core, and
this is a contenttype I wanted to serve up from a route
Hi Tom-
Thanks for the reply. No I did not test in production yet, but will as
soon as possible.
However, the debug toolbar is supposed to only appear for :sf_format
== 'html'; the default. For any other :sf_format supported by
symfony's core factories.yml (ie. txt, css, atom, etc...) the debug
Adding
$this-getResponse()-setContentType('text/csv');
and then later
return sfView::NONE;
does seem to solve the issue, however, I am still unclear why the
ContentType header is not being set properly coming from my app's
factories.yml file.
On Apr 30, 8:20 am, DEE jasond...@gmail.com wrote: