I'm trying to serve content with a MIMI type of application/xhtml+xml
and tried the following:

    @expose("tg2test.templates.svgtest",content_type="application/xhtml
+xml")
    def svgtest(self):
        from datetime import datetime
    return dict(now=datetime.now())

Unfortunately, line 161 of the WSGIController class in core.py, rev
3506 is clobbering the headers set up by the expose decorator:

response.headers.update(pylons.response.headers)

I read a little about the discussion of content_type and the older
tg_format parameter from here:
http://groups.google.com/group/turbogears-trunk/browse_frm/thread/d5aa32c081852a99/e91956b8a2cd378f?lnk=gst&q=content_type&rnum=2#e91956b8a2cd378f

What is the status of this / is this a bug that needs some help or am
I doing something wrong?

Thanks,

Eric


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to