Hi all, I'd like my TGWebservices application to return JSON output by default. When I call a given function with the argument &tg_format=json in the HTTP request it works as expected. Anyway, if I enable the option "tg.allow_json=True" in either app.cfg or dev.cfg files the output is XML.
Any idea to explain this behavior? How can I set JSON as default? Thanks in advance. Cheers, -- VĂctor Peinado --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

