Armin Ronacher wrote:
> Mimetypes are Framework agnostic ;)  Send the correct type your browser 
> will handle the page correctly.
>
>   
>> template-main.xhtml
>>     
> A browser has to be in XHTML mode for SVG display.  For that you have to 
> send the page as "application/xml+xhtml" not as "text/html".  But be aware 
> that this causes Internet Explorer and probably some other browsers to 
> download the page as XML instead of displaying it.
>   
That's what I wasn't sure how to do with werkzeug - should I put it in 
the "render template('template-main.xhtml', application/xml+xhtml, 
....or do I send it in a separate line with some sort of web content 
command - the line of code would really help me out - thanks. 

ps: yeah IE sucks that way so we just specify Firefox or Safari



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

Reply via email to