On 5/31/06, Steven James <[EMAIL PROTECTED]> wrote: > Is there a new way to determine in my function whether the server will > be sending back a json response or rendered html? Some class variable > that I'm missing perhaps?
I don't think there is, but it shouldn't be hard to make such a mechanism. Basically, in turbogears.controllers, a rule is chosen that determines how the output is formatted. If some information about that rule is added to the request object, you'd be able to inspect that to see what is coming. Kevin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

