Kris,

On 2009-10-08, at 4:09 PM, kgk wrote:

> 1. @expose (content_type = CUSTOM_CONTENT_TYPE)
>     pylons.response.headers['Content-Type'] = 'text/xml'

Have you tried setting the header on the turbogears-specific  
response?  (tg.response, I believe.)  I recall something about TG  
copying the pylons response instead of simply referencing it (which  
means changes to the pylons response will be ignored.)

        — Alice.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to