2010/1/12 Tomas Doran bobtf...@bobtfish.net:
Your browser will do whatever it normally does with the mime type you're
sending.
By changing settings or mime types you'll probably be able to convince it to
display the JSON.
Or just install the FireFox addon 'JSONView' which will show you the
2010/1/12 Alan Humphrey alan.humph...@comcast.net:
From: Christoph Friedrich [mailto:christ...@christophfriedrich.de]
just worked a little with Catalyst::View::JSON. But when I call some
action via Firefox that uses this View Firefox gives me a file to
download and don't show the json
Hello there,
just worked a little with Catalyst::View::JSON. But when I call some
action via Firefox that uses this View Firefox gives me a file to
download and don't show the json directly.
Is there a way to change this behavior? I want to see what I would get
as JSON and not download it ^^
On 11 Jan 2010, at 23:29, Christoph Friedrich wrote:
just worked a little with Catalyst::View::JSON. But when I call some
action via Firefox that uses this View Firefox gives me a file to
download and don't show the json directly.
Is there a way to change this behavior? I want to see what I
-Original Message-
From: Christoph Friedrich [mailto:christ...@christophfriedrich.de]
Sent: Monday, January 11, 2010 3:29 PM
To: The elegant MVC web framework
Subject: [Catalyst] Catalyst::View::JSON sends a file
Hello there,
just worked a little with Catalyst::View::JSON
Tomas Doran wrote:
On 11 Jan 2010, at 23:29, Christoph Friedrich wrote:
just worked a little with Catalyst::View::JSON. But when I call some
action via Firefox that uses this View Firefox gives me a file to
download and don't show the json directly.
Is there a way to change this behavior? I