[Twisted-web] How to generate xhtml code with Resource.render?

Krzystof Nowak knowak at mail.desy.de
Fri Aug 27 09:25:09 MDT 2004


On Fri, 27 Aug 2004, Mary Gardiner wrote:

> > class Resource(resource.Resource):
> > 	def render(self, request):
>
> I believe you want to be doing this by returning a string from
> render_GET, rather than by reimplementing render.
>
> -Mary
>

Unfortunately it makes no difference :( Browser still doesnt understand
<svg:*> correctly although both codes received by browser are the same.
Anyway, thanks
Krzys



More information about the Twisted-web mailing list