@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