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

Christopher Armstrong radeex at gmail.com
Fri Aug 27 09:38:55 MDT 2004


On Fri, 27 Aug 2004 16:39:53 +0200 (MEST), Krzystof Nowak
<knowak at mail.desy.de> wrote:
> browser dosent seem to understand that its xhtml code. I think I'm missing
> something very easy, maybe I'm not properly understand philosophy of xhtml
> or python.web. Do you know how to manage with this problem?

I'll guess mime-type. You might have to set it to something other than
the default, text/html. Dunno what to, though.

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+            http://radix.twistedmatrix.com



More information about the Twisted-web mailing list