[Catalyst] Overriding content-type for View::JSON

will trillich will.trillich at serensoft.com
Mon Dec 19 16:51:07 GMT 2011


Bueno. Many thanks!


On Mon, Dec 19, 2011 at 10:14 AM, Tomas Doran <bobtfish at bobtfish.net> wrote:

>
> On 19 Dec 2011, at 15:40, will trillich wrote:
>
>  What's required in MyApp::View::JSON to handle this properly?
>>
>>
> after process =3D> sub { my ($self, $c) =3D @_; $c->res->header(....); };
>
> Cheers
> t0m
>
>
> ______________________________**_________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-**bin/mailman/listinfo/catalyst<ht=
tp://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst>
> Searchable archive: http://www.mail-archive.com/**
> catalyst at lists.scsys.co.uk/<http://www.mail-archive.com/catalyst@lists.sc=
sys.co.uk/>
> Dev site: http://dev.catalyst.perl.org/
>



-- =

"We act as though comfort and luxury were the chief requirements of life,
when all that we need to make us happy is something to be enthusiastic
about." -- Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20111219/4c1a5=
8d7/attachment.htm


More information about the Catalyst mailing list