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 would get as JSON and not download it ^^

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.

However, why not write a JSON debug view that pretty prints JSON responses inside an HTML page?

Cheers
t0m


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to