On Thu, Oct 16, 2008 at 10:44 PM, MilesTogoe <[EMAIL PROTECTED]> wrote:
>
> I'm using jinja and need to render some xhtml and can't seem to find any
> examples of how to pass the content type in the view.  Can someone help
> out?  thks.

You set the content type in the controller.  response.content_type and
response.charset attributes.  Other request and response attributes
are listed at http://pythonpaste.org/webob/reference.html

-- 
Mike Orr <[EMAIL PROTECTED]>

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

Reply via email to