[email protected] schrieb: > I expected the exact same behavior setting the content_type in the > expose or using the response headers, but you get different results > depending on what you return. > > Strange...but I assume this is the expected behavior. (Maybe it would > be better to raise an exception if a string is not returned when you > set the content-type to 'text/plain' instead of ignoring the content- > type parameter in this case?)
This inconsistent behavior was introduced as fix for ticket #879. I found that this fix is not needed any more since CherryPy 2.3, so in r6141 I have just reverted this patch and made lists behave as expected. -- Christoph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

