But it's working for me in pylons 0.9.5


On Aug 4, 11:00 am, "Dan Korostelev" <[EMAIL PROTECTED]> wrote:
> It's not a "mimetype", it's a "Content-Type" header. And in 0.9.6 you should
> use global "response" object.
>
> Like this:
>
> response.headers['Content-Type'] = 'application/xhtml+xml'
> return render('login.mako')
>
> On 8/4/07, Alagu Madhu <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi
>
> > I am using  Pylons 0.9.6rc2 and mako-0.1.8-py2.5.egg.
>
> > I'm getting error in Pylons 0.9.6rc2..
> > return Response(render('login.mak'), mimetype='application/xhtml+xml')
>
> > Thanks
>
> > Madhu Alagu
>
> --
> WBR, Dan Korostelev


--~--~---------~--~----~------------~-------~--~----~
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