Hi Alec,
You need:
response.headers['Content-type'] = application/atom+xml
return render(genshi-xml, atom-feed)
James
alecf wrote:
I'm trying to render some Atom feeds with Pylons -
I've got a genshi template that more or less renders the atom feed,
but I need to return it as
I think the only disappointing thing with that is the charset normally
gets stuck in there too, and I want to set that in another location...
I played around with it and I also was able to set
config['pylons.response_options']['content_type'] for a similar
effect.
Is this going a little too