-----Original Message----- From: Andrew M. Kuchling [mailto:akuchlin@mems-exchange.org] Sent: Monday, December 13, 1999 4:51 PM To: zope-dev@zope.org Subject: [Zope-dev] Plain text version of HTTPRequest
The __str__() method of HTTPRequest objects produce formatted HTML. For the purposes of e-mailing tracebacks, I'd like a plain ASCII version of the same information. If I added a method (say, .dump()) that generated a plain text version, would it be accepted into the CVS tree?
I'm not sure where the formatted version of REQUEST objects came from, but Jim got this wild look in his eye when he found out about it, since you can just go to /REQUEST anywhere in a URL space in Zope and inspect the REQUEST object. I think your need is valid, perhaps though we should think about a different way? Is there is a need for __str__() on REQUEST? Should it be publicly visible? If not, then perhaps the HTML markup should be removed and it made to satisfy your needs. -Michel