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

Manlio Perillo manlio_perillo at libero.it
Mon Sep 25 15:12:46 CDT 2006


Adrian Perez ha scritto:
> 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? 

No, I want this feature to avoid possible problems with whitespaces.

> I would prefer
> generation of properly-indented XHTML as an option, which helps
> debugging -- but one can always call tidylib from the renderHTTP()
> method ;-)
> 


No, please.
This can kill the server...



Regards  Manlio Perillo



More information about the Twisted-web mailing list