Hello, I'm working with Jinja2 templates but the response always renders as text/html.
How can I change it to text/plain or text/xml for example on a specific view? I don't want to write a new renderer for that. I know that I can achieve this very cumbersome by getting the renderer, creating a response object and defining content_type and body attributes then. Is there a simple way to do this, like specifying a response_content_type attribute in the view_config? Kind regards Marten -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/bqMrBOrlxbcJ. 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/pylons-discuss?hl=en.
