Re: [Twisted-Python] Twisted Web, Unicode & request.write()

2010-06-15 Thread Jason J. W. Williams
Thanks guys. I actually backed into that myself in the last hour. Was just about to write back with the discovered correction. Makes sense. -J On Wed, Jun 16, 2010 at 12:16 AM, Stephen Thorne wrote: > On 2010-06-15, Jason J. W. Williams wrote: >> Hi Y'all, >> >> What's the correct way to write o

Re: [Twisted-Python] Twisted Web, Unicode & request.write()

2010-06-15 Thread Stephen Thorne
On 2010-06-15, Jason J. W. Williams wrote: > Hi Y'all, > > What's the correct way to write out Unicode data to the client in > Twisted Web? request.write() throws a "Data must not be unicode". > Content-Type header is set with "; charset=utf-8" appended to the > content type. If you say the chars

Re: [Twisted-Python] Twisted Web, Unicode & request.write()

2010-06-15 Thread Christopher Armstrong
On Wed, Jun 16, 2010 at 12:50 AM, Jason J. W. Williams wrote: > Hi Y'all, > > What's the correct way to write out Unicode data to the client in > Twisted Web? request.write() throws a "Data must not be unicode". > Content-Type header is set with "; charset=utf-8" appended to the > content type. E

[Twisted-Python] Twisted Web, Unicode & request.write()

2010-06-15 Thread Jason J. W. Williams
Hi Y'all, What's the correct way to write out Unicode data to the client in Twisted Web? request.write() throws a "Data must not be unicode". Content-Type header is set with "; charset=utf-8" appended to the content type. -J ___ Twisted-Python mailing

[Twisted-Python] Announcing TwistedSim: A simulator for your Twisted application

2010-06-15 Thread Hatem Oraby
Hello, I'd like to share with you a project that I've been working on: TwistedSim is a simulator/emulator that loads your Twisted applications and run then under a simulated network.TwistedSim could save you a lot of developing time and debugging time, TwistedSim offers you efficient and reproduci

[Twisted-Python] Getting at the underlying issue in a DNSServerError failure.

2010-06-15 Thread Jason J. W. Williams
Hi Guys, What is the best way to get at the underlying issue (i.e. non-responsive name server, NXDOMAIN, SERVFAIL, etc.) when receiving a twisted.names.error.DNSServerError? I'm issuing a resolver.lookupNameservers() BTW. The failure received by the errback generates this for failure.getErrorMes

Re: [Twisted-Python] Reminder: Twisted 10.1 scheduled for early June

2010-06-15 Thread Jonathan Lange
On Sun, May 30, 2010 at 10:28 PM, Glyph Lefkowitz wrote: > On May 26, 2010, at 4:19 AM, Jonathan Lange wrote: > >> Hello all, >> >> I and my lovely assistant Glyph intend to cut a release of Twisted >> 10.1 on the 5th and 6th of June. That's in eleven days. > > Yes. > > Please mark the date, every