[Twisted-web] [Nevow] how to generate XHMTL without whitespaces

Adrian Perez moebius.lists at gmail.com
Mon Sep 25 14:52:44 CDT 2006


On Mon, 25 Sep 2006 19:06:58 +0200
Manlio Perillo <manlio_perillo at libero.it> wrote:

> Is it possible (and how) to generate XHTML documents without extra
> whitespaces?

No pun intended, just being curious: Do you want that feature for
something else than saving a small amount of bandwidth? I would prefer
generation of properly-indented XHTML as an option, which helps
debugging -- but one can always call tidylib from the renderHTTP()
method ;-)

Cheers,

-- 
There are 2 kinds of people in my world: those who know Unix, Perl,
Vim, GNU, Linux, etc, and those who know COBOL.  It gets very difficult
for me at parties, not knowing which group to socialise with :-)
						Sitaram Chamarty
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20060925/fb7ad059/signature.pgp


More information about the Twisted-web mailing list