Tzury Bar Yochay wrote:
>   
>> know the content type of the svg (ie: image/svg+xml).  Rails does this
>>     
>
> class foo:
>     def GET(self):
>         web.header("Content-Type", "image/svg+xml")
>         print (or return) render.template_name(...)
>   
oh so nice and simple - thks.



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

Reply via email to